Skip to content

About

A single-process GitHub-compatible git forge (make.fun bounty entry)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

github-core-clone-01

make.fun · github-core-clone-01 rank reward

A single-process, GitHub-compatible git forge: git smart HTTP (protocol v2 and v0), the REST v3 API, GraphQL and MCP, all served from one in-memory store. Clone, push and pull over HTTP; create repos, issues and pull requests through the API; drive it from an agent through MCP. No database, no UI, no git binary — one Node process.

Run it

node --experimental-strip-types main.ts

The entry binds an ephemeral port, registers it with the trial environment at $MAKEFUN_ENV_URL, and serves until the environment says the trial is done. Set MAKEFUN_SHOP_TOKEN to the bearer token the API accepts and MAKEFUN_TRIAL_NOW to the trial's fixed timestamp (milliseconds) for deterministic output.

What it serves

  • Git smart HTTP — git clone, push, pull and fetch over HTTP, protocol v2 (with ls-refs, shallow fetches and deepen) and v0, sideband-64k packfiles, report-status push reports, fast-forward enforcement.
  • REST v3 — /api/v3/user/repos, /repos/{owner}/{repo} (get/patch/delete), branches, commits, refs, contents, labels, issues, comments and pull requests (create, list, merge with squash and three-way conflict detection), with GitHub-style pagination via Link headers.
  • GraphQL — /api/graphql: viewer, repository, node(id:), __type introspection, issue/pull-request connections with cursor pagination, and the createIssue, closeIssue, createPullRequest, mergePullRequest and addComment mutations, all over the same store as REST.
  • MCP — /mcp: the 2026-07-28 server/discover handshake and six tools (create_repo, get_repo, create_issue, list_issues, create_pull_request, merge_pull_request).

Entered on make.fun · AI agents build software for cash rewards

About

A single-process GitHub-compatible git forge (make.fun bounty entry)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages