maddiedreese
Joined 2 years ago
Joined 2 years ago
1. The iMac G3 loads a page with a form in its browser
2. I type a message and hit send (plain HTML form POST)
3. The Pi Zero 2W I have hooked up receives the form submission and makes an HTTP request to the OpenClaw gateway’s /v1/chat/completions endpoint on the VPS
4. The VPS runs OpenClaw
5. The response comes back through the Pi to the iMac as a page reload with the full conversation
Send a message from my website directly to my receipt printer in San Diego, California.
Built using Cursor, a Raspberry Pi 4B, a generic thermal receipt printer, Convex database, and frontend deployed via Netlify.
Also some help from ChatGPT haha.
It was a really fun build, and my first project like it!
I’ve already received over 700 (mostly incredibly kind) messages from all around the world. It’s been amazing, and I can’t stop thinking of all the fun projects I could build in the future.
I'd be happy to answer questions if anyone would like to build something similar. I’ve also open sourced it at https://github.com/maddiedreese/ticket-printer-os (my first ever open source project, so please reach out if you run into any issues)