Source: https://seerepo.com/compare/langgenius/dify/vs/toeverything/AFFiNE
Markdown source: https://seerepo.com/compare/langgenius/dify/vs/toeverything/AFFiNE.md
Description: dify and AFFiNE share 4 technologies: React, Redis, Postgres, and Sentry. dify is written in Python and AFFiNE in TypeScript.

# dify vs AFFiNE

dify and AFFiNE share 4 technologies: React, Redis, Postgres, and Sentry. dify is written in Python and AFFiNE in TypeScript.

- [langgenius/dify](https://seerepo.com/r/langgenius/dify): Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
- [toeverything/AFFiNE](https://seerepo.com/r/toeverything/AFFiNE): There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use. 

## What they share and what sets them apart

- In common: React, Redis, Postgres, Sentry
- Only in dify: Next.js, Flask, net/http, Resend
- Only in AFFiNE: Vite, Express

## Side by side

| | dify | AFFiNE |
|---|---|---|
| Size | 2,246,004 lines written, 6,486 code files | 1,015,236 lines written, 7,022 code files |
| Who writes it | 5.1% of its commits signed by AI. With GitHub Copilot, Claude Code, Gemini CLI, Codex, Jules, Devin, Cursor, and Warp | 0.1% of its commits signed by AI. With CodeRabbit, Devin, and GitHub Copilot |
| Activity | Last push October 28, 2026, 14,547 commits, 159,837 stars | Last push October 27, 2026, 10,950 commits, 73,902 stars |
| Tests | 4,485 test files. 65.5% of its code files have a test that imports them | 772 test files. 10.3% of its code files have a test that imports them |

- Size: Lines written by people and agents, without generated ones; code files, without tests.
- Who writes it: A commit counts as AI's when it carries its signature: a Co-Authored-By line, its author name or the merge of its branch.
- Activity: From GitHub and its history, on the day SeeRepo read it.
- Tests: The files that test the code, and the share of code files a test imports.

## Frequently asked questions

### Which is bigger, dify or AFFiNE?

dify, with 2,246,004 lines written in 6,486 code files; AFFiNE has 1,015,236 in 7,022.

The proof: [langgenius/dify's code at commit ea5e4e9](https://github.com/langgenius/dify/tree/ea5e4e9e21e73a8b7406e2d678350a2dd33b8fa0)

### Which has more GitHub stars, dify or AFFiNE?

dify, with 159,837 stars; AFFiNE has 73,902.

The proof: [langgenius/dify on GitHub](https://github.com/langgenius/dify)

### Which has more tests, dify or AFFiNE?

dify, with 4,485 test files; AFFiNE has 772.

The proof: [langgenius/dify's code at commit ea5e4e9](https://github.com/langgenius/dify/tree/ea5e4e9e21e73a8b7406e2d678350a2dd33b8fa0)

### Which was updated more recently, dify or AFFiNE?

dify: its last push was on October 28, 2026, and AFFiNE's on October 27, 2026.

The proof: [langgenius/dify's commits on GitHub](https://github.com/langgenius/dify/commits)

### Which has more commits signed by AI, dify or AFFiNE?

dify: an AI signed 5.1% of its commits, with GitHub Copilot, Claude Code, Gemini CLI, Codex, Jules, Devin, Cursor, and Warp; in AFFiNE, 0.1%.

The proof: [the commits each tool signed in langgenius/dify](https://seerepo.com/r/langgenius/dify/ai)

## Sources

- langgenius/dify: Read on October 28, 2026, at commit ea5e4e9 (https://github.com/langgenius/dify/tree/ea5e4e9e21e73a8b7406e2d678350a2dd33b8fa0)
- toeverything/AFFiNE: Read on October 27, 2026, at commit 8cef09e (https://github.com/toeverything/AFFiNE/tree/8cef09e1dd62b47a3cbc9f352aa10b3a90c75d34)

## 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.
