Stork Is Full Text Search for Static Websites

Stork Search is a full text search engine written in Rust that compiles to WebAssembly. That makes it compatible with static websites like notes.alexkehayias.com. The file size is relatively small (less than 1MB) for an index with hundreds of notes and the search results are fast.

I added search for my public notes here.

I’ve now written 1,000 notes since May 25, 2020 in my Zettelkasten. You can see my reflections on writing 500 notes and here are my thoughts since then.

The SQLite database can be compiled to webassembly and served using static website hosting. SQLite stores data using files so you can avoid downloading the whole thing by making clever use of HTTP range requests which accept a certain byte range as a 204 partial request. That means you can query large datasets and query it with kilobytes of overhead.