@Alfredolin@sopuli.xyz

member since 14 Jan 2025 08:19

posts

[AIP] WebPrint a self-hosted webUI for your printer

forgejo.hel.alfredolin.eu
preview

DISCLAIMER: This is pretty much 100% AI generated. The project is kept really simple. Before you downvote, make me a generic webui for printers. 😉

I made this project to fill a need I had. I am not collecting internet points here, I don’t care if you don’t like it.

I found Akronae’s repo laying half broken on github, made it work, and thought it was a simple enough project that it could have a rewrite (it needed). I can not participate in Github so here you go, full new repo on an unreliable self-hosted forgejo instance. If you are interested, take it before my hardware fails again. :)

What is it?

It’s a web UI to upload documents and print them. I wanted that to print from any device in my home with zero config on device (think guests, family…). It pairs very nicely with scanserv.js.

It looks like this:

Remarks are welcome, but I do not guarantee maintenance. As we have seen the trend of AI projects not being maintained in time, I don’t expect this project to escape that fate.

And now an attempt to tag: @Shimitar@downonthestreet.eu

Edit: added one screenshot here and 2 other to the repo/readme and added the license GNU AGPLv3.

Edit2, 20260822: After many headaches, I started hosting also a registry (that thing needed to host container images ready to be pulled) and made prebuilt images for amd64/arm64 and started a proper release. You are welcome. Professional stuff, I tell you 😂.

Edit3: Do NOT expose to the internet as of v1.0.0, critical security fixes incoming.

Selfhosting a printer (and scanner) server with UI

preview

I think it would be nice if my guests could easily print and scan when they are visiting.

Printing should be relatively easy nowadays with the printer on the same network. Scanning is another story. I found this nice project which works very nicely.

However, I would love to have the same but for printing, that way I would not have to do device specific troubleshooting/helping when trying to print something from guests’ devices.

There is this project, which has a screenshot of what seems to be exactly what I’m looking for, but the issues are unanswered, there is no release, the building of the project is lacking.

Dockerfiles are incomplete, they are lacking copy yarn.lock and api lacks db initialization. The ports seem to be hardcoded. And once built, it doesn’t work or at least I didn’t manage yet. I got the frontend finally up but can’t login. My knowledge is very limited so I’m checking with you if there is anything similar in the landscape or anyone willing to help on that project. Unfortunately I am locked out of github.

CUPS didn’t work for me as I can’t see an upload option on the web UI.

edit: So I spent time on tweaking the akronae repo, and after a few corrections, adding CUPS and improvements, I managed to get something functional. If I have more time I might publish it. It’s fully vibe coded though 'cause I couldn’t be arsed learning TypeScript and shit, and the original repo has plenty of outdated dependencies which, same, I won’t update because I don’t have the skills.

comments