{"slug": "sql-js-httpvfs", "name": "sql.js-httpvfs", "category": "databases", "category_name": "Databases", "description": "", "recommenders": 3, "commenters": 4, "warners": 0, "score": 2.753, "rising": -0.98, "first": "2025-12-21", "latest": "2026-07-23", "why": "if performance becomes a problem statically hosting sqlite DBs with client side queries and http range requests is an interesting approach", "why_is_quote": true, "has_verdict": false, "sentiment": {"recommend": 3, "neutral": 0, "compare": 1, "warn": 0}, "spark": [0, 1, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0], "listed": true, "loved": [], "caveat": "", "short_quote": "if performance becomes a problem statically hosting sqlite DBs with client side queries and http range requests is an interesting approach", "kind": "", "icon": true, "domain": null, "github_repo": "github.com/phiresky/sql.js-httpvfs", "official_url": "https://github.com/phiresky/sql.js-httpvfs", "pricing": "", "aliases": ["sql.js-httpvfs"], "verdict": null, "praise": [{"label": "", "summary": "", "quotes": [{"id": 784466160, "item_id": 49029135, "url": "https://news.ycombinator.com/item?id=49029135", "by": "tekne", "date": "2026-07-23", "stance": "recommend", "quote": "There is also the deep magic...", "excerpt": "There is also the deep magic... https://github.com/phiresky/sql.js-httpvfs", "context": "", "use_case": "query SQLite over HTTP", "switched_from": "", "story": "What just happened to TheNumbers.com should worry us all"}, {"id": 743263424, "item_id": 46453964, "url": "https://news.ycombinator.com/item?id=46453964", "by": "kiney", "date": "2026-01-01", "stance": "recommend", "quote": "if performance becomes a problem statically hosting sqlite DBs with client side queries and http range requests is an interesting approach", "excerpt": "if performance becomes a problem statically hosting sqlite DBs with client side queries and http range requests is an interesting approach: https://github.com/phiresky/sql.js-httpvfs", "context": "", "use_case": "Static SQLite via HTTP range requests", "switched_from": "", "story": "Show HN: Use Claude Code to Query 600 GB Indexes over Hacker News, ArXiv, etc."}, {"id": 742990993, "item_id": 46436937, "url": "https://news.ycombinator.com/item?id=46436937", "by": "simonw", "date": "2025-12-30", "stance": "recommend", "quote": "It's reminiscent of that brilliant SQLite.js VFS trick from a few years ago", "excerpt": "Don't miss how this works. It's not a server-side application - this code runs entirely in your browser using SQLite compiled to WASM, but rather than fetching a full 22GB database it instead uses a clever hack that retrieves just \"shards\" of the SQLite database needed for the page you are viewing. I watched it in the browser network panel and saw it fetch: https://hackerbook.dosaygo.com/static-shards/shard_1636.sqli", "context": "", "use_case": "HTTP range-request SQLite VFS", "switched_from": "", "story": "Show HN: Hacker Book \u2013 All the HN Belong to You 2006 \u2013 2025"}]}], "caveats": [], "who": [], "tags": [], "use_cases": ["query sqlite over http", "static sqlite via http range requests", "http range-request sqlite vfs"], "compared": [{"slug": "sqlite", "name": "SQLite", "co": 2, "switched_from": 0, "switched_to": 0}], "makers": [], "threads": [{"url": "https://news.ycombinator.com/item?id=49024691", "title": "What just happened to TheNumbers.com should worry us all", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=46442245", "title": "Show HN: Use Claude Code to Query 600 GB Indexes over Hacker News, ArXiv, etc.", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=46435308", "title": "Show HN: Hacker Book \u2013 All the HN Belong to You 2006 \u2013 2025", "mentions": 1}, {"url": "https://news.ycombinator.com/item?id=46240103", "title": "Show HN: Search the lyrics of 500 H\u00d6R Berlin techno sets", "mentions": 1}], "sentiment_by_month": {"2025-11": {}, "2025-12": {"compare": 1, "recommend": 1}, "2026-01": {"recommend": 1}, "2026-02": {}, "2026-03": {}, "2026-04": {}, "2026-05": {}, "2026-06": {}, "2026-07": {"recommend": 1}, "2026-08": {}, "2026-09": {}, "2026-10": {}}, "quotes": [{"id": 784466160, "item_id": 49029135, "url": "https://news.ycombinator.com/item?id=49029135", "by": "tekne", "date": "2026-07-23", "stance": "recommend", "quote": "There is also the deep magic...", "excerpt": "There is also the deep magic... https://github.com/phiresky/sql.js-httpvfs", "context": "", "use_case": "query SQLite over HTTP", "switched_from": "", "story": "What just happened to TheNumbers.com should worry us all"}, {"id": 743263424, "item_id": 46453964, "url": "https://news.ycombinator.com/item?id=46453964", "by": "kiney", "date": "2026-01-01", "stance": "recommend", "quote": "if performance becomes a problem statically hosting sqlite DBs with client side queries and http range requests is an interesting approach", "excerpt": "if performance becomes a problem statically hosting sqlite DBs with client side queries and http range requests is an interesting approach: https://github.com/phiresky/sql.js-httpvfs", "context": "", "use_case": "Static SQLite via HTTP range requests", "switched_from": "", "story": "Show HN: Use Claude Code to Query 600 GB Indexes over Hacker News, ArXiv, etc."}, {"id": 742990993, "item_id": 46436937, "url": "https://news.ycombinator.com/item?id=46436937", "by": "simonw", "date": "2025-12-30", "stance": "recommend", "quote": "It's reminiscent of that brilliant SQLite.js VFS trick from a few years ago", "excerpt": "Don't miss how this works. It's not a server-side application - this code runs entirely in your browser using SQLite compiled to WASM, but rather than fetching a full 22GB database it instead uses a clever hack that retrieves just \"shards\" of the SQLite database needed for the page you are viewing. I watched it in the browser network panel and saw it fetch: https://hackerbook.dosaygo.com/static-shards/shard_1636.sqli", "context": "", "use_case": "HTTP range-request SQLite VFS", "switched_from": "", "story": "Show HN: Hacker Book \u2013 All the HN Belong to You 2006 \u2013 2025"}, {"id": 741587217, "item_id": 46349201, "url": "https://news.ycombinator.com/item?id=46349201", "by": "gregsadetsky", "date": "2025-12-21", "stance": "compare", "quote": "obviously this solution doesn't scale (versus something like https://github.com/phiresky/sql.js-httpvfs )", "excerpt": "correct! it's a sqlite database which ends up being automatically gzip'd by the github cdn aka fastly - this ends up being ~4mb over the wire obviously this solution doesn't scale (versus something like https://github.com/phiresky/sql.js-httpvfs ) but sometimes it's fun to \"just\" send the sqlite database to the frontend and be done :-)", "context": "", "use_case": "", "switched_from": "", "story": "Show HN: Search the lyrics of 500 H\u00d6R Berlin techno sets"}]}