Skip to content

showcase-books-search

Demo app showing typo-tolerant book search on 28 million OpenLibrary records with

Permissive (OSI) · Apache-2.0

Listed by , founder & editor

22

Health

Dormant

Overview

Stars

180

Last commit

2 years ago

Feb 2025

Repository age

5 years

since Dec 2020

Latest version

–

Contributors

–

Releases

0

last 12 months

Docker pulls

35M

typesense/typesense

Language

JavaScript

This repository is a demo of Typesense search. It searches a dataset of about 28 million books from OpenLibrary through a browser interface built with InstantSearch.js and the Typesense adapter for it.

The repo holds the frontend in the src folder and indexer scripts that extract authors, transform the dataset and import it into Typesense. A 1,000-record sample ships in the repo, and you can download the full dataset. Indexing the full set takes around three hours, uses 6.8 GB on disk and 14.3 GB of RAM. The indexer uses Ruby for faster JSON parsing.

It is Apache-2.0 licensed and written in JavaScript. The live version runs on S3 with CloudFront, backed by a three-node Typesense Cluster. Typesense itself is positioned as an alternative to Algolia and ElasticSearch. Use this repo as a reference for building your own search page, not as a product. Maintenance is dormant, with the last commit in February 2025.

Who it's for

Developers evaluating Typesense as an Algolia replacement

It shows a working InstantSearch.js frontend against a large dataset.

Skip if: You need a packaged search product rather than example code.

Engineers planning capacity for a large index

It gives concrete disk, RAM and indexing time figures for 28 million records.

Skip if: Your dataset is small and sizing is not a concern.

The problem it solves

Before moving search to a new engine, you want to see how it behaves with a big dataset and a real frontend. This demo gives you working code and sizing figures to start from.

Strengths

  • Works against about 28 million real book records
  • Includes indexer scripts and a 1,000-record sample
  • Uses the Typesense adapter for InstantSearch.js
  • Apache-2.0 license

Trade-offs

  • A showcase demo, not a reusable search product
  • Full indexing needs about 14.3 GB of RAM and three hours
  • Indexing needs both Node and Ruby tooling
  • Dormant, with the last commit in February 2025

Self-host showcase-books-search

Self-hostable
Yes
Docker image
typesense/typesense
Docker Compose
The repository ships a Compose file

Quick start

yarn run typesenseServer

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is it free to use?

Yes. It is licensed Apache-2.0.

Can I run it locally?

Yes. Install with yarn and bundle, start the local Typesense server, index the sample data, then run yarn start and open port 3000.

How much memory does the full dataset need?

Indexed in Typesense, the roughly 28 million records take 14.3 GB of RAM and 6.8 GB on disk.

Where does the data come from?

From OpenLibrary, run by the Internet Archive.

Similar tools in Site search engines

Apache Solr

Site search engines

Lucene-based search platform for teams replacing Elasticsearch, with SolrCloud clustering

1.7k 876 today Active Apache-2.0

Fess

Site search engines

Self-hosted enterprise search server with a built-in crawler and admin UI

1.2k 178 yesterday Active Apache-2.0

Toshi

Site search engines

Rust full-text search engine modeled on Elasticsearch, built on Tantivy

4.3k 135 3 years ago Dormant MIT

Yacy

Site search engines

Self-hosted, peer-to-peer search engine with its own crawler, for the web or an intranet

4.1k 500 20 days ago Slowing GPL-2.0

degoog

Site search engines

2.6k 117 2 days ago Thriving AGPL-3.0

SeekStorm

Site search engines

1.9k 75 today Thriving Apache-2.0