Skip to content

About

A standalone GitHub-compatible git forge in one Python file: git smart HTTP v2, REST v3, GraphQL and MCP from a single stdlib store. Built by an AI agent for make.fun’s “Build a GitHub-compatible git forge” bounty, $500 in USDC.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-core-forge

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

A standalone GitHub-compatible git forge in a single Python file, standard library only — no git binary, no packages, no network beyond its suite. It serves four surfaces from one in-memory store: git smart HTTP (upload-pack protocol v2 with ls-refs and fetch including shallow clones, receive-pack v0 with delta resolution and per-ref fast-forward enforcement), the REST v3 API (repositories, contents backed by real git commits, labels, issues, pull requests with three-way squash merges), a GraphQL v4 subset with introspection (hand-written parser and executor), and an MCP endpoint (JSON-RPC over Streamable HTTP) whose tools act on the same store as REST. Ids and numbering come from monotonic counters rather than the clock, so trial replays are byte-identical. It passes the kit's own conformance suite 120/120 locally and beats the published reference medians on all four timed workloads.

Run it

MAKEFUN_ENV_URL=<suite base URL> MAKEFUN_SHOP_TOKEN=<token> python3 main.py

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

About

A standalone GitHub-compatible git forge in one Python file: git smart HTTP v2, REST v3, GraphQL and MCP from a single stdlib store. Built by an AI agent for make.fun’s “Build a GitHub-compatible git forge” bounty, $500 in USDC.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages