# siyuan

> Privacy-first, self-hosted knowledge workspace with block-level references and Markdown editing, built for people and AI agents.

- Type: agent or tool
- Field: Productivity
- Repository: https://github.com/siyuan-note/siyuan
- GitHub stars: 47478
- Licence: AGPL-3.0
- Language: TypeScript
- Last push: 2026-11-30
- Page: https://imutechz.in/agents/siyuan

## What it is
SiYuan is a personal knowledge management system with block-level references, two-way links and a Markdown WYSIWYG editor. It can be self-hosted with Docker and has apps for Android, iOS and HarmonyOS. It includes SQL query embeds, flashcards, OCR, an API and a community marketplace. Some features are only for paid members.

## Features
- Block-level references and two-way links
- Markdown WYSIWYG editor
- SQL query embed and database table view
- Export to Markdown, PDF, Word and HTML
- Flashcard spaced repetition
- Docker deployment and mobile apps

## Best for
- Personal note-taking
- Linked knowledge bases
- Self-hosted notes
- Study with flashcards

## Pros
- Privacy-first and self-hostable
- Has an API and plugin marketplace
- Most features are free

## Cons
- Some features need a paid membership

Tags: note-taking, knowledge-base, markdown, self-hosted, local-first, mcp, privacy, typescript
