SafeLine vs CLIProxyAPI

SafeLine and CLIProxyAPI share 3 technologies: Gin, Postgres, and github.com/sirupsen/logrus. Both are written in Go.

Read it as markdown

What they share and what sets them apart

chaitin

SafeLine

SafeLine is a self-hosted WAF(Web Application Firewall) / reverse proxy to protect your web apps from attacks and exploits.

Go23.2kRead on November 4, 2026, at commit 9b72ba6What is SafeLine built with?

Only in SafeLine

  • MCP
  • gorm.io/gorm
  • github.com/pquerna/otp
  • go.uber.org/zap

In common

router-for-me

CLIProxyAPI

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

Go57.6kRead on November 5, 2026, at commit 585f97dWhat is CLIProxyAPI built with?

Only in CLIProxyAPI

  • net/http
  • go-redis
  • pgx
  • Redis
  • MinIO
  • github.com/charmbracelet/bubbletea
  • github.com/charmbracelet/lipgloss
  • github.com/charmbracelet/bubbles
  • golang.org/x/oauth2
  • github.com/tiktoken-go/tokenizer
  • gopkg.in/natefinch/lumberjack.v2

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
SafeLine14,197 lines written109 code files
CLIProxyAPI801,966 lines written799 code files
Who writes itA commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
SafeLine0.4% of its commits signed by AIWith Codex
CLIProxyAPI3.4% of its commits signed by AIWith Codex, Claude Code, Gemini CLI, Amp, Factory, GitHub Copilot, Devin, and Cursor
ActivityFrom GitHub and its history, on the day SeeRepo read it.
SafeLineLast push October 22, 2026783 commits23,167 stars
CLIProxyAPILast push November 5, 20263,893 commits57,638 stars
TestsThe files that test the code, and the share of code files a test imports.
SafeLine12 test files12.8% of its code files have a test that imports them
CLIProxyAPI1,186 test files86.4% of its code files have a test that imports them

Frequently asked questions

Which is bigger, SafeLine or CLIProxyAPI?
CLIProxyAPI, with 801,966 lines written; SafeLine has 14,197.

The proof: router-for-me/CLIProxyAPI's code at commit 585f97d

Which has more GitHub stars, SafeLine or CLIProxyAPI?
CLIProxyAPI, with 57,638 stars; SafeLine has 23,167.

The proof: router-for-me/CLIProxyAPI on GitHub

Which has more tests, SafeLine or CLIProxyAPI?
CLIProxyAPI, with 1,186 test files; SafeLine has 12.

The proof: router-for-me/CLIProxyAPI's code at commit 585f97d

Which was updated more recently, SafeLine or CLIProxyAPI?
CLIProxyAPI: its last push was on November 5, 2026, and SafeLine's on October 22, 2026.

The proof: router-for-me/CLIProxyAPI's commits on GitHub

Which has more commits signed by AI, SafeLine or CLIProxyAPI?
CLIProxyAPI: an AI signed 3.4% of its commits, with Codex, Claude Code, Gemini CLI, Amp, Factory, GitHub Copilot, Devin, and Cursor; in SafeLine, 0.4%.

The proof: the commits each tool signed in router-for-me/CLIProxyAPI

See inside your code, today.

Paste your repo and see it drawn, part by part: a medium one in under a minute.

Free, no account.

Or look inside SeeRepo's own →