Skip to content(if available)orjump to list(if available)

Hosting SQLite Databases on GitHub Pages (2021)

misthop

It would be a it more compelling if every example, at least for me, didn't return `[error: NetworkError: A network error occurred.]`

cwmma

I'm assuming your using firefox, if so it's this bug[1] that basically prevents range requests from working. Basically firefox says it will accept gziped data even though it's a range request and github pages dudifly sends back an unreadable slice of a gziped file.

1. https://bugzilla.mozilla.org/show_bug.cgi?id=1874840

Groxx

huh. is this due to ambiguity in whether you want gzipped content vs gzipped transport (of arbitrary content), and/or which range the bytes are requesting? I can see both being useful, but I don't know what headers are available for these intentions...

smithcoin

It doesn't work for me on safari either.

cwmma

works fine on safari desktop for me

graemep

I get "Error connecting to database: RuntimeError: abort(Error: server uses gzip or doesn't have length). Build with -s ASSERTIONS=1 for more info" from the sposorship stats site lined toand the same as you for the demo.

its interesting, but it is not robust and I very much doubt it will have the claimed benefit for lasting without further work. At the very least its more work and requires cross browser testing.

It seems a lot of effort just to avoid paying a small amount a month for a VPS. Its free and " I forget about the backend and stop paying for whatever VPS it was on" stops being a problem (although running all the little things you have on one VPS would also simplify that).

zX41ZdbW

It's old news, but you can even host ClickHouse databases on GitHub pages: https://github.com/ClickHouse/web-tables-demo

pspeter3

I wonder if the author would use DuckDB WASM now?

crtasm

(2021)

>(or IPFS or any static file hoster)

null

[deleted]