Hacker GitHub

← All repos

phiresky/sql.js-httpvfs

View on GitHub ↗ ★ 3,710 TypeScript

Hosting read-only SQLite databases on static file hosters like Github Pages

31 mentions on Hacker News by 25 people: 0 stories, 31 comments · first 2021-05-02 · latest 2026-07-23

Mentions per year 31 mentions · busiest year 2022 (10)
20082026
  1. There is also the deep magic... https://github.com/phiresky/sql.js-httpvfs
    comment by tekne · 2026-07-23 · in What happened to TheNumbers.com
  2. …hosting sqlite DBs with client side queries and http range requests is an interesting approach: https://github.com/phiresky/sql.js-httpvfs
  3. …to previous days. It's reminiscent of that brilliant SQLite.js VFS trick from a few years ago: https://github.com/phiresky/sql.js-httpvfs - only that one used HTTP range headers, this one uses sharded files instead. The interactive SQL…
    comment by simonw · 2025-12-30 · in Show HN: 22 GB of Hacker News in SQLite
  4. …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 :-)
  5. …IPFS and GitHub" https://news.ycombinator.com/item?id=42264274 : >> phiresky/sql.js-httpvfs: https://github.com/phiresky/sql.js-httpvfs >> mmomtchev/sqlite-wasm-http: https://github.com/mmomtchev/sqlite-wasm-http >> This project is…
  6. There are implementations for that: For example https://github.com/psanford/sqlite3vfshttp or https://github.com/phiresky/sql.js-httpvfs
    comment by johannes1234321 · 2025-09-07 · in SQLite's File Format
  7. …re: "Loading partial SQLite databases over HTTP": > sql.js-httpvfs: https://github.com/phiresky/sql.js-httpvfs > sqlite-wasm-http: https://github.com/mmomtchev/sqlite-wasm-http >> This project is inspired from @phiresky/sql.js
  8. …downloading it." "but uses the new official SQLite WASM distribution." [1][2] [2] sql.js-httpvfs: https://github.com/phiresky/sql.js-httpvfs [1] sqlite-wasm-http: https://www.npmjs.com/package/sqlite-wasm-http [3] sqlite3vfshttp:…
  9. I thought about creating a search engine using https://github.com/phiresky/sql.js-httpvfs , commoncrawl and cloudflare R2. But never found the time to start...
  10. ….) [1] https://github.com/sql-js/sql.js/ [2] https://pagefind.app/ [3] https://github.com/phiresky/sql.js-httpvfs
    comment by gudzpoz · 2024-08-09 · in SQLite FTS5 Extension
  11. …[1]. Works with github pages just fine [2]... Your web server must respect HTTP range requests. [1] https://github.com/phiresky/sql.js-httpvfs [2] With the caveat that you have to commit your database index (lunr's json, or sqlite's db…
    comment by adityaathalye · 2024-07-29 · in Microfeatures in My Blog
  12. …and use range queries using something like this: https://github.com/psanford/sqlite3vfshttp https://github.com/phiresky/sql.js-httpvfs Simon Willison wrote about it: https://simonwillison.net/2022/Aug/10/sqlite-http/
  13. …shouldn't block a beta release. Also do you build with sqlite-httpvfs? This would go together great https://github.com/phiresky/sql.js-httpvfs
  14. …that will be unmaintained in few years. [1]: https://news.ycombinator.com/item?id=27016630 [2]: https://github.com/phiresky/sql.js-httpvfs
    comment by Ciantic · 2023-12-31 · in A future for SQL on the web (2021)
  15. …info in my other comment. I'm still exploring but so far it's been pretty impressive to me. [0] https://github.com/phiresky/sql.js-httpvfs
    comment by noman-land · 2023-07-06 · in Cloud Backed SQLite
  16. …in action. It's impressively quick and I haven't even fine-tuned it at all yet. SQLite rules. [0] https://github.com/phiresky/sql.js-httpvfs [1] https://github.com/noman-land/transcript.fish
    comment by noman-land · 2023-07-06 · in Cloud Backed SQLite
  17. …https://phiresky.github.io/blog/2021/hosting-sqlite-database... So presumably in a similar manner as https://github.com/phiresky/sql.js-httpvfs you could map SQLite pages to leaf torrents too and get the chunking you are looking for.
    comment by theptip · 2022-10-10 · in Transmission 4.0.0 beta 1
  18. …of allowing complex client-side querying of a dataset that is static but too big to transfer). < https://github.com/phiresky/sql.js-httpvfs >
    comment by sgbeal · 2022-10-04 · in SQLite: QEMU All over Again?
  19. …https://github.com/michalc/sqlite-s3-query/blob/main/sqlite_... Here's the inspiration for that: https://github.com/phiresky/sql.js-httpvfs
  20. Seems like a great use case for static sqlite hosting https://github.com/phiresky/sql.js-httpvfs
  21. …Lite to accessing a hosted SQL database using HTTP range requests as can be done in sql.js like https://github.com/phiresky/sql.js-httpvfs ? I put together a Pyodide-based web app where users need a few indexed queries from a 600mb SQLite…
  22. …languages including Go[0] and Javascript[1]. [0]: https://github.com/psanford/sqlite3vfshttp [1]: https://github.com/phiresky/sql.js-httpvfs
    comment by psanford · 2022-03-11 · in Ws4sqlite: Query SQLite via HTTP
  23. …only so far; IDK about resource quotas and multi-GB datasets), serverless search with WASM workers https://github.com/phiresky/sql.js-httpvfs : > sql.js is a light wrapper around SQLite compiled with EMScripten for use in the browser…
  24. …filtering that common search engines apply to their results. [1] https://commoncrawl.org/ [2] https://github.com/phiresky/sql.js-httpvfs
    comment by phil294 · 2022-01-27 · in Show HN: Link-Archive.org
  25. …same as the chunking instructions for hosters who have a maximum file size as is demonstrated here: https://github.com/phiresky/sql.js-httpvfs/blob/master/creat...
    comment by SahAssar · 2022-01-15 · in Database-less torrent website
  26. …file rather than IPFS. They only download the parts of the SQLite files needed when querying. 0: https://github.com/phiresky/sql.js-httpvfs 1: https://github.com/phiresky/sql.js-httpvfs#inspiration 2: https://github.com/lmatteis/torrent-net…
    comment by samwillis · 2022-01-13 · in Database-less torrent website
  27. …the sourcemaps in their build, so one can see the code from the Usage section of sql.js-httpvfs ( https://github.com/phiresky/sql.js-httpvfs#usage ) copy-pasted into App.tsx, but I didn't find any other identifying text I'd actually guess…
    comment by mdaniel · 2021-08-22 · in A web database of all AWS IAM actions
  28. Looks pretty similar to https://github.com/phiresky/sql.js-httpvfs My first instinct is to wonder why not giving them credit, but maybe you’d never heard of it before…
  29. …Headers you can't set on GitHub Pages (that's the reason I mirrored it to Netlify originally) [1] https://github.com/phiresky/sql.js-httpvfs/issues/13
    comment by phiresky · 2021-07-31 · in Hosting SQLite Databases on GitHub Pages
  30. …SharedArrayBuffer and Atomics.wait to make that work [2]. [1] https://www.sqlite.org/vtab.html [2] https://github.com/phiresky/sql.js-httpvfs/blob/master/src/v...
  31. …"bytes=" + from + "-" + to); I am a little surprised you can just do that. In https://github.com/phiresky/sql.js-httpvfs/blob/master/src/l...