portable-hnsw

What if an HNSW index was just a file, and you could serve it from a CDN, and search it directly in the browser? (by jasonjmcghee)

Portable-hnsw Alternatives

Similar projects and alternatives to portable-hnsw

  1. transformers.js

    State-of-the-art Machine Learning for the web. Run πŸ€— Transformers directly in your browser, with no need for a server!

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. USearch

    Fast Open-Source Search & Clustering engine Γ— for Vectors & Arbitrary Objects Γ— in C++, C, Python, JavaScript, Rust, Java, Objective-C, Swift, C#, GoLang, and Wolfram πŸ”

  4. sqlite-vec

    A vector search SQLite extension that runs anywhere!

  5. cozo

    A transactional, relational-graph-vector database that uses Datalog for query. The hippocampus for AI!

  6. sqlite-plus

    The ultimate set of SQLite extensions

  7. awesome-polars

    A curated list of Polars talks, tools, examples & articles. Contributions welcome !

  8. graphrag

    A modular graph-based Retrieval-Augmented Generation (RAG) system

  9. sqlite-vss

    A SQLite extension for efficient vector search, based on Faiss!

  10. lancedb

    Developer-friendly OSS embedded retrieval library for multimodal AI. Search More; Manage Less.

  11. SpinStep

    A quaternion-driven traversal framework for trees and orientation-based data structures.

  12. agentcloud

    Discontinued Agent Cloud is like having your own GPT builder with a bunch extra goodies. The GUI features 1) RAG pipeline which can natively embed 260+ datasources 2) Create Conversational apps (like GPTs) 3) Create Multi Agent process automation apps (crewai) 4) Tools 5) Teams+user permissions. Get started fast with Docker and our install.sh

  13. cuml

    11 portable-hnsw VS cuml

    cuML - RAPIDS Machine Learning Library

  14. tg

    Geometry library for C - Fast point-in-polygon (by tidwall)

  15. mtg-embeddings

    2 portable-hnsw VS mtg-embeddings

    Code used to create text embeddings of all Magic: The Gathering cards.

  16. dwata

    AI enabled insights from emails, calendars, contacts, files, Slack, databases, web... Fast, private and local. Launching soon!

  17. sqlite-ecosystem

    An overview of all my SQLite extensions, and a roadmap for future extensions and tooling!

  18. rss-aggregator-using-cohere-embeddings-bedrock

    A sample rss aggregator application demonstrating the use of Cohere Embeddings

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better portable-hnsw alternative or higher similarity.

portable-hnsw discussion

Log in or Post with

portable-hnsw reviews and mentions

Posts with mentions or reviews of portable-hnsw. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-07-06.
  • Ternlight – 7 MB embedding model that runs in browser (WASM)
    4 projects | news.ycombinator.com | 6 Jul 2026
    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 statically hosted parquet files.

    I think things like this could bloom into a relatively open and distributed search ecosystem that isn’t controlled by major corporations.

  • Embeddings Are Underrated
    8 projects | news.ycombinator.com | 12 May 2025
    Another very cool attribute of embeddings and embedding search is that they are resource cheap enough that you can perform them client side.

    ONNX models can be loaded and executed with transformer.js https://github.com/huggingface/transformers.js/

    You can even build and statically host indices like hnsw for embeddings.

    I put together a little open source demo for this here https://jasonjmcghee.github.io/portable-hnsw/

    Long story short, represent indices as queryable parquet files and use duckdb to query them.

    Depending on how you host, it's either free or nearly free. I used Github Pages so it's free. R2 with cloudflare would only cost the size what you store (very cheap- no egress fees).

  • The Best Way to Use Text Embeddings Portably Is with Parquet and Polars
    4 projects | news.ycombinator.com | 24 Feb 2025
    I thought about this some more and did some research - and 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 the resources to run an expensive vector database

  • I'm writing a new vector search SQLite Extension
    13 projects | news.ycombinator.com | 2 May 2024
    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 the CDN).

  • Show HN: HNSW-Based Search, in the Browser
    1 project | news.ycombinator.com | 3 Dec 2023
    Had so much fun making this.

    So, I had a crazy idea.

    What if you could search a vector store, in the browser, without a server?

    As in, natural language search directly in the browser.

    And what if you didn't need to load the entire thing in memory, so you could search a massive index 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

  • A note from our sponsor - SaaSHub
    www.saashub.com | 11 Jul 2026
    SaaSHub helps you find the best software and product alternatives Learn more β†’

Stats

Basic portable-hnsw repo stats
5
111
0.0
over 1 year ago

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com