About Monocle
Monocle is the author's personal search engine, covering blog posts, journal entries, notes, tweets and contacts across tens of thousands of documents. The README says it is built around speed, privacy and hackability, and that it is tailored to one person's workflow, so it probably won't work for anyone else.
The search index is an inverted index generated at build time and kept on the client, so ranking happens in the browser and results appear on each keystroke. On a modern phone or laptop it searches tens of thousands of documents with minimal lag using an index a few megabytes in size. Because the index is pre-compiled, the app deploys as a static site.
It includes a hand-written English stemmer, keyword highlighting in results and previews, and a pluggable design where a small piece of Ink code ingests each data source. Ingestion, the web server and the client are all written in Ink, with the Torus UI library. A demo indexed on public data is online.
Key features
- Results update on every keystroke
- Index and ranking live in the browser
- Static deploy from a pre-built index
- Hand-written English stemming
- Keyword highlights in results and previews
- Pluggable data sources
Good fit for
- Searching personal notes and journals
- Learning how full-text search works
Monocle: questions and answers
- What is Monocle used for?
- Monocle is a personal full-text search engine, written in the Ink language, that runs in the browser against a prebuilt index. It is a good fit for searching personal notes and journals, and learning how full-text search works.
- Is Monocle open source?
- Yes. Monocle is open source under the MIT licence. Its source code is on GitHub at thesephist/monocle and is written mainly in JavaScript.
- Is Monocle free?
- Yes. Monocle is open source, so the software itself is free to use.
- Can I self-host Monocle?
- Yes. Monocle can be self-hosted on your own server or infrastructure.
- What are some alternatives to Monocle?
- Similar open-source tools in the Search category include Hister, Elasticsearch and Meilisearch. SaaS products in the same category include dtSearch, DuckDuckGo and Google Programmable Search Engine.
- Is Monocle actively maintained?
- The most recent commit to Monocle was on 6 November 2022. The project has 1.5k stars on GitHub, with 1 added in the last 30 days.
Open-source alternatives to Monocle
See all
Hister
Search
Your own search engine
AGPL-3.0★ 6.3k
Elasticsearch
Search
Free and Open Source, Distributed, RESTful Search Engine
OSSvs Algolia★ 79k
Meilisearch
Search
A lightning-fast search engine API bringing AI-powered hybrid search to your sites and app
OSSvs Algolia★ 60k
Typesense
Search
Typesense is an open-source search engine for fast, typo-tolerant site and app search, wit
GPL-3.0vs Algolia★ 27k
Manticore Search
Search
Open-source search database for full-text, vector, and hybrid search with real-time indexi
GPL-3.0vs Elastic★ 12k
Orama
Search
🌌 A complete search engine and RAG pipeline in your browser, server or edge network with
OSSvs Algolia★ 11k
SaaS alternatives to Monocle
See all
dtSearch
Search
Desktop and enterprise full-text search engine for large document sets
SaaS
DuckDuckGo
Search
Privacy-focused web search engine that does not track searches
SaaS
Google Programmable Search Engine
Search
Service for adding a custom Google-powered search box to a website
SaaS
Google Search
Search
Web search engine from Google with image, news, maps and AI answers
SaaS
Kagi
Search
Subscription search engine with no ads and per-site ranking controls
SaaS
Mojeek
Search
Independent web search engine with its own crawler and no tracking
SaaS