Quick start ยท 2 of 3

git-mp-host โ€” the self-hosted server

A single-binary git server for your team: HTTP push/fetch, accounts, namespaces, scoped access tokens, per-repo RSS feeds and an admin panel. Your remote, on your hardware.

1. Create the root account

git-mp-host createsuperuser --email you@example.com
# prints a generated root password โ€” store it safely

2. Run the server

git-mp-host serve --port 8000
http://localhost:8000

Data lives in the same encrypted SQLite database as git-mp. Log in as root and open /adm/ to set the public hostname, create accounts, namespaces and repos.

3. Clone and push

git clone http://your-host:8000/git/<namespace>/<repo>
# authenticate with your account password or a scoped access token

Access tokens can be limited to specific repos, made read-only, and given an expiry โ€” ideal for CI jobs and AI agents.

4. Keep it tidy

# prune push-feed events older than 3 days (run from cron):
git-mp-host housekeeping