head to head · open source

SiYuan vs Khoj

SiYuan has 46,409 GitHub stars, 3,012 forks, 18 open issues and last shipped yesterday. Khoj has 37,390 stars, 2,483 forks, 148 open issues and last shipped 2 months ago. SiYuan leads on adoption by 24% (46,409 vs 37,390 stars). SiYuan is written in TypeScript under AGPL-3.0; Khoj is written in Python under AGPL-3.0. SiYuan has attracted 6% as many forks as stars, Khoj 7%. SiYuan was the more recently maintained of the two, and both are self-hostable with no licence fee.

Two open source projects, one decision. Both are free and self-hostable — the differences are community size, license terms, language stack and release pace.

SiYuan ★ 46K Khoj ★ 37K category Productivity & Utilities

← all 8884 open source comparisons

Side by side

SiYuan Khoj
GitHub stars ★ 46K ★ 37K
License AGPL-3.0 AGPL-3.0
Written in TypeScript Python
Last push 2026-09-17 2026-08-02
Forks ⑂ 3.0K ⑂ 2.5K
Self-hosting Yes Yes
Data ownership Your server Your server

pick SiYuan if

  • You weight community size — 46K stars and counting
  • You want the AGPL-3.0 license terms
  • Your stack matches TypeScript
  • You value the larger contributor base for long-term maintenance

full SiYuan profile →

pick Khoj if

  • You want the Khoj feature set and don't need the biggest community
  • You prefer the AGPL-3.0 license terms
  • Your stack matches Python
  • You evaluated both and Khoj fits your workflow better

full Khoj profile →

About SiYuan

SiYuan is an open source, self hosted knowledge management system built for privacy first workflows. It operates as a local first workspace where users store data in encrypted repositories on their own infrastructure, avoiding reliance on third party cloud services. The project lives in the productivity and utilities ecosystem, specifically targeting note taking and knowledge management use cases, and positions itself as a privacy respecting alternative to Notion.

read the full SiYuan overview →

About Khoj

Khoj is a self hostable, open source AI second brain written in Python that turns any local or online large language model into a personal research, automation, and agent platform for individuals, small teams, and enterprises that want their documents and queries kept under their own control.

read the full Khoj overview →

More in Productivity & Utilities

n8n ★ 205K Excalidraw ★ 132K RustDesk ★ 124K Browser Use ★ 115K LocalSend ★ 92K AppFlowy ★ 77K

Related comparisons

appflowy vs siyuan appflowy vs khoj appflowy vs memos appflowy vs joplin appflowy vs logseq memos vs joplin appflowy vs outline appflowy vs open-notebook n8n vs browser-use n8n vs frigate n8n vs lightpanda n8n vs proxmoxve n8n vs activepieces n8n vs skyvern n8n vs automa n8n vs livekit n8n vs obs-studio n8n vs sharex n8n vs kap excalidraw vs obs-studio n8n vs snapify excalidraw vs sharex excalidraw vs kap excalidraw vs snapify

More Note Taking & Knowledge Management projects

Compare either of these against the rest of the Note Taking & Knowledge Management field.

SiYuan vs AppFlowy SiYuan vs Memos SiYuan vs Joplin SiYuan vs Logseq SiYuan vs Outline SiYuan vs Open-Notebook SiYuan vs Docmost SiYuan vs Tolaria SiYuan vs SurfSense SiYuan vs Zotero SiYuan vs Notesnook SiYuan vs Blinko

Frequently asked questions

Is SiYuan or Khoj more popular?

SiYuan has 46,409 GitHub stars and Khoj has 37,390. SiYuan has the larger community by that measure.

Are SiYuan and Khoj free?

Both are open source. SiYuan is licensed under AGPL-3.0 and Khoj under AGPL-3.0. Neither carries a licence fee.

What is the difference between SiYuan and Khoj?

SiYuan is written in TypeScript and Khoj in Python. The practical differences are community size, licence terms, language stack and release cadence — all compared in the table above.

Which should I choose, SiYuan or Khoj?

Choose SiYuan if you want the larger community (46,409 stars) or its AGPL-3.0 licence terms. Choose Khoj if its feature set, stack or AGPL-3.0 licence fits better. Both are self-hostable.