typesense — Installable Typo-Tolerant Search Environment
Typesense is a fast, typo-tolerant
open-source search engine — an Algolia alternative and an easier-to-use
ElasticSearch alternative. It is a **single C++ binary with no runtime
dependencies**, architected for low-latency (<50ms) instant search. This skill
is the routing-first wrapper: choose how to run the server, wire a client,
model the data, and drive search + UI + production hardening.
When to use this skill
- The user wants to stand up a search backend for a site, app, catalog,
docs, or product browsing experience
- The user asks to install/run Typesense (binary, Docker, or Typesense Cloud)
- The user wants **typo tolerance, faceting/filtering, geo-search, sorting,
grouping, synonyms, curation, scoped API keys, or federated multi-search**
- The user wants to migrate off Algolia or Elasticsearch to a self-hosted
or managed open-source engine
- The user wants an InstantSearch.js UI or a Raft HA cluster in front
of / around Typesense
When not to use this skill
- The user wants LLM trace/eval observability (hallucination, prompt
scoring) → use opik / langsmith
- The user wants token-efficient code search for agents over a repo →
use semble
- The user wants generic service dashboards / uptime alerts (non-search
telemetry) → use monitoring-observability
- The user wants a vector database purpose-built for embeddings only —
Typesense does vector + hybrid search, but a dedicated store may fit better
for pure ANN at extreme scale; confirm the workload first
Prerequisites
| Requirement | Notes |
|-------------|-------|
| Docker (recommended) | Simplest local + prod path via the official image |
| or a binary host | Linux (x86-64) / macOS binary packages from typesense.org/downloads |
| or Typesense Cloud | Zero-ops managed cluster (fixed hourly + bandwidth, not per-record) |
| An API client | Python / JS / PHP / Ruby official; Go / Dart / C# community |
| An API key | Set at server start (--api-key); generate scoped keys per tenant |
Instructions
Step 1 — Choose the server mode
| Mode | When | Entry point |
|------|------|-------------|
| Docker (recommended) | Local dev → prod, single command | docker run typesense/typesense … |
| Binary | Bare-metal / no Docker | Download from <https://typesense.org/downloads> |
| Typesense Cloud | Zero-ops managed, HA | <https://cloud.typesense.org> |
Local Docker server (pin a real version tag, set a strong key):
docker run -p 8108:8108 -v /tmp/typesense-data:/data \
typesense/typesense:27.1 --data-dir /data --api-key=CHANGE_ME_STRONG_KEY