←back to thread

SQLite File Format Viewer

(sqlite-internal.pages.dev)
272 points ilumanty | 10 comments | | HN request time: 0.995s | source | bottom
1. 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 #
2. brulard ◴[] No.43684494[source]
There is a github link so you can run it yourself
3. jchw ◴[] No.43684556[source]
AFAICT it's purely frontend, there is no uploading. Aside from running it yourself, another thing you can do is go into devtools and set the network throttling to "offline". (Note that this is not fool-proof, but it does prevent new connections from being established.)
4. olejorgenb ◴[] No.43684564[source]
You can probably run it yourself: https://github.com/invisal/sqlite-internal
5. chungy ◴[] No.43684603[source]
It's hard to know whether anything is actually uploaded, but thankfully SQLite databases are plentiful that don't contain sensitive data (and this, also, is why there is a sample database included).

I loaded up my Star Trek database into the program to toy with: https://chiselapp.com/user/chungy/repository/startrek-db/uvl...

6. 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 #
7. 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 #
8. creatonez ◴[] No.43686461{3}[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.
9. 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

10. invisal ◴[] No.43692330[source]
It is completely frontend. Everyone can review the code or host it themselve. :)