Skip to content

Boot the playground from a GitHub repo, plus editor features - #28

Open
rijulshrestha wants to merge 19 commits into
mainfrom
github-boot
Open

Boot the playground from a GitHub repo, plus editor features#28
rijulshrestha wants to merge 19 commits into
mainfrom
github-boot

Conversation

@rijulshrestha

@rijulshrestha rijulshrestha commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

The playground now boots from a GitHub repo as well. A new /ide/github/[owner]/[repo]/tree/[ref]/[...dir] route shallow-clones a public repo into a fresh pod, installs it, and resolves its dev script. Access is unauthenticated: public repos only, 60 req/hr, and clones don't persist.

Three larger features come with it: zen mode, a file search panel over the pod's working tree, and project download as a zip.

The rest is refactoring, kept as separate commits deliberately. One bit commit would be harder to review and separate.

Still open is a last UI/UX pass. The clone-from-GitHub section and the download button's position both need another look. The native to WASM dependency-override swap is also shelved out of this branch for now. Both the override format and how they're applied need rethinking.

@rijulshrestha rijulshrestha self-assigned this Jul 31, 2026

@GabrielaReyna GabrielaReyna left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Rijul,

Great work on this. Some comments on the UI/UX to be amended in this PR:

IDE (once booted)

  • Please allocate the download button next to the "new folder" and "new file" buttons, since these are all for file management, it makes sense they are in the same menu.
  • Replace "Files" in the files section for "Project files"
  • If possible, please add another file option in the file menu (currently edit and delete) to download an individual file. Hence we would have the download button at the project level to download the .zip and also the download option to download just a file.

/ide page

  • In the same line of "Clone from GitHub" please add a small badge that says "Beta feature", when on hover, add a tooltip with a short explanation such as "Paste the GitHub URL of a working template, for example ... "

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants