this post was submitted on 14 Nov 2025
96 points (98.0% liked)

Selfhosted

61451 readers
377 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS
 

And I just made an HTTP endpoint in golang that outputs PNG labels with small QRs just as I need them, to print out on my Bluetooth label printer.

you are viewing a single comment's thread
view the rest of the comments
[–] BOFH666@lemmy.world 9 points 9 months ago (1 children)

Please elaborate,

The software looks ok, will install. UI looks like spoolman, no bs, just works. I like it.

But; what's with the label printer? Creating qr with a url to the inventory system looks handy.

I always have to dig thru gmail for order confirmations when I want to know where stuff was bought. This looks like a great solution for a first world problem.

[–] rcmd@lemmy.world 12 points 9 months ago (1 children)

I keep track of lots of vintage devices in my basement, these lay on a CD shelf with narrow walls, and I want to keep track of their maintenance status, i.e. when did I charge the battery last time.

This little printer is pretty handy for labeling tasks, with one noticeable problem: the resolution is quite low, so I cannot afford printing full length domain name on such a tiny label. What I ended up with is writing my own microservice that puts fake http://i.nv/ domain in front of inventory ID. That domain is provided by DNSMASQ that I run on my server, and there's also NGINX listening for that domain and doing 302 onto an actual Homebox page.

Homebox sends URL parameters to the specified endpoint, and given that information it is possible to construct any label of any shape or form, it only needs to be a PNG image.

[–] BOFH666@lemmy.world 10 points 9 months ago (1 children)

Thanks for the answer!

Just bought a phomemo, looks like smart folks created a cups driver for it. (Ab)using dnsmasq and nginx is clever, will keep that in mind.

Perhaps not relevant in your case, but if you print qr, the caps of your links also affect the amount of data in the code:

https://hackaday.com/2025/02/26/shout-for-smaller-qr-codes/

[–] rcmd@lemmy.world 6 points 9 months ago

Surprisingly, it works! I just checked it on my microservice, indeed now QRs are smaller. This is a lifesaver tip, thanks a bunch!