Skip to content

Add GitHub repository cloning support #16

Description

@vivek1504

Feature request

Allow users to clone a public GitHub repository directly into the in-browser environment.

Motivation

Users want to open and run existing projects without manually copying files.

Proposed UX

  • Add a "Clone from GitHub" input/button on the start screen
  • Accept a GitHub HTTPS URL or owner/repo shorthand
  • Fetch the repo contents via the GitHub REST API
  • Mount the files into the WebContainers filesystem

Notes

  • Requires handling rate limits (unauthenticated: 60 req/hr)
  • Consider OAuth login for private repos

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureadd new feature or improvements

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions