Top
Best
New

Posted by cpcloud 11 hours ago

Show HN: Micasa – track your house from the terminal(micasa.dev)
micasa is a terminal UI that helps you track home stuff, in a single SQLite file. No cloud, no account, no subscription. Backup with cp.

I built it because I was tired of losing track of everything in notes apps, and "I'll remember that"s. When do I need to clean the dishwasher filter? What's the best quote for a complete overhaul of the backyard. Oops, found some mold behind the trim, need to address that ASAP. That sort of stuff.

Another reason I made micasa was to build a (hopefully useful) low-stakes personal project where the code was written entirely by AI. I still review the code and click the merge button, but 99% of the programming was done with an agent.

Here are some things I think make it worth checking out:

- Vim-style modal UI. Nav mode to browse, edit mode to change. Multicolumn sort, fuzzy-jump to columns, pin-and-filter rows, hide columns you don't need, drill into related records (like quotes for a project). Much of the spirit of the design and some of the actual design choices is and are inspired by VisiData. You should check that out too. - Local LLM chat. Definitely a gimmick, but I am trying preempt "Yeah, but does it AI?"-style conversations. This is an optional feature and you can simply pretend it doesn't exist. All features work without it. - Single-file SQLite-based architecture. Document attachments (manuals, receipts, photos) are stored as BLOBs in the same SQLite database. One file is the whole app state. If you think this won't scale, you're right. It's pretty damn easy to work with though. - Pure Go, zero CGO. Built on Charmbracelet for the TUI and GORM + go-sqlite for the database. Charm makes pretty nice TUIs, and this was my first time using it.

Try it with sample data: go install github.com/cpcloud/micasa/cmd/micasa@latest && micasa --demo

If you're insane you can also run micasa --demo --years 1000 to generate 1000 years worth of demo data. Not sure what house would last that long, but hey, you do you.

450 points | 143 commentspage 4
edgarvaldes 7 hours ago|
Super cool. Installed. It would be great if the f and b keys for moving between navigation elements circle back to the first element once reached its end.
cpcloud 7 hours ago|
Heh, I actually turned that off because I kept getting confused about where I was. Perhaps there's a better UX there, or better styling that would make me less confused and keep the nav wrapping.
numbers 8 hours ago||
I love TUIs and I love the way this looks and the concept behind it, but often I'm doing household stuff on my phone because I'm walking around checking on things or just taking photos of things.
cpcloud 8 hours ago|
Yes, one of the other comments alluded to this as well. I am also in this boat, so other than bizarroland LLM ingest stuff, I'll probably work on this next. Having never written a mobile app, I'm sure it'll be fine.
mattw2121 9 hours ago||
I created a basic site to do some similar things as well: https://homemaintlist.com/

Need to revisit it and update it based on a lot of feedback I've received.

cpcloud 9 hours ago|
I definitely waffled a bit on multi-property support, but decided against it for initial launch. Multi-property avid terminal users seems even more niche!
smartmic 11 hours ago||
> Not sure what house would last that long

Not necessarily houses, but there are some old buildings around almost everywhere: https://en.wikipedia.org/wiki/List_of_oldest_extant_building...

beardsciences 11 hours ago||
This is looking pretty good. Going to run some sample data runs + might try this out.
max8539 9 hours ago||
Looks nice, I like this TUI aesthetic, but I’m not sure I could use it on a daily basis. A self-hosted app or phone app might be more convenient
cpcloud 9 hours ago|
100% on the phone app. Maybe the web app is the phone app? Dunno. Being able to enter information as close to receiving as possible seems key actually. I'll probably poke on this soon.
max8539 8 hours ago||
It could be a native mobile app, but in that case you’d need to think about platforms, the App Store, and so on.

A progressive web app could be a nice alternative: just add the website icon to your phone, and you can open it in seconds.

The app could be self-hosted on a home server, and solutions like Tailscale would let you easily access it outside the house as well. A big plus is that you can open it on all your devices and have a unified database across them.

With a web app, you could even keep the TUI aesthetic - just style it like a CLI interface.

HoldOnAMinute 11 hours ago||
That is a beautiful TUI!
blaze33 8 hours ago||
I love the logo, go ahead and click it!
amelius 9 hours ago||
Why not keep everything in a simple text file?
cpcloud 9 hours ago|
I'm not sure if you're asking whether micasa should use a text file as its format, or if you're suggesting that a text file can be a substitute for micasa.
amelius 9 hours ago||
The latter.

I do things in my house too infrequently that I don't want to have to re-learn the UI of a tool again and again.

But maybe I'm not the target audience.

cpcloud 8 hours ago||
I often find myself wanting answers to questions that require linking data, and I also want to codify those links somehow, so a single-file, row-oriented database seemed like the appropriate way to get that.

You might actually be able to get away with less structure and just dumps thoughts and ideas, statuses, and documents into $AI and have it generate ad-hoc reports.

In which case, a text file might be the right interface.

Kind of a non-answer, I realize.

I suppose the answer is: because I had a relatively specific idea of what I wanted to build and I didn't consider not building it.

icar 8 hours ago|
Pretty cool

mise use -g github:cpcloud/micasa

and just start typing. I wish it had metric units and was translated, though!

cpcloud 7 hours ago|
Nice. I would definitely consider making it locale sensitive.
More comments...