Home/Search/Typesense
Search & Indexing
TS

Typesense

TypeScriptOpen SourceFull-text SearchSelf-host

Fast, typo-tolerant open-source search engine — self-host or use Typesense Cloud, with an Algolia-compatible API and near-instant indexing.

License

GPL 3.0

Language

TypeScript

Used for
80
Trust
Strong

Why Typesense?

Algolia alternative that you can self-host to avoid per-query costs

Apps needing real-time search with very low latency (written in C++)

Teams who want Algolia-like features but with open-source flexibility

Signal Breakdown

What drives the Trust Score

npm downloads
200k / wk
Commits (90d)
120 commits
GitHub stars
21k ★
Stack Overflow
400 q's
Community
Growing
Weighted Trust Score80 / 100

Download Trend

Last 12 months

Tradeoffs & Caveats

Know before you commit

Complex relevance tuning needs — Elasticsearch has more advanced ranking control

You need managed search without any infra — use Algolia

Pricing

Free tier & paid plans

Free tier

Open source self-host free

Paid

Typesense Cloud from $0.001 per search request

Alternative Tools

Other options worth considering

algolia
Algolia86Strong

Hosted search-as-a-service with instant typo-tolerant search, AI re-ranking, and drop-in React/Vue UI components.

meilisearch
Meilisearch82Strong

Lightning-fast open-source search engine written in Rust — instant-as-you-type search, faceting, and geosearch with a delightfully simple API.

elasticsearch
Elasticsearch98Excellent

The leading distributed search and analytics engine. Elasticsearch powers full-text search, log aggregation (ELK stack), and complex analytics queries at scale. Powerful but operationally complex to self-host.

Often Used Together

Complementary tools that pair well with Typesense

nextjs

Next.js

Frontend & UI

98Excellent
View
algolia

Algolia

Search & Indexing

86Strong
View

Learning Resources

Docs, videos, tutorials, and courses

Get Started

Repository and installation options

View on GitHub

github.com/typesense/typesense

npmnpm install typesense
pippip install typesense

Quick Start

Copy and adapt to get going fast

import TypesenseInstantSearchAdapter from 'typesense-instantsearch-adapter';
import Typesense from 'typesense';

const client = new Typesense.Client({
  nodes: [{ host: 'localhost', port: 8108, protocol: 'http' }],
  apiKey: 'xyz',
});

await client.collections('products').documents().create({
  id: '1', name: 'Blue Widget', price: 9.99,
});

Community Notes

Real experiences from developers who've used this tool