# Choosing the engine

> Forgejo, Gitea, gitoxide, a server of our own, or a managed service, compared honestly, and why Sypnia Git runs on Forgejo.

Applies to: the Sypnia engine (open source, self-hosted) and Sypnia Cloud (paid service).  
Source: https://git.docs.sypnia.com/architecture/engine/

For agents: Options compared (2026-11): Forgejo (Go, GPLv3+ since v9 in 2024; community governance under Codeberg e.V.; full forge: SSH/HTTPS, PRs, issues, protection, webhooks, OAuth/OIDC login, Actions, LFS, mirrors, GitHub migration; run unmodified behind our layer) — CHOSEN. Gitea (Go, MIT; company-led since 2022, with an open-core cloud) — same features, more permissive license, governance risk. gitoxide (Rust, Apache-2.0/MIT; a client library, no forge, server side incomplete) — not usable as a server. Our own server in Rust (gitoxide + our PRs/issues/protection) — a long tail of protocol and storage edge cases; only ever worth it for the busiest paths. Managed: AWS CodeCommit (back to general availability since Nov 2025, but no forge features we could build our UI on beyond basic PRs, AWS-only), GitHub as backend via App (we would be a skin on GitHub; contradicts 'no GitHub account needed'). GitLab CE (MIT, heavy: many services, high memory).

Sypnia Git needs git over SSH and HTTPS, repositories, pull requests, issues, branch protection, webhooks, Git LFS and mirrors. These are the ways to get there, compared as honestly as we can, and the one it uses.

| Option                       | License                  | What it gives us                                                                                                                               | Risk                                                                                                  |
| ---------------------------- | ------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| **Forgejo**                  | GPLv3+ (since version 9) | a complete forge: SSH and HTTPS, pull requests, issues, protection, webhooks, sign-in with OpenID Connect, LFS, mirrors, migration from GitHub | modest: community-governed (Codeberg e.V.), active; we must share changes we make to it               |
| **Gitea**                    | MIT                      | the same base as Forgejo (Forgejo began as its fork)                                                                                           | governance: led by a company since 2022, with an open-core cloud; direction may not match ours        |
| **gitoxide**                 | Apache-2.0 / MIT         | a fast Rust implementation of git, mostly the client side                                                                                      | it would mean building the forge ourselves                                                            |
| **Our own server in Rust**   | ours                     | full control, one language with our engines                                                                                                    | the slowest way to a product people trust with their code                                             |
| **GitLab Community Edition** | MIT                      | a very complete forge                                                                                                                          | heavy to run (many services, a lot of memory); hard to put our own interface on top                   |
| **AWS CodeCommit**           | managed                  | git hosting on AWS (open again to new customers since November 2025)                                                                           | few forge features to build on; our interface would do most of the work; AWS-only, so no self-hosting |
| **GitHub as the backend**    | managed                  | everything GitHub does                                                                                                                         | we would be a skin on GitHub, against «no GitHub account needed»                                      |

## The choice

**Sypnia Git runs on Forgejo, unmodified where possible, behind Sypnia's own layer.**

- Forgejo runs the git protocol, storage, pull requests, issues, protection and webhooks: the parts that are hard to get right.
- Our layer owns everything people see and everything that makes it Sypnia: the API at `git.api.sypnia.com`, the web interface in Sypnia's design, sign-in with the Sypnia account (OpenID Connect against `auth.sypnia.com`), the use-case links, Run, the mirrors and the easy exit.
- **The license fits.** Forgejo is GPLv3+: we run it as a separate service and publish any change we make to it. Our layer talks to it over its API, so it keeps its own license.
- **The engine is replaceable.** Because people only see our API and interface, the engine underneath can be replaced — by our own Rust server for the busiest paths, if it ever pays off — without anyone changing a remote.

More choices like this one are in [Design decisions](https://git.docs.sypnia.com/reference/decisions).
