Alexandrie

Smaug6739MIT活跃维护

开源离线优先的知识库与笔记工具,支持高级 Markdown、多租户团队协作、OIDC/SSO 登录和本地 S3 备份,一条命令即可部署。

📚 The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

v8.14.4发布于 2026-11-08 17:09 UTC3,889star +5 / 7 天293fork同步于 2026-11-10 17:40 UTC

怎么上手

由 README 提炼,执行前请确认
curl -O https://raw.githubusercontent.com/Smaug6739/Alexandrie/main/.env.example
curl -O https://raw.githubusercontent.com/Smaug6739/Alexandrie/main/docker-compose.yml
cp .env.example .env
docker compose up -d
硬件要求按 README 说明

README 未说明硬件要求,只说明用 Docker 一条命令拉起全栈应用

有 Docker 镜像
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

自托管开源知识库,带扩展 Markdown 编辑器,可替代 Notion、Obsidian 和 Confluence

开源离线优先的知识库与笔记工具,支持高级 Markdown、多租户团队协作、OIDC/SSO 登录和本地 S3 备份,一条命令即可部署。

核心能力

  • 基于 CodeMirror 6 的扩展 Markdown 编辑器,原生支持 LaTeX 和自定义容器
  • 离线优先 PWA,可安装到桌面或移动端并同步
  • 多租户团队、工作区、分类与嵌套文档,5 级节点权限
  • 内置 OIDC/SSO 登录与全系统备份恢复流水线
  • 支持 S3 兼容对象存储,可预览 30 多种媒体格式

容易踩的坑

启动前需先把 .env.example 复制为 .env 并配置环境变量;默认访问端口为 8200,首次打开需创建 owner 账户;S3 备份与媒体存储需自行准备兼容的对象存储服务

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本v8.14.4
  1. v8.14.4Version 8.14.4最新正式版2026-11-08 · 2026-11-08 17:09 UTC

    Full Changelog: https://github.com/Smaug6739/Alexandrie/compare/v8.14.3...v8.14.4

    What's Changed

    • fix: remove debug log from setAppColor function a4dc87a7888f70de6b267887092a468284082c7f
    • fix(errors): new errors handling with correct 404 page 429e2b9b92163d1a60497c9ece1e81aa0c5dc623
    • fix: escape html for icons to avoid scripts injection ef389c290d183421de97168bc36d17cdb0b61eb6
    • fix: env variables injection in service worker at runtime instead of at build time e865051511edd00dec1a83b4c441e930816b1274
    • feat(markdown): add counters feature for automatic figures / tables / title labels (#742) by @evgenyponomarev
  2. v8.14.3Version 8.14.32026-10-30 · 2026-10-30 14:37 UTC
    查看更新说明

    Full Changelog: https://github.com/Smaug6739/Alexandrie/compare/v8.14.2...v8.14.3

    What's Changed

    • fix(s3): do not abort startup when PutBucketPolicy is unsupported by @anyingiit in https://github.com/Smaug6739/Alexandrie/pull/786
    • fix: handle unavailable Kanban views without losing the saved preference by @wanchenxing in https://github.com/Smaug6739/Alexandrie/pull/783
    • fix: align default CDN_URL with RustFS port 9000 by @BoulmisAbdennour in https://github.com/Smaug6739/Alexandrie/pull/794
    • fix(oidc): widen users.avatar and skip non-URL picture claims by @jadhavgaurav in https://github.com/Smaug6739/Alexandrie/pull/796
    • fix(snowflake): stop Generate from hanging after 4,095 IDs by @dannybloomfield in https://github.com/Smaug6739/Alexandrie/pull/815
    • fix: add datatable mobile version and fix tags display in datatable for nodes advanced view by @Hasoye in https://github.com/Smaug6739/Alexandrie/pull/787
    • docs: update curl commands and link formatting in README.md by @crypt0rr in https://github.com/Smaug6739/Alexandrie/pull/780
    • chore: add config for local tests dec46fbfa3b31e483a3d98e2c03c12dc3d834016
    • bump(docker-deps): bump node from 24 to 26. 68c19cc8ca41d0664ef0d78edb27ffd48e845080 #809
    • fix: update Go version to 1.26 in build workflow and Dockerfile 91e4583005cbe0ad37ef1cf5eb7f787acdf8c864
    • fix: set scope for PWA to ensure proper routing 45a13f3c151a53b83b10f25c943c5a5e9cc5004c
    • fix(PWA): add i18n cache rules to serve translations offline 5a12e8312bf2156b92feb1489f35930fa5c4a6c6
    • fix(editor): cursors in wrong possition in katex snippets 2ba7f3f2125a703357b7f369d741182cdada62c9
    • fix: documents titles auto numbering not correctly reset 6500184d9af751647da3af58de15d17163578c72 #803
    • fix(workflow): ensure LFS is enabled during repository checkout dcbe9d8276454982f719478dcc363e7932d90534
    • chore: remove unused git file 416237ca08baea60cb41adbf1412f7c52417df59

    New Contributors

  3. v8.14.2Version 8.14.22026-09-07 · 2026-09-07 08:30 UTC
    查看更新说明

    Full Changelog: https://github.com/Smaug6739/Alexandrie/compare/v8.14.1...v8.14.2

    What's Changed

    New Contributors

  4. v8.14.1Version 8.14.12026-09-04 · 2026-09-04 07:49 UTC
    查看更新说明

    Full Changelog: https://github.com/Smaug6739/Alexandrie/compare/v8.14.0...v8.14.1

    What's Changed

    New Contributors

  5. v8.14.0Version 8.14.02026-08-25 · 2026-08-25 18:42 UTC
    查看更新说明

    Full Changelog: https://github.com/Smaug6739/Alexandrie/compare/v8.13.0...v8.14.0

    Features

    Fixes

    Other

    • chore(docs): add independent deploy script for documentation to avoid unnecessary rebuild of frontend by @Smaug6739 in https://github.com/Smaug6739/Alexandrie/pull/701
    • style: add new rules to automaticly sort keys by alphabetical order addaee3b0895d639d93510d14d4d7ff5bbc8ad0b
    • build(depts): bump dependencies
    • docs: add missing variables in env example file 89adb30d66a84fc48f9305251b923a26bb2eb94c
    • refactor: remove unnecessary comments for clarity 1a386d0eca7ef97853b34cd807c86a41038128bc

    New Contributors

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    Alexandrie

    A self-hosted, open-source knowledge base with an extended Markdown editor. Organize, search, share and export your notes from any device, even offline.

    Alexandrie Preview

    GitHub Repo stars GitHub release GitHub license Discord

    Why Alexandrie?

    Alexandrie is an open-source self-hosted wiki and knowledge management platform built for teams and individuals. It combines a powerful Markdown editor, offline support, collaboration tools, and enterprise-grade permissions, making it an alternative to Notion, Confluence and Obsidian.

    • One-Command Deployment: Bring up the entire full-stack application instantly using Docker.
    • Advanced Markdown Engine: Native support for LaTeX, custom containers, interactive checkboxes, frames, snippets, and integrated diagram building.
    • Granular Organization: Multi-tenant architecture supporting Teams, Workspaces, Categories, and nested Documents.
    • Offline-First PWA: Install on any desktop or mobile device with full offline capabilities and seamless synchronization.
    • Production Ready: Built-in OpenID Connect (OIDC) SSO providers, automated full-system backup/restore pipelines, and a robust media storage architecture.

    Core Features

    Advanced Writing & Rich Markdown

    Alexandrie features an extended CodeMirror 6 environment tailored for technical writing. It handles complex academic blocks, custom styles, global theme alignment, and real-time scroll synchronization seamlessly.

    Markdown Editor Preview

    • Speech-to-Text: Dictate notes directly into your editor using integrated voice-recognition APIs.

    • Native Diagrams: Create, edit, and render flowcharts or structural diagrams right inside your Markdown flow.

    • Snippet Manager: Save, reuse, and import/export frequently used templates or code fragments.

    Team Workspaces & Access Control

    Manage multi-user environments with clear hierarchy and strict isolation. Securely share knowledge across organizations through unique public links or granular group rules.

    Team Workspaces Preview

    • 5-Level Access Model: Fine-tune user privileges from None, Read, Write, Admin, to Owner status per node or workspace.

    • Enterprise Operations: Generate temporary invitation codes, configure custom scopes, and track team allocation tables instantly.

    Navigation & Discovery

    Locate documents across complex hierarchies effortlessly with deep structural layouts and high-speed searching tools.

    Navigation Preview

    • Command Center (Ctrl + K): A keyboard-driven global overlay allowing you to navigate the app, execute actions, or trigger contextual operations instantly.

    • Full-Text Indexing: Instant lookup with snippet highlights and precise relevancy sorting scores.

    Command Center Preview

    • Task Management: Every workspace includes integrated Kanban boards to organize objectives alongside your documentation.

    Sovereign Assets & Storage Pipelines

    Maintain total ownership over your binaries, media streams, and backups. Alexandrie relies on decoupled storage engines to preserve performance without external analytics dependencies.

    Storage Preview

    • S3 Integration: Native compatibility with decentralized modern object stores (such as RustFS, Garage, MinIO, or AWS).

    • Media Sandbox: In-app PDF view rendering and multi-format previewing for over 30 image, audio, and video formats.

    • Data Portability: Comprehensive ZIP import/export tools allow users to backup or restore selective nodes, metadata configurations, or entire platform states in a single action.

    Quick Start

    Get your instance running in less than a minute:

    # 1. Download the .env.example and docker-compose.yml files
    curl -O https://raw.githubusercontent.com/Smaug6739/Alexandrie/main/.env.example
    curl -O https://raw.githubusercontent.com/Smaug6739/Alexandrie/main/docker-compose.yml
    
    # 2. Configure environments
    cp .env.example .env
    
    # 3. Launch the stack
    docker compose up -d
    

    Open http://localhost:8200 to create your primary owner account.

    For advanced local development guidelines and technical architecture details, please refer to CONTRIBUTING.md.