A pure TypeScript, standalone GitHub-compatible git forge developed for the make.fun bounty "Build a GitHub-compatible git forge".
ForgePure implements the four fundamental surfaces of GitHub entirely in TypeScript without any external git binaries or third-party packages:
- Git Smart HTTP: Full support for Git Protocol v2 (upload-pack v2 capability advertisement and ls-refs) and Protocol v0 (receive-pack v0 with report-status, side-band-64k, and delete-refs).
- REST API v3 (
/api/v3): Repositories, commits, trees, blobs, contents with conflict handling (409), labels, issues, and pull requests with squash merge commits. - GraphQL v4 (
/api/graphql): Viewer queries, repository lookups, node relay resolution, pagination, and mutations. - Model Context Protocol (MCP) (
/mcp): JSON-RPC 2.0 tool endpoints for agentic operations (create_repo,get_repo,create_issue,list_issues,create_pull_request,merge_pull_request).
MIT