An adapter that brings lightning-fast, typo-tolerant search powered by Typesense to your Fumadocs site.
Install dependencies:
npm install typesense typesense-fumadocs-adapterThen, follow the integration guide in the official Fumadocs documentation.
Refer to this Search UI guide to integrate Typesense with the Fumadocs UI components.
Typesense is an open-source, lightning-fast search engine that delivers instant, typo-tolerant results with minimal setup. It's an open source alternative to Algolia and an easier-to-use alternative to ElasticSearch.
Fumadocs is a React.js documentation framework that lets you build fast, MDX-powered docs sites.
Together, Typesense and Fumadocs provide a seamless way to add powerful, blazingly-fast search to modern documentation websites.
This repository uses Bun for package management and tests, and Docker for the integration test with Typesense server.
Install dependencies:
bun installThe docs app is part of the root Bun workspace and consumes the local adapter through workspace:*; it does not need a separate install.
Start Typesense using the repository's development configuration:
docker compose up -d typesense
curl http://localhost:8108/healthRun the integration suite:
bun run test:integrationThe integration command first builds the Fumadocs app in ./docs to produce its real search-index JSON then synced to Typesense. Test collections and aliases use a unique prefix and are removed after the suite.
The integration suite defaults to http://localhost:8108. Set TYPESENSE_URL and TYPESENSE_API_KEY to test against a different server.
Build the adapter package:
bun run plugin-buildRun the documentation site locally:
bun run docs-devLicensed under the Apache 2.0 License, Copyright © Typesense.
See LICENSE for more information.