SafeLine vs ragflow

SafeLine and ragflow share 4 technologies: Gin, Postgres, MCP, and go.uber.org/zap. 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

In common

infiniflow

ragflow

RAGFlow is an agent-native database: a Retrieval-Augmented Generation (RAG) engine that grew into context infrastructure.

Go93.5kRead on November 4, 2026, at commit 8cab68aWhat is ragflow built with?

Only in ragflow

Side by side

SizeLines written by people and agents, without generated ones; code files, without tests.
SafeLine14,197 lines written109 code files
ragflow1,294,372 lines written2,843 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
ragflow2.1% of its commits signed by AIWith Claude Code, Cursor, CodeRabbit, GitHub Copilot, Kilo Code, Codex, OpenHands, Gemini CLI, and Factory
ActivityFrom GitHub and its history, on the day SeeRepo read it.
SafeLineLast push October 22, 2026783 commits23,167 stars
ragflowLast push November 4, 202610,792 commits93,494 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
ragflow1,962 test files50.8% of its code files have a test that imports them

Frequently asked questions

Which is bigger, SafeLine or ragflow?
ragflow, with 1,294,372 lines written; SafeLine has 14,197.

The proof: infiniflow/ragflow's code at commit 8cab68a

Which has more GitHub stars, SafeLine or ragflow?
ragflow, with 93,494 stars; SafeLine has 23,167.

The proof: infiniflow/ragflow on GitHub

Which has more tests, SafeLine or ragflow?
ragflow, with 1,962 test files; SafeLine has 12.

The proof: infiniflow/ragflow's code at commit 8cab68a

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

The proof: infiniflow/ragflow's commits on GitHub

Which has more commits signed by AI, SafeLine or ragflow?
ragflow: an AI signed 2.1% of its commits, with Claude Code, Cursor, CodeRabbit, GitHub Copilot, Kilo Code, Codex, OpenHands, Gemini CLI, and Factory; in SafeLine, 0.4%.

The proof: the commits each tool signed in infiniflow/ragflow

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 โ†’