guide
Share a data app as a link, an embed or one HTML file
Three ways to share a dashboard made in ducklet: a link anyone can open, an embed for a blog or site, and a single HTML file that opens offline. No server to run.
A chart is only useful once someone else sees it. ducklet has no server of its own to host your work, so every way of sharing puts the files somewhere you already control, and the viewer's browser does the rest.
A link anyone can open
In the terminal, share dashboards/sales.json commits the dashboard, its queries and its data to a GitHub repo (or a secret gist) and prints a link. Whoever opens it sees just the dashboard, running in their own browser, with a line at the bottom saying where every number came from. A public repo needs no sign-in to open.
For a public file you didn't make, there is an even shorter link: ducklet.dev/view?data= followed by the file's address opens it as a table. Every tool page makes one for you.
An embed
On any shared view, share → copy embed code gives you an <iframe> to paste into a blog post, a Notion page or a site. Embedded, the view drops its controls and keeps a single link back to the full app.
One HTML file
share --html dashboards/sales.json writes a single .html file that holds the dashboard, its queries, a snapshot of their rows and DuckDB itself. Email it, attach it to a ticket, or put it on GitHub Pages: it opens in any modern browser, even offline, and "run live" reads the sources again.
What the viewer sees
Every share opens on the snapshot it was made with, so it is fast and doesn't break when a source changes; the viewer can choose to run it live. The receipts line shows each source and when it was read. The UK general election 2024 app is a good one to try sharing: open it, press share, and send it to yourself.
more guides
- How to query a CSV with SQL in your browser
- How to open a Parquet file without installing anything
- Map live earthquakes with SQL in the browser
- Build a dashboard from a CSV with DuckDB-Wasm
- How ducklet compares with Datasette Lite, Evidence, Observable and other browser SQL tools
- What each part of ducklet is called elsewhere: Gymnasium, scikit-learn, Optuna, OR-Tools and the rest