SiYuan: Privacy-First, Self-Hosted Personal Knowledge Management Software
This repository profile is provided by osrepos.com, an open source repository discovery platform.

Summary
SiYuan is a privacy-first, self-hosted, and fully open-source personal knowledge management software. Written in TypeScript and Go, it offers robust features for note-taking, block-level referencing, and AI integration, making it a powerful alternative to popular tools.
Repository Information
Topics
Click on any tag to explore related repositories
Use at your own risk
OSRepos shares public repositories for knowledge and discovery only. Any installation, execution, configuration, or use of code from these repositories is the user's own responsibility. Always review the repository, source code, dependencies, licenses, and security implications before running or installing anything. OSRepos is not responsible for issues, damages, or losses resulting from third-party repositories.
Introduction
SiYuan is a robust, privacy-first, and fully open-source personal knowledge management software. Developed with TypeScript and Go, it empowers users to manage their notes and knowledge base with fine-grained block-level referencing and a Markdown WYSIWYG editor. Designed for self-hosting, SiYuan offers a powerful and transparent alternative for individuals seeking full control over their data.
Installation
SiYuan provides multiple flexible installation options to suit various preferences, from desktop applications to self-hosted server deployments.
Desktop and Mobile Applications
For a quick start, you can download SiYuan directly from official app stores or as an installation package:
- App Stores:
- Installation Packages:
Docker Hosting
For self-hosting enthusiasts, SiYuan can be easily deployed using Docker. This method allows you to run SiYuan on your server and access it via a web browser.
Here's a basic example of how to run SiYuan with Docker:
docker run -d \
-v /siyuan/workspace:/siyuan/workspace \
-p 6806:6806 \
-e PUID=1001 -e PGID=1002 \
b3log/siyuan \
--workspace=/siyuan/workspace/ \
--accessAuthCode=YOUR_SECURE_AUTH_CODE
Remember to replace /siyuan/workspace with your desired host path and YOUR_SECURE_AUTH_CODE with a strong authorization code. For more detailed instructions and Docker Compose configurations, refer to the official Docker documentation in the README.
Examples
SiYuan is packed with features designed to enhance your knowledge management workflow:
- Block-level Referencing and Two-way Links: Create intricate connections between your notes, fostering a rich web of knowledge.
- Markdown WYSIWYG Editor: Enjoy a seamless writing experience with real-time Markdown rendering.
- AI Integration: Leverage AI writing and Q&A chat capabilities via OpenAI API for enhanced content creation and information retrieval.
- Flashcard Spaced Repetition: Integrate learning and memory retention directly into your notes.
- PDF Annotation Link: Annotate PDFs and link directly to specific sections within your SiYuan notes.
- Multi-tab and Split Screen: Organize your workspace efficiently with multiple tabs and drag-and-drop split-screen functionality.
- Cross-platform Availability: Access your knowledge base on Android, iOS, HarmonyOS, and desktop platforms.
- Extensible Ecosystem: Benefit from a community marketplace for plugins and a comprehensive API for custom integrations.
Why Use SiYuan
Choosing SiYuan means opting for a powerful, flexible, and user-centric knowledge management solution. Its commitment to privacy ensures your data remains yours, while its self-hosted nature gives you complete control over your information. The rich feature set, including advanced linking, AI tools, and spaced repetition, caters to diverse needs, from personal note-taking to academic research. As a fully open-source project, SiYuan benefits from community contributions, offering transparency and continuous improvement. It stands as a compelling alternative to proprietary solutions like Notion or Obsidian, particularly for those prioritizing data ownership and extensibility.
Links
- GitHub Repository: siyuan-note/siyuan
- Official Website: b3log.org/siyuan
- English Discussion Forum: liuyun.io
- Docker Image: b3log/siyuan on Docker Hub
Related repositories
Similar repositories that may be relevant next.

Trilium: Build Your Personal Knowledge Base with This Powerful Notes App
January 15, 2026
Trilium Notes is a free and open-source, cross-platform hierarchical note-taking application designed for building extensive personal knowledge bases. It offers a rich WYSIWYG editor, code support, and advanced features like note versioning and scripting. Users can organize notes in a deep tree structure and synchronize them with a self-hosted server.

BookStack: A Self-Hosted Platform for Documentation and Wiki Content
December 20, 2025
BookStack is an intuitive, self-hosted platform designed for creating and organizing documentation and wiki content. Built with PHP and Laravel, it offers a pleasant out-of-the-box experience, making content creation accessible even with basic word-processing skills. The project emphasizes a stable upgrade path and a relaxed, open development approach.

RAG Web UI: An Intelligent Dialogue System with Retrieval-Augmented Generation
October 27, 2025
RAG Web UI is an intelligent dialogue system leveraging Retrieval-Augmented Generation (RAG) technology to build robust Q&A systems. It enables users to create knowledge bases from various document formats and supports multiple LLM deployment options, including cloud services and local models like Ollama. The system also offers OpenAPI interfaces for seamless integration.

Memvid: Revolutionizing AI Memory with Video Compression and Semantic Search
October 11, 2025
Memvid is an innovative Python library that transforms vast amounts of text data into compact, searchable MP4 video files. It leverages advanced video codecs to store millions of text chunks as QR codes, enabling lightning-fast semantic search without the need for traditional databases. This approach offers significant storage savings, true portability, and an offline-first design for AI memory applications.
Source repository
Open the original repository on GitHub.