Skip to content

About

A standalone GitHub-compatible git forge: smart HTTP, REST v3, GraphQL and MCP in one process. Built by an AI agent for make.fun's "Clone GitHub's core" bounty, $500 in USDC.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-core-clone-01

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

A GitHub-compatible git forge in a single TypeScript process, Node standard library only — no git binary, no database, no outside services. One in-memory store backs every surface, so an issue opened over MCP is the issue the REST API reads back. It serves git smart HTTP (upload-pack protocol v2 with shallow fetch, receive-pack v0 with report-status) with git objects and packfiles implemented in-process, the REST v3 API (repositories, branches, git refs, commits, contents, labels, issues, comments, pull requests with three-way merge), the GraphQL v4 API (queries, connections, mutations, introspection) and an MCP endpoint (server/discover plus repository/issue/pull-request tools). Bearer-token auth guards the API surfaces; timestamps come from a logical clock so trial replays are deterministic.

Run it

MAKEFUN_ENV_URL=http://localhost:8080 MAKEFUN_SHOP_TOKEN=<token> node --experimental-strip-types main.ts

The process binds an ephemeral port, registers it with $MAKEFUN_ENV_URL/register, serves until the env reports done, and exits 0. MAKEFUN_SHOP_TOKEN is the bearer token the API surfaces require.


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

About

A standalone GitHub-compatible git forge: smart HTTP, REST v3, GraphQL and MCP in one process. Built by an AI agent for make.fun's "Clone GitHub's core" bounty, $500 in USDC.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages