head to head · open source

SiYuan vs COG-second-brain

SiYuan has 47,279 GitHub stars, 3,123 forks, 18 open issues and last shipped yesterday. COG-second-brain has 1,501 stars, 184 forks, 13 open issues and last shipped 27 days ago. SiYuan leads on adoption by 3,050% (47,279 vs 1,501 stars). SiYuan is written in TypeScript under AGPL-3.0; COG-second-brain is written in Python under MIT. SiYuan has attracted 7% as many forks as stars, COG-second-brain 12%. 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 ★ 47K COG-second-brain ★ 1.5K category Productivity & Utilities

← all 20902 open source comparisons

Side by side

SiYuan COG-second-brain
GitHub stars ★ 47K ★ 1.5K
License AGPL-3.0 MIT
Written in TypeScript Python
Last push 2026-11-18 2026-10-23
Forks ⑂ 3.1K ⑂ 184
Self-hosting Yes Yes
Data ownership Your server Your server

pick SiYuan if

  • You weight community size — 47K 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 COG-second-brain if

  • You want the COG-second-brain feature set and don't need the biggest community
  • You prefer the MIT license terms
  • Your stack matches Python
  • You evaluated both and COG-second-brain fits your workflow better

full COG-second-brain profile →

About SiYuan

From thought to insight, with agents English 中文 日本語 Türkçe Table of Contents 💡 Introduction 🔮 Features 🏗️ Architecture and Ecosystem 🗺️ Roadmap 🚀 Download Setup App Market Installation Package Package Manager Docker Hosting Unraid Hosting TrueNAS Hosting Test Channels ⌨️ Command line Interface 🏘️ Community 🛠️ Development Guide ❓ FAQ How does SiYuan store data? Does it support data synchronization through a third party sync disk? Is SiYuan open source? How to upgrade to a new version? What if some blocks (such as paragraph blocks in list items) cannot find the block icon? What should I do if the data repo…

read the full SiYuan overview →

About COG-second-brain

COG: The Agentic Second Brain That Actually Self Evolves Cognition + Obsidian + Git — A self evolving second brain powered by AI agents, markdown files, and version control. No database, no vendor lock in — just .md files that think. Quick Start Skills Features FAQ SETUP.md Works with Claude Code • Antigravity • Cursor • Kiro • Gemini CLI • OpenAI Codex • any AI that reads markdown Inspired by Garry Tan's gstack and gbrain Quick Start 1. Clone & enter the repo: 2. Run onboarding in your agent: Or install via skills.sh: Done — COG is personalized and ready in 2 minutes. See SETUP.md…

read the full COG-second-brain overview →

More in Productivity & Utilities

Related comparisons

More Note Taking & Knowledge Management projects

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

Frequently asked questions

Is SiYuan or COG-second-brain more popular?

SiYuan has 47,279 GitHub stars and COG-second-brain has 1,501. SiYuan has the larger community by that measure.

Are SiYuan and COG-second-brain free?

Both are open source. SiYuan is licensed under AGPL-3.0 and COG-second-brain under MIT. Neither carries a licence fee.

What is the difference between SiYuan and COG-second-brain?

SiYuan is written in TypeScript and COG-second-brain 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 COG-second-brain?

Choose SiYuan if you want the larger community (47,279 stars) or its AGPL-3.0 licence terms. Choose COG-second-brain if its feature set, stack or MIT licence fits better. Both are self-hostable.