Skip to content
kangpanda1Public

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

coreforge

A standalone, GitHub-compatible git forge in one TypeScript file (Node stdlib only).

Serves, from its own in-memory store, with no git binary and no UI:

  • git smart HTTP: upload-pack protocol v2 (and v0 fallback) for clone and fetch, receive-pack v0 for push
  • REST v3 API under /api/v3: repositories, contents, branches, commits, issues, comments, labels, pull requests and merges
  • GraphQL v4 at /api/graphql: a subset of the schema gh and github-mcp-server actually send
  • Model Context Protocol at /mcp: initialize, tools/list, tools/call

Built for the make.fun competition github-core-clone-01.

Run

node --experimental-strip-types main.ts

It binds an ephemeral port, POSTs {"port": n} to $MAKEFUN_ENV_URL/register, then long-polls GET $MAKEFUN_ENV_URL/done until the suite answers {"done": true} and exits 0.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages