computer-science
Datasette Apps: Host custom HTML applications inside Datasette
Key takeaways
- Today we launched a new plugin for Datasette, datasette-apps, with this launch announcement post on the Datasette project blog.
- Datasette Apps are self-contained HTML+Java Script applications that run in a tightly constrained <iframe> sandbox hosted on your Datasette application.
- Here’s a very simple example and a more complex custom timeline example—the latter looks like this:
Today we launched a new plugin for Datasette, datasette-apps, with this launch announcement post on the Datasette project blog. That post has the what, but I’m going to expand on that a little bit here to provide the why.
Datasette Apps are self-contained HTML+Java Script applications that run in a tightly constrained <iframe> sandbox hosted on your Datasette application. They can use Java Script to run read-only SQL queries against data in Datasette, and can run write queries too if you configure them with some stored queries.
Here’s a very simple example and a more complex custom timeline example—the latter looks like this:
Article preview — originally published by Hacker News. Full story at the source.
Read full story on Hacker News →
More top stories
Aggregated and edited by the Scoop newsroom. We surface news from Hacker News alongside other reporting so you can compare coverage in one place.
Editorial policy · Corrections · About Scoop