Top
Best
New

Posted by cpcloud 10 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.

402 points | 124 commentspage 3
small_model 6 hours ago|
It think this could be extended to other areas, like car (services, new lease etc), health (dentist, doctor etc), vacations, tax, banking... Basically a personal assistant like app that handles "life".
cpcloud 3 hours ago|
Yep, I have a few open issues about this. Cars and tools were next on my list.
atonse 8 hours ago||
This looks awesome but I think I might still prefer to have an agent make these changes. Not sure though.

In general, I love the juxtaposition of the most advanced computer technology ever (AI) causing an explosion in one of the OLDEST computer technology we've ever had (terminals).

I spend most of my day in a terminal now. It's just funny.

cpcloud 7 hours ago|
> This looks awesome but I think I might still prefer to have an agent make these changes. Not sure though.

Not entirely sure what you mean here, but the next big feature for micasa is an autopopulation pipeline. Upload a quote PDF and populate the project, quote, and vendor tables. It might not be viable ultimately, but I would love to see how far I can get.

Overkill? Definitely.

atonse 6 hours ago||
Yep that's exactly what I'm talking about. I don't think it's overkill. It feels very natural and filling out forms feels archaic to me (unless it's a "edit this quickly" where that's almost always faster than asking an agent.)

So I've been building a full piece of software to manage my small business. And it looks like traditional software (forms, tables, etc). But every single thing also has an MCP tool.

So then I find myself just talking to the agent especially as an input mechanism way more than clicking around and editing a form.

I'm just saying, as an input method, I think forms, TUIs, etc will be good as a backup. Over time, as you've outlined, we'd just say "here's a PDF, figure it out" and the agent just inputs the right values into the right fields.

That's how I've approached my run-my-business app. I have models/tables for clients, purchase orders, invoices, support tasks, everything. But my interaction is more like "Add me to all the active projects, set my cost rate to __" and it'll run 15 MCP calls and put the data where it belongs.

Or I'll ask "what invoices are way overdue?" and it'll run the MCP calls to get it, even though I have pretty dashboards.

Glad to see you're already thinking of it.

hilti 7 hours ago||
Wow! This is so cool. I really need to get my hands on TUI. It seems to be a growing trend. Maybe it's a stupid question, because I know about family members that have never opened a terminal - can a TUI app bundled with an icon to simply click and start it?
cpcloud 7 hours ago|
> can a TUI app bundled with an icon to simply click and start it?

Almost certainly. I personally don't use clicky things to the extent that I am able to avoid them, so I can't describe the specific mechanism or name any of the nouns/tools involved, but I'm pretty sure this exists.

cyberge99 5 hours ago||
You just create a shortcut to the binary in the dock or desktop on macos.
bl_valance 3 hours ago||
This is pretty cool and useful. I actually might adapt it to aid me in tracking projects around my dirt bike, similar tracking events.
twostorytower 5 hours ago||
Very cool! When on docs column, and pressing e to edit, it seems to just take you to edit the entire project, with no way to edit docs (which I am not sure what that even is supposed to be, I assume a way to attach files?).
cpcloud 5 hours ago|
This UX was a bit iffy for me, but I thought I'd experiment with it and decided to go with it.

When you edit an ID column, it opens a form editor to edit the entire row at once.

The thinking was to make all columns editable _in some way_, but ID columns are autogenerated and thus not designed to be directly manipulated.

I thought: since the ID represents a unique entity, in this case document, then it made some sense to make editing that editing the whole row.

That said, this is a bug even with the explanation I just gave: editing on the ID column of Docs doesn't show all the row's data in the form. Will fix that shortly.

hunterirving 9 hours ago||
Pretty slick! And I really enjoyed the interactive, destructible house at the top :-)
whiplash451 7 hours ago||
This looks so much better than most project/product management tools out there.

In my wildest dreams, your project would turn into a jira that devs love.

nkrisc 7 hours ago||
This is basically what I want, but with a UI that non-techie spouse wouldn’t mind using. Though that doesn't seem to be your intended direction, which is fair.

We use Apple Reminders for grocery lists and Paprika for recipes, but something a little more organized than just a shared note for these sorts of things would be great.

I will probably check it out for myself though.

edgarvaldes 5 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 5 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 6 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 6 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.
More comments...