←back to thread

SQLite File Format Viewer

(sqlite-internal.pages.dev)
273 points ilumanty | 4 comments | | HN request time: 0.633s | source
Show context
NoSalt ◴[] No.43684346[source]
Really nice, looks great!

However, I am not a fan of uploading databases to "strange" sites on the internet, so I will probably never use this.

replies(6): >>43684494 #>>43684556 #>>43684564 #>>43684603 #>>43684618 #>>43692330 #
1. senkora ◴[] No.43684618[source]
I wish that we had a browser version of “pledge” that would:

1. Permanently restrict the browser tab from accessing the network.

2. Show an indication of this in the browser UI outside of the content area.

It would be perfect for this kind of app.

replies(2): >>43685759 #>>43691162 #
2. runjake ◴[] No.43685759[source]
In this case, itt's easier to just run it locally: https://github.com/invisal/sqlite-internal

But you can get sort of what you want by:

1. Loading a site.

2. Go into the Web Dev Tools.

3. Select the Network tab.

4. Click on the "No Throttling" dropdown and check "Offline".

5. You should now see a yellow warning icon in your Network tab and it should prevent all network access. If you reload the tab you should get the "No Internet Connection" error page.

replies(1): >>43686461 #
3. creatonez ◴[] No.43686461[source]
What a fantastic method, I'm gonna start using this for all the random tools I upload data to expecting they are fully clientside.
4. Timon3 ◴[] No.43691162[source]
I've long been wishing for the same! With service workers etc. this would be a perfect approach for many small utilities. I've started building things as single HTML files using vite-plugin-singlefile[0], but users either have to manually block network requests, or they have to trust me. It would be awesome if they could be sure that nothing will be uploaded anywhere.

The pledge would have to be persistent, which would make e.g. service worker updates difficult - ideally the browser should show you that an update is available, and offer to delete all stored information so nothing can be saved to localStorage etc. to be uploaded afterwards.

[0]: https://www.npmjs.com/package/vite-plugin-singlefile