Article Reader

Extract any public webpage into clean, ad-free Markdown or sanitized HTML using the same Readability pipeline and 6-hour edge cache that powers Full Feed RSS.

Extraction & AI options
Content
645 words ~3 min read Cache: MISS Original article ↗
Raw .md JSON

QuackUI: self-hosted reporting on DuckDB

Drag-and-drop reports on your DuckDB files

QuackUI reads the files, drafts a model for you to check, and gives your team a page to drag fields onto. You host it, and your files are only ever opened read‑only.

The QuackUI report builder: fields on the left, a page with two charts, a crosstab and a table in the middle, and properties on the right

Drop a field where you want it

Blocks have no separate field wells. You drop onto the table, the chart axis or the crosstab header itself, and a marker shows what will happen before you let go.

Between two columns, or over one

Over a column's edge, a bar shows where the new column goes. Over its middle, the marker names the column you are about to replace. A field that doesn't fit is refused at the pointer, with the reason.

How the builder works

Dragging a field: a thick amber bar between the Store and Net sales columns shows where the new column will go

Dropping here inserts a column after Store.

Dragging a field over the middle of a column: the column is tinted and labelled Replace Net amount

Dropping here replaces Net sales.

QuackUI drafts the model and you check it

QuackUI reads keys, types and column statistics, then proposes tables, joins, measures and hierarchies. Anything it inferred from a name is marked To check, with the reason. You can't save a model until each of those has been accepted, changed or removed.

It knows that year isn't a number to sum, that a price should be averaged, and that stock on hand adds up across stores and not across weeks.

About models

A drafted model: 17 items to check, each with the reason QuackUI wasn't sure

Four fact tables in one table, and the totals are right

Sessions, sales, returns and stock live in four fact tables across two DuckDB files. QuackUI aggregates each on its own and merges the results, so no figure is multiplied by another table's rows. Totals are computed from the base rows again, so averages and distinct counts total correctly.

One table showing web sessions, net sales, returns and stock on hand by month

Web sessions come from web_analytics.duckdb. The other columns come from retail.duckdb.

How queries work

32 chart types

From columns and lines to sankeys, treemaps and calendar heatmaps. Every chart has a data table behind it for screen readers and keyboard drilling, and series differ by pattern as well as colour.

Stacked area chart of net sales by month and category

Sankey chart from product category to store type

Treemap of net sales by category and subcategory

Heatmap of net sales by month and weekday

Columns for net sales with a line for cost

Chord chart between customer segment and category

All the charts

Monday's pack sends itself

Schedule a report and QuackUI emails the PDF and workbook, posts them to Slack, or sends the rows to a webhook. Add an alert and it sends only when a number crosses the line you set.

If the run fails or the data is incomplete, the alert says it couldn't be evaluated. It never reports a failure as good news.

Delivery and alerts

A scheduled run whose alert condition was met: six subcategories with stock below 100, and the delivery recorded below

One report, each manager's own rows

Row security limits which rows each group sees, on the server, for every query, value list, run and export. Here is the same report opened by someone in Finance and by the Scotland manager.

Access and security

My region, opened by a Finance user: all six stores

My region, opened by the Scotland manager: Glasgow and Edinburgh only, with a notice that the data is limited

Every feature

Running in one command

You need Docker. The first start builds the images and generates two sample databases, so there is something to report on before you bring your own files.

Then open localhost:8080 and sign in as admin@quackui.local.

git clone https://github.com/markwylde/quackui.git
cd quackui
QUACKUI_ADMIN_PASSWORD='choose-your-own' docker compose up -d