Datasette Lite
May 5, 2022 8:18 AM Subscribe
Datasette Lite
I've been working on Datasette, a Python application for exploring databases for a few years now. Today I released a new tool built on top of it: Datasette Lite, which runs the existing server-side Python application entirely in your browser, using a WebAssembly version of Python.
This is something of an absurd hack - I'm shocked that it's even possible to get it to work. But it's really cool!
Right now you can use this to explore your own SQLite database file provided it's hosted online in a CORS-friendly environment - hosting it on GitHub is the easiest way to do this.
That's obviously not nearly easy enough, so I'm going to add features soon that let you directly open your own database files or CSV files from your own computer.
I built this initially as a cool tech demo, but I'm beginning to suspect that it has very real use-cases. I already had a comment on Hacker News from someone in academia who's been unable to use my Python web application for lack of somewhere to run the server, but thinks they should be able to find static HTML and JavaScript hosting much more easily.
I've been working on Datasette, a Python application for exploring databases for a few years now. Today I released a new tool built on top of it: Datasette Lite, which runs the existing server-side Python application entirely in your browser, using a WebAssembly version of Python.
This is something of an absurd hack - I'm shocked that it's even possible to get it to work. But it's really cool!
Right now you can use this to explore your own SQLite database file provided it's hosted online in a CORS-friendly environment - hosting it on GitHub is the easiest way to do this.
That's obviously not nearly easy enough, so I'm going to add features soon that let you directly open your own database files or CSV files from your own computer.
I built this initially as a cool tech demo, but I'm beginning to suspect that it has very real use-cases. I already had a comment on Hacker News from someone in academia who's been unable to use my Python web application for lack of somewhere to run the server, but thinks they should be able to find static HTML and JavaScript hosting much more easily.
Role: Creator
This is so awesome!!!
posted by forkisbetter at 7:39 AM on May 7, 2022
posted by forkisbetter at 7:39 AM on May 7, 2022
This was just shared in another community in which I take part, and I was admiring it there. Thanks for making and sharing!
posted by taltalim at 5:13 PM on May 7, 2022
posted by taltalim at 5:13 PM on May 7, 2022
« Older Every .horse domain... | How the age-appropriate debate... Newer »
posted by Going To Maine at 1:42 PM on May 5, 2022