Skip to content

Repository files navigation

MrDoc - Your Self-Hosted Document & Knowledge Base

A self-hosted notes, documents and knowledge management solution for individuals and small teams

中文介绍 | English Description

star GitHub Repo stars star Featured|HelloGitHub

Home | Official Site | OSS Demo Site | Deployment Guide | User Manual | Document Examples

Source code:Gitee | GitHub | AtomGit

Introduce

MrDoc is a self-hostable online document and knowledge base system. It covers the full cycle of knowledge capture, document storage, knowledge organization, AI Q&A, content creation and knowledge sharing, helping individuals and small teams build a complete knowledge management loop.

Capture → Store → Organize → Use with AI → Publish → Keep Accumulating

You can simply think of MrDoc as a "self-hosted Yuque" and an "online-editable GitBook".

Supports Web, browser extensions, desktop client, mobile client and Obsidian sync plugin, and can be used for personal knowledge bases, team knowledge bases, product documentation and other scenarios.

MrDoc currently provides the following clients and extensions:

  • 🌐Web: Open Source Edition and Professional Edition, version comparison
  • 💻Browser Extension: mainly for web clipping, quick notes and AI knowledge base Q&A; supports Chromium-based browsers and Firefox, Download/Chrome Web Store/Edge Add-ons/Firefox Add-ons
  • 🗔Desktop Client: mainly for document editing and importing; supports Windows, macOS, Linux, Download
  • 📱Mobile Client: mainly for personal knowledge base viewing, document editing and AI knowledge base Q&A; supports Android, Download
  • Obsidian Sync Plugin: mainly for two-way sync between Obsidian documents and MrDoc documents Tutorial

Applicable Scenarios

Self-hosted scenarios such as personal knowledge bases, internal team knowledge bases, product documentation, project documentation and online tutorials.

Feature Overview

Document & Knowledge Management

Capability Details
Document Editing Supports Markdown, rich text and spreadsheet documents, along with editors such as Editor.md, Vditor and iceEditor; supports images, attachments, formulas, audio and video, mind maps, flow charts and ECharts diagrams
Document Management Supports document hierarchy, sorting, tags, templates, historical versions and recycle bin
Project Management Supports project creation, sorting, export, transfer and collaborator management
Permission Control Supports multiple access permissions such as public, private, specified users and access codes

AI Capabilities

Capability Details
AI Knowledge Base AI Q&A based on document content and permissions, for fast retrieval and understanding of knowledge
AI Writing Supports AI document writing, continuation and text polishing
AI API Supports accessing AI capabilities and third-party applications through Token API

Reading & Publishing

Capability Details
Document Reading Two-column reading layout, three-level outline, font settings and day/night modes, adapted for mobile
Content Search Supports document full-text search and tag relationship network
Content Sharing Supports document share codes, favorites and Markdown download
Project Publishing Supports PDF and EPUB generation and download, as well as project export

SEO & GEO

Capability Details
SEO Optimization Supports search engine indexing optimization, robots.txt, Canonical and JSON-LD structured data
GEO Optimization Supports mechanisms such as llms.txt, providing an entry point to site content for AI search and large language models

Management & Deployment

Capability Details
Site Management Provides unified management of users, projects, documents, images, attachments and site configuration
Access Control Supports registration invitation codes, login captcha, disabling registration and forced login
API Provides Token API, supporting editing, retrieving and searching documents through the API
Self-hosting Supports deployment on personal computers, NAS, servers and corporate intranets, with data fully controlled by the user

For the complete update record, see: CHANGES.md

Example Site

Open Source Edition: https://demo.mrdoc.io Professional Edition: https://pro.mrdoc.io

Comparison between the Open Source Edition and the Professional Edition - https://mrdoc.io/doc/362/

username: test1 password: 123456

Docker Compose Deployment

1、Deployment

git clone https://gitee.com/zmister/mrdoc-install.git && cd mrdoc-install && chmod +x docker-install.sh && ./docker-install.sh

2、Update

If a new version is available, simply run the docker-update.sh script in the MrDoc project directory to complete the update.

Windows Deployment Panel

Even without a Linux server or dedicated technical staff, you can still build your own MrDoc AI knowledge base on Windows.

Visual operation interface, no need to install any extra environment or dependencies, no need to enter any commands, supports runserver/Waitress modes and provides production-grade deployment capabilities.

User Manual: https://mrdoc.pro/d/windows-deploy-panel/ Download and update notes: https://mrdoc.pro/d/windows-panel-log/

More Deployment Methods

See the deployment documentation for details: https://mrdoc.pro/doc/1362/

Deployment Tools

Document Import Tools

Other Tools

Feedback

You can also submit issues on the following pages:

Dependent

MrDoc is developed based on open source projects such as Python, Django, Layui, Vditor, Editor.md and ECharts. Thanks to all open source projects and contributors.

License

GPL-3.0

Users of the Open Source Edition must retain the copyright notices related to MrDoc (觅思文档). Modifying or removing the MrDoc (觅思文档) copyright notices is prohibited.

In case of violation, the developer reserves the right to pursue legal responsibility against the infringer.

Disclaimer and User Compliance Statement

《MrDoc Disclaimer and User Compliance Statement》.

For commercial licensing (Professional Edition), please contact via WeChat:

About

mrdoc,online document system developed based on python. It is suitable for individuals and small teams to manage documents, wiki, knowledge and notes. 觅思文档,适合于个人和中小型团队的在线文档、AI知识库系统。

Topics

Resources

Security policy

Stars

3.2k stars

Watchers

47 watching

Forks

Releases

Sponsor this project

Packages

Used by

Contributors

Languages