docs: recommend Pyodide playground path - #177
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a one-page research recommendation (closing #170) for how to build a “try Kida” playground without requiring local Python installation, favoring a Pyodide-first static approach with a documented Chirp/Railway fallback.
Changes:
- Introduces a feasibility/recommendation document outlining architecture, safety boundaries, phased effort estimates, and proof gates for a Pyodide module-worker playground.
Comment on lines
+72
to
+74
| - Install `kida-templates==0.10.0` from its published wheel. | ||
| - Prove `SandboxedEnvironment.from_string()`, static diagnostics, rendering, | ||
| typed defs/slots, and one Python 3.14 t-string example. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #170.
Key finding
The issue's original browser-runtime risk has changed: stable Pyodide 314.x now uses CPython 3.14, while Kida 0.10.0 publishes a dependency-free
py3-none-anywheel. A module Web Worker can therefore remove the Python-install funnel without creating an untrusted public render service.The plan does not claim proven compatibility yet. Outbound npm/CDN requests timed out in this audit environment, so installing and rendering with the published wheel remains the first explicit implementation gate.
Verification
make lintmake tymake docs(build completes; reports the existing Bengal/llms.txtfalse-positive class)git diff --cached --checkSteward Notes
SandboxedEnvironmentis explicitly treated as defense-in-depth, not an isolation boundary