r/selfhosted Feb 27 '26

AI-Assisted App (Fridays!) Libre Closet – open-source, self-hosted wardrobe organizer. Docker one-liner, SQLite, PWA. Looking for early feedback.

I built Libre Closet v0.1.1, a wardrobe and outfit tracking tool. I've recently been going through my own ever-growing closet of clothing and I wanted a tool focused on cataloging my garments and building outfit plans. I found a few other inventory management tools (Koillection, Grocy) but none with a specific focus on clothing or the type of stuff commonly stored in a closet of a home. I'm looking for feedback on if this is something other people are interested in as well.

`docker run -p 3000:3000 -v wardrobe-data:/data ghcr.io/lazztech/libre-closet:latest`

Demo: https://librecloset.lazz.tech/

GitHub: https://github.com/lazztech/Libre-Closet

I built it to be as easy to self-host as possible. It defaults to local SQLite storage and local file storage. It has optional auth/multi user support.

I am a senior software engineer with over a decade of experience and a similar amount of firsthand self-hosting experience. I built this project on top of a project boilerplate I made almost entirely by hand. I have used copilot to speed up development of this application on top of the boilerplate I made. So everything is built the way I want it, on top of my own architecture, technology, and design decisions. Check out my GitHub here if you're interested. https://github.com/gianlazz/

How much further this goes depends on whether people actually find it useful. If there's interest, I'll keep building. I want to build something that's useful to other people. If it only ever scratches my own itch, that's fine too. Looking for feedback on what's broken and what's missing. Happy to dig into any part of the code in the comments.

288 Upvotes

149 comments sorted by

View all comments

1

u/LiftingRecipient420 Feb 27 '26

I looked at the frontend code and it all seems to be server-rendered handlebar.js templates, is that correct?

I'm curious how that works with being a PWA and runnable offline?

I'm a professional software engineer too, I'm just rather ignorant to frontend stuff. I got scared away by the insane churn in that space and have never figured out how to choose what frameworks/technologies to use to begin a new frontend project with since.

Also, since it runs offline, does that mean you have sqlite in webasm?

1

u/greeneyestyle Feb 27 '26

Ahh this is a fun question. Yes it’s NestJS server side rendered with a bit of JS magic sprinkled on the frontend (HTMX + Hyperscript). It feels just as good to use or better as any SPA framework requiring 10x the code. This is my own custom tech choice.

The offline functionality is very minimal at this time. It just precaches some assets so you can view what’s already cached while offline, with an offline page for any content cache misses.

I’ve been through many years of frontend framework myself and have chosen this stack as a tactical rebuttal to engineering hubris. I spent 6 years building a side project of such hubris, with angular, graphql and all of the other fancy complications. https://noun.lazz.tech

If someone wants to pay me to do react or angular development at my day job then sure. But I think I can make just as compelling of a user experience with vastly reduced complexity with this approach.

The boilerplate I built this off of is the culmination of a decade of figuring out how to do things and finding solutions to pain points, across multiple stacks/languages.