Skip to content
demigodmodePublic

Latest commit

 

History

952 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OneSearch logo

Logo by Briefreelancing.

OneSearch

Search your homelab like you search the web.

Latest release GitHub stars Docker pulls CLI on PyPI Backend tests Frontend tests Documentation License

OneSearch indexes your local directories, NAS shares, and external drives and gives you instant full-text search from a browser. It runs in Docker on your own hardware and doesn't send anything to the cloud.

OneSearch-demo.mp4

Why OneSearch

  • It searches the text inside your files, not only their names: PDFs, Word, Excel and PowerPoint, EPUBs, Markdown, code and config files.
  • Photos and media are searchable by metadata. Find shots by camera, lens, ISO or date taken, and music or video by artist, album or codec.
  • Your files stay where they are. OneSearch reads them and keeps its own index; it never moves, renames or uploads anything.
  • An optional agent indexes other machines, so you don't have to mount their folders on the server.
  • Meilisearch runs inside the same container, so the default install is a single container. Each source can have its own scan schedule, and there's a CLI if you'd rather search from a terminal.

How it compares

Paperless-ngx is a document manager. It imports your documents, OCRs them and files them in its own library. OneSearch leaves files where they are and doesn't do OCR, so for scanned paper Paperless is still the better tool. The two work fine side by side.

Everything finds files by name on Windows, and it's very fast at it. OneSearch searches what's inside the files, from any browser.

Recoll is a good desktop full-text search app. OneSearch is meant to run on a server: one container, a web UI with logins, per-source scan schedules and agents for other machines.


Quick Start

mkdir onesearch && cd onesearch
curl -O https://raw.githubusercontent.com/demigodmode/OneSearch/main/docker-compose.yml
curl -O https://raw.githubusercontent.com/demigodmode/OneSearch/main/.env.example
cp .env.example .env

Edit .env and set MEILI_MASTER_KEY and SESSION_SECRET to two different random strings (openssl rand -base64 32 works).

docker compose up -d

Open http://localhost:8000, run through the setup wizard, add a directory as a source, and start searching.

Upgrading an existing install? See the upgrade notes.

Full setup guide: onesearch.readthedocs.io


What it indexes

PDFs, Office docs, ebooks and comics, RAW photos, audio and video metadata, subtitles, Markdown, code, config and plain text.

All supported formats
Type Formats
Documents PDF, Word (.docx), Excel (.xlsx), PowerPoint (.pptx), RTF
Ebooks & comics EPUB, CBZ comic archives
Images & RAW photos JPG, PNG, WebP, GIF, TIFF, CR2, CR3, NEF, ARW, RAF, ORF, RW2, DNG
Media metadata MP4, MKV, MOV, AVI, MP3, FLAC, M4A, OGG, WAV
Subtitles SRT, WebVTT, ASS/SSA
Markdown .md, .markdown
Code .py, .js, .ts, .go, .rs, .java, .c, .cpp, .sh, .sql, and more
Config .yaml, .toml, .json, .xml, .ini, .env, and more
Text .txt, .log

Incremental indexing so only changed files get reindexed. Each source can scan on its own interval or cron schedule, or follow one global default, so your NAS gets scanned daily without thinking about it.

Remote sources

Optional remote agents can index files on another machine without mounting its directories on the OneSearch server. Local read-only NFS, SMB, bind, and ZFS mounts remain the default and need no agent. See the remote-agent guide.


Screenshots

Search RAW photo metadata Source health and indexing status
Photo metadata Admin status

Documentation

onesearch.readthedocs.io


Development

git clone https://github.com/demigodmode/OneSearch.git
cd OneSearch

See the Development Guide for setup instructions.


License

AGPL-3.0. Free to use, modify, and distribute. If you deploy a modified version as a network service, source must be made available.


Support

Releases

Packages

Used by

Contributors

Languages