Open-source notes and knowledge base app with a three-pane layout, instant multi-device sync, and built-in MCP for AI agents, runnable on Cloudflare or Docker.
Smaug6739/Alexandrie
A self-hosted, offline-first knowledge base with an extended Markdown editor, team workspaces, OIDC SSO and S3-backed storage.
Open-source alternative to:Notion
Confluence
Obsidian
- Stars
- 3,040
- Forks
- 220
- Open issues
- 35
- Last commit
- yesterday
What is it?
Alexandrie is a self-hosted wiki and knowledge management platform for teams and individuals, positioned as an alternative to Notion, Confluence and Obsidian. It organizes content into teams, workspaces, categories and nested documents, with a five-level access model from None to Owner applied per node or workspace.
The editor is built on CodeMirror 6 and extends Markdown with LaTeX, custom containers, interactive checkboxes, diagrams, speech-to-text dictation and a reusable snippet manager. Full-text search, a Ctrl+K command center and built-in Kanban boards sit alongside the documentation.
The app ships as a PWA that works offline and syncs when reconnected. Deployment uses Docker Compose, with OIDC SSO support, S3-compatible object storage (such as MinIO, Garage or AWS), ZIP import and export, and full-system backup and restore.
Key features
- 01Extended Markdown editor with LaTeX, custom containers and integrated diagrams
- 02Five-level access control (None, Read, Write, Admin, Owner) per node or workspace
- 03Offline-first PWA with synchronization when back online
- 04OIDC SSO support and S3-compatible storage for media and backups
- 05Full-text search, Ctrl+K command center and built-in Kanban boards
- 06ZIP import and export for selective or full backups
Use cases
- Teams that want a self-hosted Confluence-style wiki with SSO login
- Individuals who need Markdown notes available offline on desktop and mobile
- Organizations keeping documentation and media on their own S3-compatible storage
Quick start
- 1
Download the .env.example file
curl -O https://raw.githubusercontent.com/Smaug6739/Alexandrie/main/.env.example - 2
Download the docker-compose.yml file
curl -O https://raw.githubusercontent.com/Smaug6739/Alexandrie/main/docker-compose.yml - 3
Configure environment variables
cp .env.example .env - 4
Launch the stack, then open http://localhost:8200 to create the owner account
docker compose up -d
Things to know
- Setup requires Docker and configuring the environment file for a self-hosted instance.
- S3-compatible object storage is needed for the storage features described in the README.
Topics
FAQ
- What is Alexandrie?
- A self-hosted, offline-first knowledge base with an extended Markdown editor, team workspaces, OIDC SSO and S3-backed storage. Alexandrie is a self-hosted wiki and knowledge management platform for teams and individuals, positioned as an alternative to Notion, Confluence and Obsidian. It organizes content into teams, workspaces, categories and nested documents, with a five-level access model from None to Owner applied per node or workspace.
- Is Alexandrie free to use? What license does it have?
- Alexandrie is open source under the MIT license. Check the license terms before using it in commercial products.
- Is Alexandrie still maintained?
- Actively maintained. The last commit to Alexandrie was on Oct 18, 2026.
- What can I use Alexandrie for?
- Teams that want a self-hosted Confluence-style wiki with SSO login Individuals who need Markdown notes available offline on desktop and mobile Organizations keeping documentation and media on their own S3-compatible storage
- How do I install Alexandrie?
- Download the .env.example file: curl -O https://raw.githubusercontent.com/Smaug6739/Alexandrie/main/.env.example Download the docker-compose.yml file: curl -O https://raw.githubusercontent.com/Smaug6739/Alexandrie/main/docker-compose.yml Configure environment variables: cp .env.example .env Launch the stack, then open http://localhost:8200 to create the owner account: docker compose up -d
- Where can I get Alexandrie?
- The source code and installation instructions are on GitHub: https://github.com/Smaug6739/Alexandrie
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A free, self-hosted note-taking app with rich text and Markdown notes, task lists, a diary, and sharing, offered as an alternative to Notion and Obsidian.
An open-source, local-first knowledge base that merges docs, whiteboard canvas and tables in one workspace, as an alternative to Notion and Miro.
Self-hosted, privacy-first knowledge workspace with block-level references, Markdown WYSIWYG editing, and AI agent collaboration.
Local-first, markdown-based notes app for macOS, Windows, Linux, Android and iOS, with optional sync to your own storage or server.
AppFlowy is an open-source AI workspace for notes, docs, wikis and project management, positioned as an alternative to Notion.