Enroute is a Git server for applications that host code. It serves Git over HTTP, stores repositories in an object store, and gives your application a gRPC API to read and change them. Your application keeps what Enroute does not: users, repository names, permissions, and policy, which Enroute asks for through signed hooks.
Git client -- Git smart HTTP --> Enroute <-- gRPC -------- your application
| |
| +-- signed HTTP hooks --> your application
|
ledger nodes (replicated logs) + object store (layers)
Start with the Quickstart: Enroute on your machine, a push, and a commit through the API, in about five minutes.
You write an application that hosts repositories: a code-hosting product, a CI system, or a platform for coding agents.
- Concepts: what your application holds, what Enroute holds, and how a push moves through both.
- Build a code-hosting application: a seven-chapter TypeScript tutorial, from an empty project to files, history, and diffs on a page.
- Patterns: protected branches, merge requests, merge queues, CI, mirroring, and more, each built on the tutorial's application.
- API contract and Hook reference: every RPC and every hook, field by field.
You deploy and maintain Enroute for an application.
- Deployment profiles: one node, one ledger with compute nodes, or a replicated ledger, and what each survives.
- Operate Enroute: configuration, storage, security, observability, and the maintenance procedures.
- Upgrades and migrations: moving to a new release.
- Limitations: what does not work yet.
You want to know how Enroute stores, replicates, and serves repositories, and how it is tested.
- Architecture: the storage engine, consensus, the write and read paths, and maintenance, with Jepsen tests for consistency under faults.