tinysearch
pagefind
tinysearch | pagefind | |
---|---|---|
6 | 26 | |
2,658 | 3,010 | |
3.1% | 4.1% | |
6.7 | 9.2 | |
7 months ago | 15 days ago | |
Rust | Rust | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tinysearch
-
Adding search to static websites
When getting into performance territory you might want to work on the performance of the index, there are multiple options, you could implement fuse filters or Bloom Filters or XOR Filters like the ones suggested in the blog post. If you want to go for a further performance bump, server side is your best bet.
-
Ask HN: What's the best way to add search to my website?
If your content is mostly static, you might want to consider pre-building an index and shipping it as a whole. You could look into something like
* https://stork-search.net/ (Rust/WASM)
* tinysearch: https://github.com/tinysearch/tinysearch (Rust/WASM)
* https://lunrjs.com/ (JS, simple, stable)
* http://elasticlunr.com/ - based on the former, slightly more sophisticated tuning options
-
Weโre the Meilisearch team! To celebrate v1.0 of our open-source search engine, Ask us Anything!
500kB sounds, like could be just shipped to the client lazily? https://github.com/tinysearch/tinysearch
- A tiny static full-text search engine using Rust and WebAssembly (2019)
- tinysearch
-
Everything I Know โ Wiki
Checkout https://github.com/mre/tinysearch
pagefind
-
๐Underrated Open Source Projects You Should Know About ๐ง
Pagefind is a static search library that aims to perform well on small or large sites, while using as little bandwidth as possible, and you don't have to host any infrastructure.
- Pagefind โ Static low-bandwidth search at scale
- Ask HN: What Underrated Open Source Project Deserves More Recognition?
- Pagefind is a low bandwidth static search library
-
Lightweight, portable and secure Wasm runtimes and their use cases.
In theory, if we ran lower level code, we would be using less resources. That's more than a theory. Go to this video where I demonstrate Pagefind, written in Rust and compiled to Wasm as target, as a static app that ingests and indexes HTML documents and runs super efficient search queries, all client-side.
- Pagefind v1.0.0 โ Stable static search at scale
-
Free Open-Source Blog Template for Developers โ๏ธ๐
โ Pagefind static search library integration
- Pagefind is a fully static search library
-
How to Start Your Blog in 2023
I use Astro SSG and Cloudflare Pages. I use https://github.com/cloudcannon/pagefind for search on my Astro setup. You can test the search functionality here https://tinyrocket.pages.dev/.
From its repo: "Pagefind runs after any static site generator and automatically indexes the built static files. Pagefind then outputs a static search bundle to your website, and exposes a JavaScript search API that can be used anywhere on your site."
Pagefind is cool!
-
Weโre the Meilisearch team! To celebrate v1.0 of our open-source search engine, Ask us Anything!
An option there is https://pagefind.app/ โ not as fast as a persistent server but solves some of the deployment and bandwidth issues.
What are some alternatives?
knowledge - Everything I know
pagebreak - ๐ Open-source CLI tool for implementing pagination on any static website.
alfred-my-mind - Alfred workflow to search through my notes and bookmarks
charabia - Library used by Meilisearch to tokenize queries and documents
reqwasm - HTTP requests library for WASM Apps
db-benchmarks - Fair database benchmarks framework and datasets
wiki - some useful information
rosey - :rose: Open-source CLI tool for managing translations on static websites.
MeiliSearch - A lightning-fast search API that fits effortlessly into your apps, websites, and workflow
vespa - AI + Data, online. https://vespa.ai
elasticlunr-rs - A partial port of elasticlunr to Rust. Intended to be used for generating compatible search indices.
bookshop - ๐ A component development workflow for static websites.