Skip to content
DevUtils Online

Self-Hosted

khoj vs siyuan

siyuan leads by 10.2 · clear

A

khoj

83.6

38,157 stars · AGPL-3.0

B · leads

siyuan

93.8

47,269 stars · AGPL-3.0

khoj versus siyuan is a Self-Hosted comparison assembled from public repository metrics, the license on file, and whether each product can be self-hosted. khoj is written mainly in Python; siyuan is written mainly in TypeScript. The composite score is 83.6 for khoj and 93.8 for siyuan.

siyuan has 47,269 GitHub stars to khoj's 38,157, a gap of 9,112 (1.24×). Forks are 2,555 for khoj and 3,122 for siyuan. On the log scale used inside this pair, adoption is 98 versus 100, and the fork community is 98 versus 100.

Push history: khoj was last pushed on 02 August 2026 (107 days ago), and siyuan was last pushed on 17 November 2026 (0 days ago). Open issues stand at 173 for khoj (0.005 per star) and 5 for siyuan (0.000 per star). Issue-health scores are 96 and 96; activity scores are 58 and 100.

Both khoj and siyuan are listed as AGPL-3.0. A network copyleft grant. Letting users interact with a modified copy over a network can trigger a duty to offer them the corresponding source. The license score is therefore level at 52 versus 52, and the decision moves to adoption, activity, and hosting. This is a procurement signal, not legal advice.

In Self-Hosted, both khoj (38,157 stars) and siyuan (47,269 stars) are marked self-hostable. Deploy scores are 100 and 100. Running either one means you own upgrades, backups, and the license duties that follow a modified copy. Pricing labels on file: khoj is open source, siyuan is open source.

siyuan is ahead on every scored dimension that is not level. Level dimensions: issue health, license flexibility, self-hosting. The widest gap is recent activity at 42 points (58 vs 100), and the tightest is self-hosting at 0 points (100 vs 100).

siyuan finishes ahead at 93.8 against khoj at 83.6, a 10.2 point clear margin under the published weights.

Scores are computed inside this pair only. Method and weights.

Where they separate

The numbers

Bars are scaled within the row. Higher is stronger. Open issues are a raw count, so that row has no bar.

khoj versus siyuan metrics
Signal khoj siyuan
GitHub stars 38,157 47,269
Forks 2,555 3,122
Open issues 173 5
Adoption 98 100
Activity 58 100
Community 98 100
Issue health 96 96
License 52 52
Self-hosting 100 100
Composite 83.6 93.8

khoj

Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (gpt, claude, gemini, llama, qwen, mistral). Get started - free.

Project site · GitHub · Full profile

siyuan

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

Project site · GitHub · Full profile

Questions this page answers

Which has more GitHub stars, khoj or siyuan?

siyuan has more GitHub stars: 47,269 versus 38,157 for khoj. The gap is 9,112 stars.

Which was updated more recently, khoj or siyuan?

siyuan was pushed more recently: 17 November 2026 versus 02 August 2026 for khoj. That is 107 days apart.

Can I self-host both khoj and siyuan?

Yes. This catalog marks both khoj and siyuan as self-hostable. Confirm each project's deploy docs before you plan a migration.

Which license is easier to embed in a commercial product, khoj or siyuan?

khoj is listed as AGPL-3.0, which this catalog treats as a network copyleft grant. Letting users interact with a modified copy over a network can trigger a duty to offer them the corresponding source. siyuan is listed as AGPL-3.0, which this catalog treats as a network copyleft grant. Letting users interact with a modified copy over a network can trigger a duty to offer them the corresponding source. Read both grants before you embed either codebase in a hosted product. This is not legal advice.

Who wins the khoj vs siyuan score?

siyuan scores 93.8 and khoj scores 83.6. This page calls that a clear lead for siyuan.

Related comparisons