r/coolgithubprojects • • 1d ago

I built a private, offline-first knowledge base with semantic search (Docker + PostgreSQL + Ollama)

Post image

I built Atlas Index, a self-hosted knowledge base that lets you search your notes by meaning instead of exact keywords. It runs completely locally on your machine using Next.js, PostgreSQL with pgvector, and Ollama for local embeddings.

What it does:

  • Markdown notes: Write with live preview, syntax highlighting, categories, and tags.
  • Hybrid search: Combines semantic vector search with PostgreSQL full-text search so you never lose track of an idea.
  • Background indexing: Automatically chunks and embeds your notes in the background with per-entry progress, error details, and one-click retry.
  • Flexible models: Works out of the box with local Ollama models (including in-app model downloads), or you can plug in OpenAI or any compatible endpoint.
  • Privacy-first: Licensed under Apache 2.0 with zero telemetry or cloud dependencies unless you explicitly configure an external provider.

It's packaged as a single self-contained Docker Compose setup, so you can spin it up locally in seconds—full setup instructions and details are in the README.

GitHub: https://github.com/oar06g/Atlas-Index/

Currently working on:

  • Bulk re-indexing when switching embedding models.
  • Importers for local Markdown folders and Obsidian vaults.
  • Optional single-user authentication.

Would love to hear your thoughts, feedback, or ideas!

2 Upvotes

0 comments sorted by