jasonjmcghee/portable-hnsw
View on GitHub ↗ ★ 122 HTML
What if an HNSW index was just a file, and you could serve it from a CDN, and search it directly in the browser?
6 mentions on Hacker News by 3 people: 0 stories, 6 comments · first 2023-12-03 · latest 2026-07-07
20082026
-
This would be a pretty cool addition to the duckdb HNSW search project I found on here some time ago: https://github.com/jasonjmcghee/portable-hnsw What I think is really cool is that the search happens using http range queries across…
comment by kamranjon · 2026-07-07 · in Ternlight – 7 MB embedding model that runs in browser (WASM) -
…free (or wildly cheap) to host, as you serve it directly from a CDN and processing is done locally. https://github.com/jasonjmcghee/portable-hnsw
comment by jasonjmcghee · 2025-04-08 · in Show HN: HNSW index for vector embeddings in approx 500 LOC -
…found an indexing approach using HNSW, serialized to parquet, and queried from the browser here: https://github.com/jasonjmcghee/portable-hnsw Opens up efficient query patterns for larger datasets for RAG projects where you may not have…
comment by jt_b · 2025-02-25 · in The best way to use text embeddings portably is with Parquet and Polars -
This is exciting! This could really simplify a little CDN-based HNSW project I did ( https://github.com/jasonjmcghee/portable-hnsw ) Seems like with duckdb vss you could just embed, store as duckdb format, then execute sql against it (in…
comment by jasonjmcghee · 2024-05-03 · in I’m writing a new vector search SQLite Extension -
…service, I want it to be in a CDN. Took a crack at building “vector-store-in-a-cdn” last weekend. https://github.com/jasonjmcghee/portable-hnsw
comment by jasonjmcghee · 2023-12-09 · in Show HN: My related-posts finder script (with LLM and GPT4 enhancement) -
…without using a bunch of ram? Anyway, I hope others enjoy it. All the code is open source here: https://github.com/jasonjmcghee/portable-hnsw
comment by jasonjmcghee · 2023-12-03 · in Show HN: HNSW-Based Search, in the Browser