Source: https://seerepo.com/best-tested/gin
Markdown source: https://seerepo.com/best-tested/gin.md
Description: 11 public Gin repos that SeeRepo read have 10 test files or more. router-for-me/CLIProxyAPI comes first: a test imports 85.5% of its code files.

# The best-tested open source Gin repos

11 public Gin repos that SeeRepo read have 10 test files or more. router-for-me/CLIProxyAPI comes first: a test imports 85.5% of its code files.

How they're ranked: by the share of their code files that some test imports directly, then by stars. That says which files a test reaches, not which lines run. A repo enters with 10 test files or more and 20 code files or more.

Updated November 1, 2026.

## The repos, ranked

1. [router-for-me/CLIProxyAPI](https://seerepo.com/r/router-for-me/CLIProxyAPI): 85.5% of its code files have a test that imports them · 1,144 test files · Go · 56,970 stars — Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini Series, GPT Series, Grok Series, Claude model through API
2. [Wei-Shaw/sub2api](https://seerepo.com/r/Wei-Shaw/sub2api): 79.3% of its code files have a test that imports them · 2,018 test files · Go · 45,171 stars — Sub2API 一站式开源中转服务，让 Claude、Openai 、Gemini、Grok订阅统一接入，支持拼车共享，更高效分摊成本，原生工具无缝使用。
3. [photoprism/photoprism](https://seerepo.com/r/photoprism/photoprism): 78.5% of its code files have a test that imports them · 1,695 test files · Go · 40,381 stars — AI-Powered Photos App 🌈💎✨
4. [siyuan-note/siyuan](https://seerepo.com/r/siyuan-note/siyuan): 69.6% of its code files have a test that imports them · 2,378 test files · Go · 47,007 stars — An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间，让人与智能体在此协作
5. [ollama/ollama](https://seerepo.com/r/ollama/ollama): 68.7% of its code files have a test that imports them · 493 test files · Go · 185,195 stars — Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
6. [MHSanaei/3x-ui](https://seerepo.com/r/MHSanaei/3x-ui): 62.6% of its code files have a test that imports them · 854 test files · Go · 48,925 stars — Supporting multi-protocol multi-user(Vmess, Vless, Trojan, ShadowSocks, Wireguard, Hysteria, Tunnel, Mixed, HTTP, Tun, MTProto، AmneziaWG) 
7. [infiniflow/ragflow](https://seerepo.com/r/infiniflow/ragflow): 50.6% of its code files have a test that imports them · 1,875 test files · Go · 93,217 stars — RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
8. [danielmiessler/Fabric](https://seerepo.com/r/danielmiessler/Fabric): 41.9% of its code files have a test that imports them · 125 test files · Go · 44,504 stars — Fabric is an open-source framework for augmenting humans using AI. It provides a modular system for solving specific problems using a crowdsourced set of AI prompts that can be used anywhere.
9. [QuantumNous/new-api](https://seerepo.com/r/QuantumNous/new-api): 39.5% of its code files have a test that imports them · 508 test files · Go · 51,044 stars — Open-source AI gateway. Self-hosted LLM gateway with OpenAI-, Claude- and Gemini-compatible APIs, model routing, access control, usage tracking and cost accounting.
10. [AlistGo/alist](https://seerepo.com/r/AlistGo/alist): 18.9% of its code files have a test that imports them · 71 test files · Go · 50,378 stars — 🗂️A file list/WebDAV program that supports multiple storages, powered by Gin and Solidjs. / 一个支持多存储的文件列表/WebDAV程序，使用 Gin 和 Solidjs。
11. [1Panel-dev/1Panel](https://seerepo.com/r/1Panel-dev/1Panel): 7% of its code files have a test that imports them · 25 test files · TypeScript · 37,328 stars — 🔥 1Panel is a modern, open-source Linux server management panel and a lightweight AI management platform.

## Frequently asked questions

### Which Gin repo has the most test files?

siyuan-note/siyuan, with 2,378 test files.

The proof: [siyuan-note/siyuan's card](https://seerepo.com/r/siyuan-note/siyuan)

### What share of their code files do Gin repos test?

The median of the 11 is 62.6%: half are above it and half below.

### What languages are the best-tested Gin repos written in?

Go (10) and TypeScript (1).

### How many of the best-tested Gin repos have commits signed by AI?

10 of the 11; the most, Wei-Shaw/sub2api, with 17.7% of its commits.

The proof: [the commits each tool signed in Wei-Shaw/sub2api](https://seerepo.com/r/Wei-Shaw/sub2api/ai)

## What is your repo built with?

Any public repo, with no account: https://seerepo.com/r/owner/repo/built, with the owner and name it has on GitHub.
