Inspiration

Most messages people send online are read once on a screen and then lost in a feed. I wanted to test a simple idea: if a message from a stranger becomes a real piece of paper in a real room, do people write something worth keeping? In August I connected a website to a small thermal printer in my room. People wrote more kind and thoughtful messages than I expected, so for the hackathon I built a second season around one question that asks people to help each other.

What it does

Season 2 ran in November and is now closed: 168 answers, 140 printed. The answers can be read at printomatic.byelior.dev/season-2. During the season, the page at printomatic.byelior.dev asked one question: "What would you tell yourself from ten years ago?"

  1. You pick a border (7 choices) and a typeface (6 choices), then write your answer straight onto a preview of the ticket. 140 characters, no account, no email.
  2. Your answer goes into a "hat". Claude reads every answer against written rules: it has to answer the question, no ads, no attacks on a person. Answers it is unsure about wait for me.
  3. During the day, a random draw picks answers from the hat: about 3 every 10 minutes, from 10:00 to 20:00 Paris time, nothing at night. Every answer in the hat has the same chance.
  4. The chosen ticket comes out of the printer on my desk about one second later.

People share the advice they wish they had had. Answers about hard things someone went through, like addiction or depression, told to help a person who is in the same place now, are allowed on purpose.

There is also an open-source version, Print on my desk (github.com/eliorpom-cmd/print-on-my-desk), so anyone can put a printer on their own desk and send the link to their friends or a grandparent who lives far away. It has the season 1 features; the season 2 code is not in it yet.

How I built it

  • The website is plain HTML, CSS and JavaScript served by a Cloudflare Worker. The preview of the ticket uses the same rendering code as the printer, so what you see is what prints.
  • A Cloudflare Worker receives the answer, checks it, and stores it in a D1 database (SQLite).
  • Spam protection: a small proof-of-work puzzle in the browser (Altcha), a limit per person per day, and a word list.
  • Safety filter: Llama Guard 3 on Cloudflare Workers AI blocks unsafe content at the door.
  • Editorial review: every 15 minutes a scheduled job on my Mac runs Claude with a written set of rules. It marks each answer as print, wait for a human, archive (off topic) or reject.
  • The draw: each answer gets a secret random number when it enters the hat, and the draw takes the smallest numbers still in it. The target number of tickets is spread over the opening hours of the season.
  • A Raspberry Pi keeps a connection open to the Worker. When a ticket is drawn, the Pi gets it right away and sends it to an AURES TRP 100 III thermal printer over USB in ESC/POS, the language receipt printers understand.

Challenges I ran into

  • The safety filter refused "Stopped drinking now" as a self-harm message. It is the opposite: it is someone sharing a recovery. During the draw, this category now goes to Claude's review instead of being refused automatically.
  • The database ran out of its free daily quota (5 million rows read in one day) with very little traffic. Three queries read the whole waiting list every few seconds. Indexes fixed it, and tests now check how many rows each query reads, not only its result.
  • The printer went offline on the first weekend with 65 tickets waiting. I lowered the season's target from 500 to 250 tickets so the draw matches what one printer and one person can handle.
  • The scheduled review did not run for two days. macOS was blocking the shell it used from reading my Documents folder; I found it in the logs and changed the shell.

Accomplishments that I'm proud of

  • 1,799 tickets printed since August, most of them written by people I have never met.
  • The season runs on its own: answers are reviewed, drawn and printed without me opening the admin page.
  • A ticket's size depends only on its words: the border and typeface never add paper.

What I learned

  • Moderation is two different jobs: safety (is this dangerous?) and editorial (is this an answer to the question?). One model does not do both well.
  • A fair draw needs a number given at the moment an answer arrives, not at the moment of the draw.
  • On a free plan, the cost of a query depends on its shape and on how often it runs, not on how many visitors you have.
  • Designing for paper: no cutting, no wasted space, and a preview that has to match the printer exactly.

What's next

A new question for each season, chosen so that the answers help the people who read them.

What existed before the hackathon

Printomatic started on August 26, 2026, before the hackathon. Already built before October 29:

  • the printing pipeline (website, Cloudflare Worker, database, Raspberry Pi, printer),
  • spam protection, the safety filter and the admin page,
  • Season 1 (open messages, August to October) and its wall of messages (October 2),
  • the open-source version, Print on my desk, published in September,
  • a first version of the season 2 ticket, with a choice of border and typeface, and emoji printing (September),
  • a first version of the random draw and of Claude's review (October 17).

Built during the hackathon (October 29 to November 29), as Season 2:

  • the redesigned ticket: 7 new borders and a new set of 6 typefaces, writing straight onto the ticket, the question at the top,
  • the automatic draw spread over the day (10:00 to 20:00), with no one at the admin page,
  • Claude's review every 15 minutes, with rules for hard stories told to help others,
  • the safety filter sending self-harm flags to Claude's review during the draw,
  • a notification for every answer in my private Discord, so I can follow the season,
  • the opening on November 7, the waiting and closing pages, and the season 2 wall (November 19).

How I used AI

I used AI in two ways.

  1. To build the project: most of the code was written by Claude Code (Anthropic) from my instructions. I decided what the project does, designed the page and the tickets, wrote the moderation rules, chose every trade-off, tested each change on real paper and on my phone, and told Claude what to fix. I can explain how each part works and why it is built that way.

  2. Inside the project: Claude reads the answers in the hat every 15 minutes and sorts them using rules I wrote. Llama Guard 3 (Meta, on Cloudflare Workers AI) blocks unsafe messages before they reach the hat.

Outside resources: open-licence typefaces (VT323, Space Mono and others), Altcha (open source), and Cloudflare's free plan.

Built With

Share this project:

Updates

Submission history