Butler: I set out to clone a calendar and ended up putting my whole life in SQLite

A quick note before we start: every screenshot in this post comes from a scrubbed copy of my real database. The calendar is a fake in-memory one, project and client names are renamed, and every amount, balance and bank logo is blurred beyond recognition. You get the shape of the thing, not my bank balance.
It was supposed to be a calendar
I really like time.fyi. It's a keyboard-first calendar: press E, type "lunch with Sam tomorrow 1pm", done. Tasks sit next to the week, you drag them onto the grid to timebox them, and ⌘K does everything else.
It's also $7 a month, Google-only, and it lives on someone else's server. So on 22 October I sat down to build my own. The plan was sensible and very 2026:
- Next.js on Vercel
- Neon Postgres for the bits Google doesn't store
- Google OAuth for multiple accounts, encrypted refresh tokens, a cron job every 15 minutes
- A feature table with a big Backlog column for the AI assistant, booking links and time zones
- A row that said Mac menu-bar app: Out
Write that last line down. We'll come back to it.
Commit #1 was already lying to me
The very first commit is 193 files and about 34,600 lines. Its message is a confession in itself:
Initial commit: mycal personal calendar, work sessions, insights, money simulator and menu bar app
A calendar. Plus work sessions. Plus insights. Plus a money simulator. Plus the menu bar app I had explicitly marked as out of scope.
(Yes, it was called mycal back then. Hold that thought too.)
The work sessions part was the honest bit. I've been tracking focus time with the Session app since mid-2022 and I bill clients by the hour, so the data I actually cared about was never "what's on my calendar", it was "where did my time go and what is it worth". Butler imported every session I'd ever logged and drew them right on the grid, next to the meetings.

Press E, type like a human, and chrono-node turns "chai with Sam friday 4pm 45m" into a Friday 4:00 to 4:45 slot. It's still my favourite keystroke in the whole app.
Nine days later I deleted the cloud
On 31 October I made the commit that changed the project: Move mycal into a Tauri app with a Rust core and SQLite. 12,559 lines in, 12,901 out. The project got smaller and better at the same time, which almost never happens.
Here's what I realised. I was about to write OAuth flows, token refresh, encrypted secret storage, webhooks and a cron reconciler, all to fetch data that my Mac already had. Apple Calendar was already signed in to my Google, iCloud and work accounts. It already synced everything. I just needed to ask it.
So now Butler is:
- A Swift helper (about 500 lines) that talks to EventKit: list calendars, list events, create, update, delete, plus Reminders. JSON in, JSON out. That's the entire integration with Google, iCloud and Exchange.
- A Rust core that runs the same
/api/...routes the UI calls, but in-process on a customapi://scheme. No port is ever opened. - One SQLite file in
~/Library/Application Support/. - The React UI from before, shipped as static files inside the app window.
No accounts. No server. No bill. The edits go to Apple Calendar first and only then update the local copy, so a sync can never undo something I did. A live watcher in the helper prints a line whenever anything changes (another device, another app, iCloud) and Butler syncs right after.
The "don't let anyone double-book me" feature from time.fyi survived too. Butler mirrors one calendar's events as plain "Busy" blocks into another, tags them with a marker in the notes, and reconciles them on every sync. It never mirrors a mirror, so A to B plus B to A doesn't turn into an infinite hall of mirrors.

Look at that command menu. "New event", "Toggle tasks", fine. Then "Money: accounts, transactions, card dues". Then two "Investments" entries, one per brokerage. This is a calendar app, allegedly.
The same day, it learned about money
Once everything lived in a local SQLite file, a dangerous thought showed up: what else could go in here?
The answer, it turned out, was my money. On that same 31 October I made ten more commits. In order:
- Import bank and card statements and add the Money page
- Show merchants, categories and transfers
- Add notes and Hubli / Personal / Savings buckets
- Import credit card statements
- Add transactions from bank SMS alerts
- Show bank, card and merchant logos
- Add a folder picker for statements
- Track card bills and put due dates in Apple Calendar
- Show actual spending in the money simulator
- Add a month-by-month spending summary
Number 5 is the one I'm most smug about. If you have an iPhone and Text Message Forwarding on, your Mac quietly keeps every SMS in ~/Library/Messages/chat.db. Indian banks send an SMS for every debit. So Butler reads only the bank sender IDs from that database, parses the alert formats of the big Indian banks, ignores the OTPs and offers, and shows the transaction the moment it happens. When the monthly statement lands, it replaces the alerts it covers.

Number 8 is the one that closes the loop. Card bills become events in Apple Calendar on their due dates. The calendar app that learned about money now puts money back on the calendar.

A merchant parser strips UPI references, payment-processor prefixes (RAZ*, PAYU*), and city suffixes, so a line like UPI-SOMESHOP-somebody@okbank-... becomes "Someshop". The transactions in this screenshot are renamed to generic placeholders, but in real life this list reads like a slightly judgmental diary.
Then it got a personality
The next stretch, early November, was the "life admin" phase:
- Monthly budgets with fixed costs you tick off as they're paid
- A Debts section, because pretending loans don't exist is not a budgeting strategy
- Side hustles, so freelance income stops hiding inside "Other"
- A Vice category. You know why.
- Bangalore gold rates, scraped daily, with a small "should I buy today" signal panel
- Screenshot capture: drop in a screenshot of a chat or a whiteboard, and Claude (through the Claude Code CLI, so no API key) lists what reads like a todo. You review them before anything becomes a task, and the image isn't kept.

The fixed-cost list is the most useful screen in the app for me. It's also the most humbling one. Seeing every subscription lined up with a "Mark paid" button next to it is an excellent way to cancel three of them.
Where did the time go?
The insights page is where the calendar half and the money half finally shake hands. Every focus session is tagged with a project, every project has a client and an hourly rate, so Butler can tell me how much I've billed this month, how that compares to the same point last month, and what I'll land at if I keep this pace.

There's a "Money simulator" next to it that plays out freelance versus building a product, with a Claude-powered coach that reviews my plan like a skeptical advisor. It only ever sees aggregate numbers, never session notes or client names. It is not gentle.

The heatmaps are pure vanity and I love them. The time-of-day one is a little too honest about how late I actually work.
And finally, investments
The latest commits, from today, add an investments overview. Two brokerages connect read-only. Everything else (PPF, NPS, recurring deposits, gold coins, the literal piggy bank) is entered by hand, and as of the very last commit, can even be held in dollars.

So, to recap the scope: a calendar.
Which is also why it isn't called mycal anymore. A name ending in "cal" felt a bit dishonest for something that reads my bank SMS, puts card due dates on my calendar and keeps an eye on gold prices. So this week it got a new one: Butler. Same app, same SQLite file, a name that finally matches the job.
The numbers
- 25 commits in about a month, 22 October to 24 November 2026
- ~9,000 lines of Rust, ~20,000 lines of TypeScript, ~500 lines of Swift
- 16 SQL migrations, tracked with
PRAGMA user_version - 1 SQLite file, 0 servers, 0 accounts, $0 a month
What I actually learned
Local-first is underrated for personal software. The moment I stopped treating my own data as something to fetch from an API and started treating it as a file on my disk, every feature got cheaper. Bank SMS, statements, sessions, holdings: all just more tables.
The OS is the integration layer. Apple Calendar already did the multi-account sync I was about to spend a week building. Messages already had my bank alerts. I didn't need OAuth, I needed to ask my own computer nicely.
Software for one person can be weirdly specific. There is a bucket called "Hubli" in my money page. It exists because I split expenses between two cities. No product manager would ship that. It's my favourite feature.
Scope creep is fine when you're the only user. The plan said "Mac menu-bar app: Out". I built it in the first commit. The plan didn't say "track gold prices" anywhere. I built that too. Nobody filed a ticket. Nobody complained.
What's next
Probably nothing sensible. The backlog still has time zones, booking links and an MCP server so coding agents can check my calendar. Realistically the next commit will be something like "warn me when a subscription quietly raises its price", because that's what bothered me this week.
If you've built something like this for yourself, a tool nobody else will ever use but that runs half your life, I'd love to see it. Find me on Twitter.