英文原文: https://argusic.com/best/git-servers

在全新机器上启动的自托管 git 服务器

用于托管你自己仓库的服务器,按 Argusic 从零安装时是否成功启动的顺序排列。每次尝试的录屏只需点击一下即可查看。

测试时间为 2026年9月19日 至 2026年10月25日。每一行都注明了各自的测试日期;项目在那一天之后可能发生变化。

8 个已测试项目中有 7 个可运行。

简而言之: 在 8 个已测试项目中,有 6 个在全新机器上直接启动:GitSave、enroute、git.limo、onedev、gitea 和 gogs。另有 1 个在用替身替换其依赖的服务(例如数据库)后启动:opencode-manager。1 个无法验证:codefever;log 显示了它停在哪里。

每一次都由 Argusic 在全新机器上实测。 每个数字都链接到对应的证据。

#项目结论Argusic 评分语言星标数测试日期
1GitSave可运行100 / 100TypeScript3422026年9月23日

GitSave 是一款自托管且开源的应用程序,用于备份你的 Git 仓库。

测试发现:GitSave backend server (Express + Prisma/SQLite) runs on port 3000, serves the Astro-built static frontend, and all 14 REST API endpoints for user auth, backup job CRUD, git mirror cloning, history tracking, access tokens, and storage config respond correctly with the expected data payloads. 14 分钟。

2enroute可运行100 / 100Rust3352026年10月25日

基于对象存储的可编程 git 基础设施。可以理解为 git 版的 turbopuffer。是 Pierre (code.storage) 和 Cloudflare Artifacts 的开源替代方案。

测试发现:Enroute builds and passes all 22 integration tests, and the dev server starts listening for git on http://127.0.0.1:8080 and the grpc api on http://127.0.0.1:50051. 9 分钟。

3git.limo可运行97.6 / 100Elixir5152026年9月19日

一个基于 Elixir 的 Git 源代码管理工具,安装简便且扩展性高。

测试发现:The git.limo Elixir project compiled with Elixir 1.17/Erlang 27, the NIF (geef_nif.so) linked against libgit2 1.7.2, the test suite ran against a locally-initialized PostgreSQL 16 database with 214 passing tests (1 infrastructure-related failure, 16 skipped), and the Phoenix web server started and answered HTTP 200 on... 32 分钟。

4onedev可运行73.3 / 100Java15,3392026年9月22日

统一自主开发平台

测试发现:OneDev builds and compiles from source with all 86 tests passing, and the server starts on localhost:6610 returning HTTP 200 with the setup initialization page. 38 分钟。

5gitea可运行66.7 / 100Go58,8842026年9月21日

Git 与一杯茶:无痛的自托管一体化软件开发服务,包括 Git 托管、代码审查、团队协作、软件包注册表和 CI/CD。

测试发现:Gitea builds from source with Go 1.27.1 and Node 22.18.0; all 637 backend unit tests pass (0 failures); the web server starts and serves HTML on port 3000, returning HTTP 200 with a valid page including CSP headers and Gitea UI markup. 14 分钟。

6gogs可运行60 / 100Go47,9172026年9月21日

自托管 Git 服务的轻松方式

测试发现:Gogs 0.15.0+dev builds and runs: Go binaries compile, frontend bundles to public/dist/, the web server starts on port 3000 with SQLite, the /healthcheck endpoint returns 200 with a confirmed database connection. 15 分钟。

7opencode-manager借助 mock 可运行92 / 100TypeScript9122026年10月12日

一个自托管的 OpenCode 命令中心,将会话、git、终端和日程集成在一个 Web 应用中,可通过手机或桌面访问。

测试发现:Dependencies installed, backend builds and serves HTTP on :5003 returning 200, test suite passes 3081 of 3148 tests (145 of 161 files) with 13 failures caused by missing external tools (unzip, opencode binary, msb) and API-key-dependent services. 33 分钟。

8codefever无法验证20 / 100PHP2,7512026年10月19日

CodeFever 是完全免费开源的 Git 代码托管服务,支持一行命令安装到自己服务器。CodeFever Community Edition(一个自托管的 Git 服务)。

测试发现:无法验证;log 显示了它停在哪里。

可运行 使用真实的依赖项完成安装并启动。 借助 mock 可运行 用替身替换数据库或第三方 API 等外部服务后启动。 无法验证 标准 agent 和更强的 agent 都没能在时间限制内让它运行起来;log 显示了它停在哪里。

我们如何测试

截至最近一次测试,本榜单中:6 个项目直接运行,1 个借助 mock 运行,1 个无法验证。已测试的语言:Elixir、Go、Java、PHP、Rust、TypeScript。每次尝试都使用一台干净的一次性机器、固定版本的项目,以及 45 分钟的时间限制;完整流程见方法论页面。

常见问题 (FAQ)

本榜单是如何排名的?

依据测量结果,而不是观点:Argusic 在全新机器上安装并启动成功的项目排在最前,然后是用 mock 代替外部服务后运行的项目,再然后是无法验证的项目。结果相同时比较 Argusic 评分,再比较项目在其自身来源上的热度。

证据在哪里?

每一行都链接到该项目的 Argusic 页面,其中每次运行都有完整的 log 和终端录屏,并连同 sha256 指纹一起保存。每个已测试项目都有这样的页面,无论它是否在本榜单上。

同一类别的更多榜单

所有榜单: Best. 所有已测试项目: 项目.