Skip to content

Add GitHub clone flow from the home screen#95

Merged
BunsDev merged 1 commit into
mainfrom
okcode/github-url-path-selector
Mar 31, 2026
Merged

Add GitHub clone flow from the home screen#95
BunsDev merged 1 commit into
mainfrom
okcode/github-url-path-selector

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@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
@BunsDev BunsDev merged commit 26fe284 into main Mar 31, 2026
8 of 9 checks passed
@BunsDev BunsDev deleted the okcode/github-url-path-selector branch March 31, 2026 20:59
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