gamosoft
NoteDiscovery
JavaScript

Your Self-Hosted Knowledge Base

Last updated Jul 9, 2026
2.6k
Stars
215
Forks
6
Issues
+23
Stars/day
Attention Score
96
Language breakdown
JavaScript 38.6%
Python 30.1%
HTML 28.7%
CSS 1.6%
PowerShell 0.7%
Dockerfile 0.3%
โ–ธ Files click to expand
README

GitHub Stars Build Latest Version License

NoteDiscovery

NoteDiscovery

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.

Editor and sidebar Full-text search Graph view of linked notes

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

Official Website    Try Live Demo

Run on PikaPods    Buy Me a Coffee at ko-fi.com


โœจ 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
  • โญ 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

MCP Compatible Works with Claude Works with Cursor

NoteDiscovery includes a built-in Model Context Protocol (MCP) server, letting AI assistants directly interact with your notes:

| What AI Can Do | Example | |----------------|---------| | ๐Ÿ” Search & Discover | "Find all my notes about Docker deployment" | | ๐Ÿ“ Create & Edit | "Create a meeting notes template for tomorrow" | | ๐Ÿ“ Organize | "Move all project notes to the archive folder" | | ๐Ÿท๏ธ Tag & Categorize | "List all notes tagged with #urgent" | | ๐Ÿ“Š Explore Connections | "Show me the knowledge graph of my notes" | | โœ๏ธ Append Ideas | "Add this thought to my daily journal" |

One-line setup for Cursor, Claude Desktop, and other MCP-compatible tools:

{
  "mcpServers": {
    "notediscovery": {
      "command": "docker",
      "args": ["run", "--rm", "-i", "-e", "NOTEDISCOVERYURL=http://host.docker.internal:8000", "ghcr.io/gamosoft/notediscovery:latest", "python", "-m", "mcpserver"]
    }
  }
}
๐Ÿ’ก See MCP.md for complete setup instructions and all available tools.
>
๐Ÿงช Want a fully local setup with a bundled LLM? OLLAMA-STACK.md spins up NoteDiscovery + Ollama + Open WebUI with one command.

๐Ÿ“บ Watch the tour

Watch a short tour

โ–ถ Small walkthrough โ€” sharing, favorites, search, backlinks, and more

๐Ÿš€ Quick Start

Quick Setup

Linux/macOS:

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):

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 | | docker-compose.ollama-stack.yml | Bundled local AI stack (NoteDiscovery + Ollama + Open WebUI) โ€” see OLLAMA-STACK.md |

Option 1: Pre-built image (fastest)

Linux/macOS:

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):

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)

git clone https://github.com/gamosoft/notediscovery.git cd notediscovery docker-compose up -d

See Advanced Docker Setup for volume details.

Running Locally (Without Docker)

For development or if you prefer running directly:

# 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, which prevents system-wide pip installs. Use a virtual environment instead:

# 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:

  • Map the volume in your docker-compose or docker run command
  • 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

NoteDiscovery Icon

An official icon for NoteDiscovery is now available on Dashboard Icons! Use it in your self-hosted dashboards like Homepage, Homarr, Dashy, Heimdall, etc...

๐Ÿ“š Documentation

Want to learn more?

  • ๐ŸŽจ THEMES.md - Theme customization and creating custom themes
  • โœจ FEATURES.md - Complete feature list and keyboard shortcuts
  • โœ๏ธ DRAWING.md - Built-in drawing editor (drawing-*.png), save behavior, and API notes
  • ๐Ÿท๏ธ TAGS.md - Organize notes with tags and combined filtering
  • ๐Ÿ“‹ TEMPLATES.md - Create notes from reusable templates with dynamic placeholders
  • ๐Ÿงฎ MATHJAX.md - LaTeX/Math notation examples and syntax reference
  • ๐Ÿ“Š MERMAID.md - Diagram creation with Mermaid (flowcharts, sequence diagrams, and more)
  • ๐Ÿ”Œ PLUGINS.md - Plugin system and available plugins
  • ๐ŸŒ API.md - REST API documentation and examples
  • ๐Ÿค– MCP.md - AI assistant integration (Claude, Cursor, and more)
  • ๐Ÿ” AUTHENTICATION.md - Enable password protection for your instance
  • ๐Ÿ”ง ENVIRONMENT_VARIABLES.md - Configure settings via environment variables

๐ŸŒ Multiple Languages

NoteDiscovery supports multiple interface languages via JSON locale files in locales/. Open Settings (gear icon) โ†’ Language to choose one; the list reflects whatever locales are installed (bundled files, mounts, or your own additions).

To add your own language: See the Contributing Guidelines for instructions on creating translation files.

Docker users: Mount your custom locales folder to add or override translations:

volumes:
  - ./locales:/app/locales  # Custom translations

๐Ÿ’ก Pro Tip: If you clone this repository, you can mount the documentation/ folder to view these docs inside the app:

# In your docker-compose.yml
volumes:
  - ./data:/app/data              # Your personal notes
  - ./documentation:/app/data/docs:ro  # Mount docs subfolder inside the data folder (read-only)

Then access them at http://localhost:8000 - the docs will appear as a docs/ folder in the file browser!

๐Ÿค Contributing

Before submitting a pull request, especially for major changes, please:

  • Read our Contributing Guidelines
  • Open an issue first to discuss major features or significant changes
  • Ensure your code follows the project's style and philosophy

๐Ÿ”’ Security Considerations

NoteDiscovery is designed for self-hosted, private use. Please keep these security considerations in mind:

Network Security

  • โš ๏ธ Do NOT expose directly to the internet without additional security measures
  • Run behind a reverse proxy (nginx, Caddy) with HTTPS for production use
  • Keep it on your local network or use a VPN for remote access
  • By default, the app listens on 0.0.0.0:8000 (all network interfaces)

Authentication

  • Password protection is DISABLED by default (default password: admin)
  • โš ๏ธ ENABLE AUTHENTICATION AND CHANGE THE DEFAULT PASSWORD if exposing to a network!
  • See AUTHENTICATION.md for complete setup instructions
  • To disable auth, set authentication.enabled: false in config.yaml
  • Perfect for single-user or small team deployments
  • For multi-user setups, consider a reverse proxy with OAuth/SSO

Data Privacy

  • Your notes are stored as plain text markdown files in the data/ folder
  • No data is sent to external services
  • Regular backups are recommended

Best Practices

  • Run on localhost or a private network only
  • Use Docker for isolation and easier security management
  • Keep your system and dependencies updated
  • Review and audit any plugins you install
  • Set appropriate file permissions on the data/ directory
TL;DR: Perfect for personal use on your local machine or home network. Enable built-in password protection if needed, or use a reverse proxy with authentication if exposing to wider networks.

๐Ÿ“„ License

MIT License - Free to use, modify, and distribute.


Made with โค๏ธ for the self-hosting community

๐Ÿ”— More in this category

ยฉ 2026 GitRepoTrend ยท gamosoft/NoteDiscovery ยท Updated daily from GitHub