SafeLine vs ragflow
SafeLine and ragflow share 4 technologies: Gin, Postgres, MCP, and go.uber.org/zap. Both are written in Go.
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
- gorm.io/gorm
- github.com/pquerna/otp
- github.com/sirupsen/logrus
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
- net/http
- go-redis
mysql-connector-python
- pgx
- pq
s3
- MySQL
- Redis
AWS S3- AIOHTTP
werkzeug
- React
- React Router
OpenAIgithub.com/aws/aws-sdk-go-v2/credentials
- golang.org/x/oauth2
github.com/golang-jwt/jwt/v5
- Model Context Protocol
- github.com/yuin/goldmark
- github.com/ledongthuc/pdf
- github.com/gomarkdown/markdown
- github.com/emersion/go-message
- golang.org/x/image
- reportlab
github.com/aws/aws-sdk-go-v2
github.com/aws/aws-sdk-go-v2/config
- go.opentelemetry.io/otel/trace
- OpenTelemetry
github.com/aws/aws-sdk-go-v2/service/sts
- go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp
- github.com/Azure/azure-sdk-for-go/sdk/azcore
- qrcode
- Tailwind CSS
- classnames
class-variance-authority
tailwind-merge
- next-themes
- React Hook Form
- xyflow
- Radix UI
lexical
- tanstack
@monaco-editor/react
react-syntax-highlighter
sonner
- react-force-graph-2d
react-day-picker
- react-copy-to-clipboard
recharts
@floating-ui/react
- cmdk
- D3
embla-carousel-react
- Mermaid
react-dropzone
react-resizable-panels
- Lucide
- Ant Design
@lexical/markdown
- dompurify
- react-markdown
- react-pdf-highlighter
rehype-katex
rehype-raw
- unist-util-visit-parents
xlsx
papaparse
remark-gfm
rehype-sanitize
remark-breaks
remark-math
- Zod
@hookform/resolvers
- Ajv
- ajv-formats
Side by side
SafeLineragflow
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.

