Skip to content

Add GitHub clone flow from the home screen#95

Open
BunsDev wants to merge 1 commit intomainfrom
okcode/github-url-path-selector
Open

Add GitHub clone flow from the home screen#95
BunsDev wants to merge 1 commit intomainfrom
okcode/github-url-path-selector

Conversation

@BunsDev
Copy link
Copy Markdown
Contributor

@BunsDev BunsDev commented Mar 29, 2026

Summary

  • Added a new “Clone from GitHub” flow in the empty home state, including a dialog to enter a repository URL, choose a destination folder, and open the cloned repo as a project.
  • Added GitHub URL parsing support for HTTPS, SSH, and owner/repo shorthand, with tests covering common URL forms and branch links.
  • Wired a new git.cloneRepository contract and WebSocket/native API path through the server and client layers.
  • Implemented server-side clone handling with branch detection and realpath resolution for the cloned repository.

Testing

  • Not run
  • Added unit coverage in apps/web/src/githubRepositoryUrl.test.ts for URL parsing cases.
  • Recommend running bun fmt, bun lint, and bun typecheck before merge.

- Add GitHub URL parsing and clone dialog in the web app
- Wire a new git.cloneRepository WebSocket/API path through server contracts
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Building Building Preview Mar 29, 2026 6:25am

@github-actions github-actions bot added size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Mar 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant