Skip to content

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

feat: improve readme style, add demos and simplify users navigation across the app (#547)

Smaugd6e3ab48077b
diff --git a/.github/assets/cdn.png b/.github/assets/cdn.png
new file mode 100644
index 00000000..1d51d92d
Binary files /dev/null and b/.github/assets/cdn.png differ
diff --git a/.github/assets/command_center.png b/.github/assets/command_center.png
new file mode 100644
index 00000000..68ac4185
Binary files /dev/null and b/.github/assets/command_center.png differ
diff --git a/.github/assets/docs_list.png b/.github/assets/docs_list.png
new file mode 100644
index 00000000..5c562916
Binary files /dev/null and b/.github/assets/docs_list.png differ
diff --git a/.github/assets/editor.png b/.github/assets/editor.png
new file mode 100644
index 00000000..be484bdb
Binary files /dev/null and b/.github/assets/editor.png differ
diff --git a/.github/assets/permissions.png b/.github/assets/permissions.png
new file mode 100644
index 00000000..d92a7086
Binary files /dev/null and b/.github/assets/permissions.png differ
diff --git a/.github/assets/preview.png b/.github/assets/preview.png
new file mode 100644
index 00000000..86dddcc3
Binary files /dev/null and b/.github/assets/preview.png differ
diff --git a/README.md b/README.md
index a564dbea..99f0568c 100644
--- a/README.md
+++ b/README.md
@@ -1,13 +1,13 @@
<div align="center">
-<img src="./frontend/public/Logo/Alexandrie-logo-dark.png" width="140">
+<img src="./frontend/public/Logo/Alexandrie-logo-dark.png" width="120">
# Alexandrie
**A self-hosted, open-source knowledge base with an extended Markdown editor.**<br>
-Organize, search, share and export your notes from any device, even offline.
+Organize, search, share and export your notes from any device, even offline.
-[Live Demo](https://alexandrie-hub.fr) · [Documentation](./docs/README.md) · [Discord](https://discord.gg/UPsEg6egPj)
+![Alexandrie Preview](.github/assets/preview.png)
[![GitHub Repo stars](https://img.shields.io/github/stars/Smaug6739/Alexandrie?style=for-the-badge)](https://github.com/Smaug6739/Alexandrie/stargazers)
[![GitHub release](https://img.shields.io/github/v/release/Smaug6739/Alexandrie?style=for-the-badge)](https://github.com/Smaug6739/Alexandrie/releases)
@@ -16,171 +16,85 @@ Organize, search, share and export your notes from any device, even offline.
</div>
-![Alexandrie Preview](.github/present.png)
-
## Why Alexandrie?
-Most note-taking apps are either too simple or too bloated. Alexandrie is the sweet spot: a **fast, self-hosted Markdown knowledge base** that's easy to deploy and packed with features you actually need.
-
-- **One command to deploy** `docker compose up` brings up the full stack 🚀
-- **Extended Markdown** colored containers, academic blocks, KaTeX math, footnotes, interactive checkboxes, and more. Also change preferred theme globally and see all of your notes in a consistent style
-- **Full-text search** instant results with content snippets and relevance ranking
-- **Granular permissions** 5-level access control (None → Read → Write → Admin → Owner) per document, per user
-- **PWA & offline support** install on any device and work without internet
-- **SSO / OIDC** connect Google, GitHub, Microsoft, Discord, or any OpenID provider
-- **Workspaces, categories, nested docs** organize naturally with a tree sidebar, tags, bookmarks, and pinned notes
-- **Kanban boards** plan and organize tasks visually within workspaces
-- **Voice-to-text** dictate notes directly into the editor
-- **Backups** export everything (docs, files, settings) as a ZIP with one click
-
----
-
-## Screenshots
-
-<details>
-<summary><strong>Editor with live preview</strong></summary>
-
-![Editor](./frontend/public/screenshots/mock/2.png)
-
-</details>
-
-<details>
-<summary><strong>Sharing & permissions</strong></summary>
-
-![Permissions](./frontend/public/screenshots/mock/3.png)
-
-</details>
-
-<details>
-<summary><strong>Mobile view</strong></summary>
-
-<img src="./frontend/public/screenshots/mock/phone-1.png" width="300">
-
-</details>
-
----
-
-## Quick Start
+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.
-Get Alexandrie running in under a minute:
+- **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.
-```bash
-# 1. Clone (or just download docker-compose.yml + .env.example)
-git clone https://github.com/Smaug6739/Alexandrie.git
-cd Alexandrie
+## Core Features
-# 2. Configure
-cp .env.example .env # defaults work out of the box
+### Advanced Writing & Rich Markdown
-# 3. Launch
-docker compose up -d
-```
+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.
-Open **http://localhost:8200** and create your account.
+![Markdown Editor Preview](.github/assets/editor.png)
-> **Dev mode with HMR:**
->
-> ```bash
-> docker compose -f docker-compose.yml -f docker-compose.dev.yml up --build
-> ```
+- Speech-to-Text: Dictate notes directly into your editor using integrated voice-recognition APIs.
-For manual setup without Docker, see [CONTRIBUTING.md](./CONTRIBUTING.md).
+- Native Diagrams: Create, edit, and render flowcharts or structural diagrams right inside your Markdown flow.
----
-
-## Tech Stack
+- Snippet Manager: Save, reuse, and import/export frequently used templates or code fragments.
-| Layer | Technology |
-| :----------- | :--------------------------------------------- |
-| **Frontend** | Nuxt 4 (Vue 3), TypeScript, Pinia, SCSS |
-| **Editor** | CodeMirror 6 with custom extensions |
-| **Markdown** | markdown-it + custom plugins, KaTeX |
-| **Backend** | Go (Gin), JWT auth, sqlx |
-| **Database** | MySQL 8 |
-| **Storage** | S3-compatible (RustFS, MinIO, AWS S3, Garage…) |
-| **Auth** | JWT + OIDC / SSO |
-| **Infra** | Docker Compose (4 services) |
+### 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.
-## Features at a Glance
+![Team Workspaces Preview](.github/assets/permissions.png)
-<table>
-<tr>
-<td width="50%">
+- 5-Level Access Model: Fine-tune user privileges from None, Read, Write, Admin, to Owner status per node or workspace.
-**Editor & Writing**
+- Enterprise Operations: Generate temporary invitation codes, configure custom scopes, and track team allocation tables instantly.
-- CodeMirror 6 with rich toolbar
-- Live preview with scroll sync
-- Custom containers, academic blocks, cards/panels
-- KaTeX math, syntax highlighting, footnotes
-- Custom snippets (create, import/export)
-- Voice recognition, drag & drop uploads
-- Auto-save, word count, spell check
+### Navigation & Discovery
-</td>
-<td width="50%">
+Locate documents across complex hierarchies effortlessly with deep structural layouts and high-speed searching tools.
-**Organization & Collaboration**
+![Navigation Preview](.github/assets/docs_list.png)
-- Workspaces → Categories → Documents (tree)
-- Tags, bookmarks, pinned notes, custom icons
-- Kanban boards per workspace
-- Public sharing with unique links
-- Per-user, per-node permission system
-- Full-text search with `Ctrl+K` command center
+- Command Center (Ctrl + K): A keyboard-driven global overlay allowing you to navigate the app, execute actions, or trigger contextual operations instantly.
-</td>
-</tr>
-<tr>
-<td>
+- Full-Text Indexing: Instant lookup with snippet highlights and precise relevancy sorting scores.
-**Files & Media**
+![Command Center Preview](.github/assets/command_center.png)
-- S3-based CDN for images, videos, audio, docs
-- In-app PDF viewer with zoom modes
-- 30+ supported formats (images, video, office…)
-- Drag & drop file upload into notes
+- Task Management: Every workspace includes integrated Kanban boards to organize objectives alongside your documentation.
-</td>
-<td>
+### Sovereign Assets & Storage Pipelines
-**Customization & Admin**
+Maintain total ownership over your binaries, media streams, and backups. Alexandrie relies on decoupled storage engines to preserve performance without external analytics dependencies.
-- Dark / Light mode, glassmorphism UI
-- Custom CSS injection (global & per-document)
-- Font family, size, line height settings
-- Admin panel with user management
-- Async backup & restore (ZIP)
+![Storage Preview](.github/assets/cdn.png)
-</td>
-</tr>
-</table>
+- 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.
-## Roadmap
+- 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.
-See the [open issues](https://github.com/Smaug6739/Alexandrie/issues) for planned features and known bugs.
-
----
+## Quick Start
-## Contributing
+Get your instance running in less than a minute:
-Alexandrie is MIT-licensed and contributions are welcome!
-Please read [CONTRIBUTING.md](./CONTRIBUTING.md) before submitting a pull request.
+```bash
+# 1. Clone the repository
+git clone [https://github.com/Smaug6739/Alexandrie.git](https://github.com/Smaug6739/Alexandrie.git)
+cd Alexandrie
----
+# 2. Configure environments
+cp .env.example .env
-## Support the Project
+# 3. Launch the stack
+docker compose up -d
+```
-If Alexandrie is useful to you, consider:
+Open http://localhost:8200 to create your primary owner account.
-- ⭐ **[Star the repository](https://github.com/Smaug6739/Alexandrie)** it helps others discover the project
-- **[Report issues](https://github.com/Smaug6739/Alexandrie/issues)** bug reports and feature requests help improve the app
-- **[Join the Discord](https://discord.gg/UPsEg6egPj)** get help, share feedback, or just hang out
-- **Spread the word** share Alexandrie with your friends, on social media, or in your community
+For advanced local development guidelines and technical architecture details, please refer to [CONTRIBUTING.md](./CONTRIBUTING.md).
---
diff --git a/frontend/app/components/Node/Document/Header.vue b/frontend/app/components/Node/Document/Header.vue
index cadc36e2..59809fe5 100644
--- a/frontend/app/components/Node/Document/Header.vue
+++ b/frontend/app/components/Node/Document/Header.vue
@@ -49,7 +49,7 @@ const { getAppAccent } = useAppColors();
const user = ref<PublicUser | null>(null);
-const category = computed(() => nodesTree.getClosestCategoryAncestor(props.doc?.parent_id)?.data);
+const category = computed(() => nodesTree.getClosestCategoryAncestor(props.doc?.id)?.data);
const printMode = preferences.get('printMode');
watchEffect(() => {
diff --git a/frontend/app/pages/dashboard/settings/_views/profile.vue b/frontend/app/pages/dashboard/settings/_views/profile.vue
index d5591c0f..59200fb8 100644
--- a/frontend/app/pages/dashboard/settings/_views/profile.vue
+++ b/frontend/app/pages/dashboard/settings/_views/profile.vue
@@ -21,7 +21,7 @@
</div>
<div class="form-group">
<label for="email">{{ t('settings.profile.email') }}</label>
- <input id="email" v-model="userStore.user.email" type="email" required />
+ <input id="email" v-model="userStore.user.email" type="email" />
</div>
<div class="form-group">
<label>{{ t('settings.profile.avatar') }}</label>
diff --git a/frontend/app/stores/user.store.ts b/frontend/app/stores/user.store.ts
index 74d43277..6d17856c 100644
--- a/frontend/app/stores/user.store.ts
+++ b/frontend/app/stores/user.store.ts
@@ -86,6 +86,7 @@ export const useUserStore = defineStore('user', {
async update(user: User) {
if (!this.user) return;
+ if (!user.email) user.email = undefined; // Ensure email is undefined if not provided to avoid sending empty string
const request = await makeRequest(`users/${user.id}`, 'PATCH', user);
if (request.status === 'success') {
if (this.user.id == user.id) this.user = request.result as User;