Band-based visual editor
Title, page headers, group bands, details, summaries. Position every element to the millimeter — what you compose is what prints.
▚ REPORT INFRASTRUCTURE FOR POSTGRES
Design pixel-perfect PDF reports in a visual band editor, feed them from any number of Postgres queries, and serve them through a single API call — from one self-contained binary.
SINGLE BINARY · RUNS IN YOUR INFRASTRUCTURE · PDF / CSV / ODS
▚ THE WORKSHOP
Every report is a precise composition: bands, bound queries, typeset output. QueryTailor treats your data the way a tailor treats fabric — measured twice, cut once.
Title, page headers, group bands, details, summaries. Position every element to the millimeter — what you compose is what prints.
SQL as a first-class citizen: declared inputs, its own datasource, reusable across every report that needs it.
Bind one query's output to another's input. Independent queries run in parallel, dependent ones in sequence — derived automatically.
One template, three outputs, streamed straight off the API. Vector charts included — bars, lines, pies, all crisp at any zoom.
HMAC-signed render tokens drop live reports into any portal or iframe — and politely stop working when you say so.
Every save is a new version. Publish, roll back, compare. Nothing is ever overwritten, so audits answer themselves.
Per-query timings, row counts, layout and PDF cost — returned as a response header on each render, logged for posterity.
Bind-only parameters, read-only connections, statement timeouts. SQL injection finds no door to knock on.
▚ THE FITTING
Point QueryTailor at your Postgres datasources. Credentials are encrypted at rest, connections opened read-only.
Compose queries, wire their bindings, lay out bands in the visual editor — and preview against live data as you go.
One HTTP call returns the finished document. Or hand out an expiring embed token and let the report live inside your product.
$ curl https://reports.yourcompany.internal /api/reports/quarterly-revenue/render?format=pdf
HTTP/1.1 200 OK
content-type: application/pdf
x-render-benchmark: total=38ms queries=21ms layout=9ms pdf=8ms
▚ THE ATELIER IS YOURS
One static binary. No runtime to install, no cluster to babysit. Drop it on a VM, a container, an air-gapped box.
Bring your own state. Embedded Postgres included for zero-config starts — or point it at your own Postgres with one variable.
Enterprise sign-in, ready. OIDC single sign-on and reverse-proxy auth, straight out of the box.
Every render on the record. Who rendered what, when, how long it took — an audit trail your compliance team will actually enjoy.
$ ./querytailor
▌ querytailor — listening on :3000
▌ internal db · embedded postgres ./data
▌ auth · oidc sso.yourcompany.com
▌ 3 datasources · read-only · encrypted
▌ ready.
DEPLOY TIME: ABOUT AS LONG AS THIS SENTENCE.
The live demo runs the real thing — editor, query library, render API. Access is provisioned personally: ask, and you'll have credentials within the day.