Most active commenters
  • sqliteonline(3)

←back to thread

464 points sqliteonline | 25 comments | | HN request time: 1.03s | source | bottom
Show context
bob1029 ◴[] No.45568063[source]
I am really struggling to figure out what this is or how it provides value.

Edit:

This discussion isn't exactly what I was hoping for. I was looking for ways to better highlight the features or value proposition of this site. Not defenestrate it altogether.

E.g.: A simple modal that says "Welcome to SQLite Online! You can <core value proposition> with this tool." would have radically altered my initial perception.

replies(9): >>45568123 #>>45568268 #>>45568275 #>>45568972 #>>45569041 #>>45570012 #>>45570236 #>>45570287 #>>45570447 #
zvmaz ◴[] No.45568123[source]
For me: Try queries without the hassle of setting up a database. Learn SQL. Experiment. Etc.
replies(2): >>45568317 #>>45568503 #
1. WesolyKubeczek ◴[] No.45568317[source]
> For me: Try queries without the hassle of setting up a database.

    sqlite3 some-file.db
That's the whole "database setup" in case of SQLite.
replies(7): >>45568349 #>>45568579 #>>45568639 #>>45569094 #>>45569483 #>>45569819 #>>45572222 #
2. sqliteonline ◴[] No.45568349[source]
This method is not available on all devices and does not support sharing or collaboration.

The website, however, works on any platform and allows working together in a single shared database.

replies(3): >>45568402 #>>45568523 #>>45568704 #
3. zwnow ◴[] No.45568402[source]
you can just share the file, huh

collaboration sounds nice though, it definitely has a market considering 11k daily users.

replies(1): >>45568472 #
4. sqliteonline ◴[] No.45568472{3}[source]
If the database is loaded from an external source (as shown in the examples), using the "Share Script" feature automatically attaches a link to the database. The link allows both the database and the script to be accessed and loaded.
5. avinassh ◴[] No.45568523[source]
how does collaboration works for SQLite, since the db is embedded?
replies(2): >>45569343 #>>45569776 #
6. oblio ◴[] No.45568579[source]
I think someone forgot what made the web the most popular platform in the world.
7. killerstorm ◴[] No.45568639[source]

   sqlite3 :memory:
if you don't want it to be persisted
8. WesolyKubeczek ◴[] No.45568704[source]
> This method is not available on all devices and does not support sharing or collaboration.

The parent cites "hassle of creating the database" and does not mention sharing or collaborating. I showed that it doesn't get more hassle-free than this and doesn't even require connectivity (which might be a problem "on some devices" or "in some locations").

replies(1): >>45568904 #
9. rat9988 ◴[] No.45568904{3}[source]
> doesn't even require connectivity (which might be a problem "on some devices" or "in some locations").

You are just trying to prove a point instead of understanding it.

> "hassle of creating the database" and does not mention sharing or collaborating.

He might just have summarized everything as "hassle of creating the database".

Not everything on internet is supposed to be a debate with highly and carefully developped wording.

replies(1): >>45569275 #
10. ajmurmann ◴[] No.45569094[source]
How do I get this sqlite3 command to work on my Chromebook? When I type this in on my Windows machine it's not working either. Are there other steps I need to take first?
replies(3): >>45569245 #>>45569309 #>>45570762 #
11. jermaustin1 ◴[] No.45569245[source]
As a developer, on your development machine, if you use sqlite even infrequently, then no.

Anyone else, probably, but then why would you use this tool if you have no need for sqlite?

12. jermaustin1 ◴[] No.45569275{4}[source]
> You are just trying to prove a point instead of understanding it.

> He might just have summarized everything as "hassle of creating the database".

You are also making an assumption, though. That person might not have known "sqlite3 mydb.db" is all you need to create a sqlite database.

replies(1): >>45569851 #
13. encom ◴[] No.45569309[source]
>my Chromebook

LOL

>my Windows

If you're the kind of person who even knows what SQL, SQLite or hell even a database is, you already know SQLite runs on pretty much anything.

replies(1): >>45571810 #
14. kijin ◴[] No.45569343{3}[source]
Uhm, by allowing multiple people to connect to the same database through a webapp like this?
15. cortesoft ◴[] No.45569483[source]
Where do I type that in on my iPad?

Some people might not have computers but still want to learn?

replies(1): >>45569968 #
16. sqliteonline ◴[] No.45569776{3}[source]
When you upload a database to the site, it is stored in your browser's memory or uses OpFS — a local storage within your browser.

You can share a link to grant access to your database, with the connection handled via P2P through WebRTC.

replies(1): >>45571938 #
17. Aeolun ◴[] No.45569819[source]
Implicit assumptions: You know what a CLI is, you have one on your system, and how to install the sqlite3 binary somehow.

When I just started out with linux I was so frustrated with people just listing reams of commands, or files I needed to edit without stating I needed to look in /etc

18. hombre_fatal ◴[] No.45569851{5}[source]
It was just one item in a list and they used "etc." which prob refers to all the other obvious upsides, like why you would use pgadmin/postico to write postgres queries instead of psql cli.

So to double down on that one detail as if it were a load bearing remark comes off as trying to win a point.

If `sqlite3 test.db` launched a rich UI with tabs and such, then maybe they'd be onto something, but it does not.

19. josefx ◴[] No.45569968[source]
Pay for one of the many SQLite Apps on the App Store, like Jobs intended?
20. chasil ◴[] No.45570762[source]
On your Chromebook, load the Linux subsystem, which you can find in settings.

It will give you a shell that will have SQLite.

For Windows, download the interactive command line tool from sqlite.org.

replies(1): >>45574781 #
21. conductr ◴[] No.45571810{3}[source]
Why would you assume that's the kind of person you're responding to? Their question alone leads me to believe it's exactly not that kind of person.
replies(1): >>45573171 #
22. ◴[] No.45571938{4}[source]
23. asveikau ◴[] No.45572222[source]
I had the same reaction, why not just use the command line interface?

From there, I guess the value this adds is:

1. There is a UI, i.e. it has some autocomplete of sql syntax and it shows tables in a ... tabular format.

2. As others have mentioned, there are sharing features. Yes you could share a .db file, but with this you can also send a link viewable in a browser, with specific queries, etc.

#1 reminds me of MS Access from back in the day. Those were sql dbs underneath, but they had some interfaces to show you how to build queries. It wasn't a bad way to dip your toes into the basics of sql.

24. somehnguy ◴[] No.45573171{4}[source]
Their question was sarcasm basically saying this site provides convenience by way of not needing any up front steps.
25. ajmurmann ◴[] No.45574781{3}[source]
Thanks for your answer! That said, I know how to install SQLite and am well-familiar with it.

My point was that the parent's comment did not tell the full story. A student just trying to do the first baby steps with SQL won't know any of this. Yet with the website shown here, they can immediately focus on the actual SQL, no matter what devise they are on, as long as it has a functioning browser.