Your Self-Hosted Knowledge Base
## What is NoteDiscovery? NoteDiscovery is a **lightweight, self-hosted note-taking application** that puts you in complete control of your knowledge base. Write, organize, and discover your notes with a beautiful, modern interfaceโall running on your own server.
Write ยท Find ยท Discover
## ๐ฏ Who is it for? - **Privacy-conscious users** who want complete control over their data - **Developers** who prefer markdown and local file storage - **Knowledge workers** building a personal wiki or second brain - **Teams** looking for a self-hosted alternative to commercial apps - **Anyone** who values simplicity, speed, and ownership --- --- ## โจ Why NoteDiscovery? ### vs. Commercial Apps (Notion, Evernote, Obsidian Sync) | Feature | NoteDiscovery | Commercial Apps | |---------|---------------|-----------------| | **Cost** | 100% Free | $xxx/month/year | | **Privacy** | Your server, your data | Their servers, their terms | | **Speed** | Lightning fast | Depends on internet | | **Offline** | Always works | Limited or requires sync | | **Customization** | Full control | Limited options | | **No Lock-in** | Plain markdown files | Proprietary formats | ### Key Benefits - ๐ **Total Privacy** - Your notes never leave your server - ๐ **Optional Authentication** - Simple password protection for self-hosted deployments - ๐ฐ **Zero Cost** - No subscriptions, no hidden fees - ๐ **Fast & Lightweight** - Instant search and navigation - ๐จ **Beautiful Themes** - Multiple themes, easy to customize - ๐ **Extensible** - Plugin system for custom features - ๐ฑ **Responsive** - Works on desktop, tablet, and mobile - ๐ **Simple Storage** - Plain markdown files in folders - ๐งฎ **Math Support** - LaTeX/MathJax for beautiful equations - ๐ **HTML Export & Print** - Export notes as standalone HTML or print - ๐ธ๏ธ **Graph View** - Interactive visualization of connected notes - โ๏ธ **Drawing editor** - In-app sketches as `drawing-*.png` next to your notes โ see [documentation/DRAWING.md](documentation/DRAWING.md) - โญ **Favorites** - Star your most-used notes for instant access - ๐ **Outline Panel** - Navigate headings with click-to-jump TOC - ๐ค **AI Assistant Ready** - MCP integration for Claude, Cursor & more ## ๐ค AI-Powered Note Management
โถ Small walkthrough โ sharing, favorites, search, backlinks, and more
## ๐ Quick Start ### Quick Setup **Linux/macOS:** ```bash mkdir -p notediscovery/data && cd notediscovery docker run -d --name notediscovery -p 8000:8000 \ -v $(pwd)/data:/app/data \ ghcr.io/gamosoft/notediscovery:latest ``` **Windows (PowerShell):** ```powershell mkdir notediscovery\data; cd notediscovery docker run -d --name notediscovery -p 8000:8000 ` -v ${PWD}/data:/app/data ` ghcr.io/gamosoft/notediscovery:latest ``` Open **http://localhost:8000** โ done! ๐ > ๐ก Your notes are saved in `./data/`. Themes, plugins, locales and default configuration values are included in the image. ### Using Docker Compose Two docker-compose files are provided: | File | Use Case | |------|----------| | `docker-compose.ghcr.yml` | **Recommended** - Uses pre-built image from GitHub Container Registry | | `docker-compose.yml` | For development - Builds from local source | **Option 1: Pre-built image (fastest)** Linux/macOS: ```bash mkdir -p notediscovery/data && cd notediscovery curl -O https://raw.githubusercontent.com/gamosoft/notediscovery/main/docker-compose.ghcr.yml docker-compose -f docker-compose.ghcr.yml up -d ``` Windows (PowerShell): ```powershell mkdir notediscovery\data; cd notediscovery Invoke-WebRequest -Uri https://raw.githubusercontent.com/gamosoft/notediscovery/main/docker-compose.ghcr.yml -OutFile docker-compose.ghcr.yml docker-compose -f docker-compose.ghcr.yml up -d ``` **Option 2: Build from source (for development)** ```bash git clone https://github.com/gamosoft/notediscovery.git cd notediscovery docker-compose up -d ``` See [Advanced Docker Setup](#advanced-docker-setup) for volume details. ### Running Locally (Without Docker) For development or if you prefer running directly: ```bash # Clone the repository git clone https://github.com/gamosoft/notediscovery.git cd notediscovery # Install dependencies pip install -r requirements.txt # Run the application python run.py # Access at http://localhost:8000 ``` **Requirements:** - Python 3.8 or higher - pip (Python package manager) #### Using Virtual Environments (Recommended for Arch/Fedora/Ubuntu 23.04+) Modern Linux distributions enforce [PEP 668](https://peps.python.org/pep-0668/), which prevents system-wide pip installs. Use a virtual environment instead: ```bash # Clone the repository git clone https://github.com/gamosoft/notediscovery.git cd notediscovery # Create a virtual environment python -m venv venv # Activate it (choose your shell): source venv/bin/activate # Bash/Zsh (most Linux distros) source venv/bin/activate.fish # Fish (CachyOS, etc.) source venv/bin/activate.csh # Csh/Tcsh .\venv\Scripts\activate # Windows PowerShell # Install dependencies and run pip install -r requirements.txt python run.py ``` > โ ๏ธ **Warning** > > *You'll need to activate the virtual environment (source venv/bin/activate) each time you open a new terminal before running the app* ### Advanced Docker Setup The image includes bundled config, themes, plugins, and locales. To customize, you must: 1. **Map the volume** in your docker-compose or docker run command 2. **Provide content** - the file/folder must exist with valid content (empty = app might break!) | Volume | Purpose | Bundled? | |--------|---------|----------| | `data/` | Your notes | โ You must create | | `config.yaml` | App settings | โ Yes | | `themes/` | Custom themes | โ Yes | | `plugins/` | Custom plugins | โ Yes | | `locales/` | Translations | โ Yes | ### Dashboard Integration