The job store now implements printqueue.Store on its one connection, so the queue can keep jobs on disk. A mutex serialises every call, since a transaction and the synchronous setting belong to the connection. - Add inserts the job, its deliveries and its content in one transaction. - Sending updates the delivery's row alone, at synchronous FULL, so the mark is on disk before the first byte goes to the printer. - Finish updates the delivery's row and drops exactly the jobs, deliveries and contents the queue names, in one transaction, synced when the queue asks, as it does for a failure. - Load turns every delivery in sending into uncertain and reads the jobs and deliveries, in one commit. It reads each content's length, not the content, and refuses a delivery whose job is gone or whose state this binary does not know; its errors name the file. - Job reads one job's content. - Idle runs a passive checkpoint while the queue has nothing to do, once 64 commits, about 20 jobs, have gathered since the last. The queue is idle after nearly every job when receipts come one at a time, and a checkpoint syncs the log and the database, and the next commit the log's header: checkpointing each time would turn a job's one sync into four. A synced commit sets synchronous FULL, commits, and returns to NORMAL even when the commit failed. Times are stored as Unix nanoseconds, so they read back to the nanosecond in UTC. Errors name the operation and the job's or delivery's sequence number, never a value. A test hook runs inside each commit and reads PRAGMA synchronous and total_changes(), so the tests see which commits are synced, the schema step included, and that Sending, and a Finish that drops nothing, change one row. With automatic checkpoints off, a job of 2 KB appended 8.6 WAL frames on the workstation; the test holds it to at most 16. Unique jobs' references are kept in the next commit. Nothing uses the store yet. Part of stage 1d of docs/plans/job-store.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Überbringer
Bringer of information. A small daemon that takes print jobs as JSON over a REST API and prints them on an EPSON ESC/POS network receipt printer.
- Jobs return at once with an ID and print in order on a background worker, with retries while the printer is offline.
- UTF-8 text is transcoded to the printer's code page and wraps at word boundaries for the paper width.
- Text styles and sizes, QR codes, barcodes, images and raw ESC/POS.
- Boxes, rules, key-value rows and lists, laid out for the paper when the job prints.
- Modules turn a few plain fields, such as a note or a notification, into a laid-out receipt.
- It can subscribe to ntfy topics and print their messages, with a paper budget and quiet hours.
- Tokens can be limited to modules, and only tokens issued for it can send raw ESC/POS.
- A preview shows the lines a job prints without using paper, and
/healthzreports the printer's status.
Note
Pre-refactor code: no AI was used. The original Überbringer (v0.1.x), up to commit
bb73348from January 2025, was written without any AI. That commit shows the code as it was before the 0.2 refactor.
Quick start
On a fresh Debian or Ubuntu host whose domain points at it, this installs the latest release as a systemd service behind Caddy, with HTTPS:
sudo ./install.sh printer.example.com you@example.com 192.168.1.245
The arguments are the domain, the email address for the certificate and the printer's address. docs/install.md covers the rest, and docs/docker.md covers the Docker image.
Documentation
| Document | Covers |
|---|---|
| docs/install.md | Installing on Debian or Ubuntu with install.sh, and upgrading |
| docs/docker.md | Running the Docker image behind your own reverse proxy |
| docs/configuration.md | The config file, environment variables, every setting and the logs |
| docs/security.md | The API secret, tokens and their scopes, and what never reaches the logs |
| docs/api.md | The HTTP API: routes, print elements, blocks, modules and error codes |
| docs/ntfy.md | Printing ntfy topics: subscriptions, digests, quiet hours and securing ntfy |
| docs/cli.md | The command line |
| docs/development.md | Building and testing, the package layout, CI and releases |
| docs/design.md | Why the daemon is shaped as it is |
| CHANGELOG.md | The changes in each release |
docs/swagger.json is the OpenAPI 3.1 document of the
API, generated from the route table; the daemon serves it at
GET /openapi.json.
License
Copyright © 2025-2026 William Gill.
Licensed under the European Union Public Licence v. 1.2 (EUPL-1.2). The full text is in LICENSE.txt, and translations into every official EU language are equally valid. Releases up to and including 0.1.2 were published under the GNU Affero General Public License v3.0.
The binary contains third-party software under licenses of its own: the Go
standard library and runtime, and Go modules.
THIRD-PARTY-LICENSES.md lists them with their
license and notice texts. The file comes with every release archive, and the Docker
image keeps it with LICENSE.txt in /usr/share/licenses/uberbringer/.
uberbringer licenses prints the same text.