Brick Printer banner

Brick Printer

3 devlogs
20h 10m 7s

This project is basically a compilation of workers for many things. Currently, i have a printing worker, that prints files sent to [email protected] to my printer! You can also view your printing jobs in the Brick Dashboard!

This project uses AI

I used AI to generate GH Actions and the Dockerfile. I also used it on a Cloudflare Worker that I later ended up moving to another repo since it was causing syncing issues with the CF deploy.
AI was also used to generate nearly all of the Brick Dashboard. For fairness reasons, I didn’t count its time for flavortown.

Demo Repository

Loading README...

Afonso

Shipped this project!

Hours: 10.24
Cookies: 🍪 96
Multiplier: 9.33 cookies/hr

As you can see per the previous devlogs, i implemented a new dashboard and authentication system, where you are able to see what you sent to the printer.
I really liked how it turned out, but there’s still lots of room for improvement. It was really challenging debugging Cloudflare routing emails, since they are a bit annoying. :)

Afonso

I implemented a new system that allows you to see your print jobs in the Brick Dashboard. You can see if your job is approved, pending, or rejected.

There’s also print credits! Print credits are the cost for your print. If you have enough print credits, your job will go trough automatically. If you don’t, it will then go to a pending state that an admin can either approve or reject.

Commits

Attachment
0
Afonso

Hi! I implemented an authentication system, that in the future will allow you to see your print jobs/other printer-related things. You are able to login via email OTP or password.
Below is an example of what a user model looks like!

Commits

Attachment
0
msw

Tagged your project as well cooked!

🔥 msw marked your project as well cooked! As a prize for your nicely cooked project, look out for a bonus prize in the mail :)

Afonso

Shipped this project!

Hours: 9.93
Cookies: 🍪 153
Multiplier: 15.42 cookies/hr

I built an automation worker that receives emails from my printer’s email ([email protected]) and prints its files in my printer. I’m happy that it finally worked. I’m not proud of the CF worker amp vibecoding, but i guess failure is a way to learn more :)

Afonso

Hi hi! Wow, first devlog has nearly 10h lol. What i did here is basically set up the project, and made the functionality that prints files whenever i send them to my printer’s email!
In this time, i also did a lot of trial and error with Amp for the Cloudflare Worker. I ended up removing in it a commit (you can find at https://github.com/afonsoingles/brick-core/commit/162f415fc240b1d63ae05d6d8ffc6ab5e04fa6f8) since it didn’t work properly.
Below are some pictures of the errors that the printer gives when you didn’t send any files and a message for when you are not authorized to print.

Attachment
Attachment
1

Comments

kashsuks
kashsuks about 1 month ago

really cool project! modern day fax