Skip to main content

Module github

Module github 

Source
Expand description

GitHub Virtual Workspace API - /api/github

Provides in-memory virtual file system for GitHub repos. In the web (Next.js) backend these are backed by a full download+cache layer. In the Rust desktop backend we provide the same REST surface but route calls through git clone/local checkout (if available) or return helpful stubs.

GET /api/github - List active imported GitHub workspaces POST /api/github/import - Import a GitHub repo as a virtual workspace GET /api/github/tree - Get file tree for an imported repo GET /api/github/file - Read a file from an imported repo GET /api/github/search - Search files in an imported repo

Functions§

router