Subham
Everything I’ve written

Built Todoer, a TUI in Go to Replace Notion, Todoist & More

Built Todoer, a TUI in Go to Replace Notion, Todoist & More

I've tried Notion, Todoist, Google Tasks, Microsoft To Do, and a long list of others to keep my to-dos in order. They all had the same problem, just in different flavors: either a pile of features I never touch or too few options to actually do what I wanted. So I'd end up flipping between apps and browser tabs, adding a single item through three clicks and a form that wanted more from me than I had to give.

And browsers don't help. Leave a tab idle for a while, and it gets killed off in the background to save memory. Open it again, and it refreshes first. Then I hunt for the little plus (+) icon, click it, and get handed a form with fields I don't care about — when all I wanted was to jot down a quick thing and figure out the details later. Desktop apps aren't much better. (Notion doesn't even ship a Linux desktop app, though I get why.)

Every one of these little frictions adds up, and all of it gets in the way of the thing I was trying to do in the first place: get the thought out of my head and get back to work.

The solution

So I built my own. It doesn't eat my time or my attention. Adding a to-do is just a keystroke — I don't go reaching for the mouse to find a plus button. I press n, a field opens, I type, and I'm done. It lives in my terminal, which is where I already spend most of my day, so there's no context switch and nothing to "open."

Todoer main board

Why a TUI

Where my attention already is, the tool should meet me there, not pull me away.

That's the whole thesis. I'm in a terminal for most of the day, so the to-do app should be too. A few things fall out of that naturally:

  • Fast and keyboard-only. No mouse, no loading spinner, no login screen.
  • My data, on my disk. Everything lives in a plain-ish JSON file at ~/.todoer/data.json. No account, no sync service, no lock-in. I can read it, back it up, or grep it.
  • Go made it easy. A single static binary, cross-platform, and go install and you're running. Charm's Bubble Tea and Lipgloss make building a TUI genuinely pleasant instead of a chore.

The core idea

I didn't want to reinvent project management. I wanted a board I could glance at and act on:

  • Three buckets: TODO / IN PROGRESS / DONE. Kanban, and nothing more.
  • A month calendar to scope work to a day — to-dos sit under the date you've selected, so "today" is just today.
  • A tag sidebar with live counts, plus a stats line up top: Σ total to-dos, ✎ total log entries, # distinct tags.

Calendar and tag sidebar

The features

Here's where the "one keystroke" idea earns its keep. The things I do constantly are single keys:

  • m → reschedule to tomorrow (the one I reach for the most)
  • t → add a tag · l → add a log entry · u → attach a URL
  • n → new · x → delete · , / . → move a card between buckets

Open a card and there's a detail view with everything about it — logs you can tick off as resolved ([✓]), tags, links, status.

The philosophy is simple: if I do it often, it should be one key. That's the exact opposite of the three-clicks-and-a-menu dance I left behind.

GIF: pressing m to reschedule a to-do to tomorrow

Why it replaces the others

Quick capture is table stakes. These are the features that actually made me stop opening the other apps:

  • Daily carry-over. On launch, anything unfinished from before today automatically moves to today, tagged with a ↷ so I know it slipped (the detail view still remembers the original date). No more stale backlog quietly rotting under "last Tuesday."
  • Yearly archiving. Finished items from past years roll off into per-year archive files, so the board stays small and fast no matter how much history piles up.
  • Markdown export by date range. Point it at a week and get a clean Markdown file — instant standup notes or a weekly review I can paste anywhere.
  • Backup & restore from the CLI, with atomic saves (write to a temp file, then rename into place) so an interrupted write can never corrupt my data.
  • Configurable storage location, remembered in config.json — so my data can live wherever I want it, including a synced folder if I choose.

GIF: exporting a week to markdown

Architecture

For the folks who care how it's put together: Todoer is organized into sections — self-contained areas that plug into the shell. Today there are two, Todo and Settings. The shell owns the boring shared stuff (window sizing, the top nav bar, switching between areas); each section owns its own state, keys, and rendering.

The nice part is how little it takes to add a new one. A section is just a package that implements this interface and registers itself from an init():

type Section interface {
    // Nav describes the section's nav bar entry (label + switch key).
    Nav() NavItem
    // CapturesInput reports whether the section is consuming every keystroke
    // right now (e.g. a text field is open), so global nav keys don't steal input.
    CapturesInput() bool
    // Update handles a message and returns the updated section.
    Update(msg tea.Msg) (Section, tea.Cmd)
    // View renders the section body, between the nav bar and footer.
    View() string
    // Footer returns the resting footer text and whether to show it.
    Footer() (string, bool)
}

Want a Notes section? Write a package implementing Section, Register it, and add one blank import from cmd/todoer so its init() runs. The nav bar, key dispatch, and footer pick it up automatically — no edits to the shell.

This is really just the Elm architecture that Bubble Tea gives you — Model / Update / View — applied one level up. Every section is a little Elm app; the shell is the Elm app that hosts them. It sounds fussy, but it's the thing that's kept the codebase from turning into spaghetti as I add features. State changes in one place, rendering is a pure function of state, and there's no tangle of callbacks mutating things behind my back.

Try it

It's a single command:

go install github.com/subhamchbty/todoer/cmd/todoer@latest

That drops a todoer binary in your Go bin directory ($(go env GOPATH)/bin, usually ~/go/bin). Make sure that's on your PATH and you can run todoer from anywhere:

  • Linux (bash): echo 'export PATH=$PATH:$HOME/go/bin' >> ~/.bashrc && source ~/.bashrc
  • macOS (zsh): echo 'export PATH=$PATH:$HOME/go/bin' >> ~/.zshrc && source ~/.zshrc
  • Windows (PowerShell): setx PATH "$env:PATH;$env:USERPROFILE\go\bin" (then open a new terminal)

Then just run todoer. The code's on GitHub: github.com/subhamchbty/todoer.

What I learned

  • Building for exactly one user — me — is liberating. There's no roadmap committee, no "what will users want," no A/B test. Every feature has to earn its place by solving a problem I actually have, and that constraint kept the whole thing lean.
  • Scope discipline is a feature. The app does almost everything I need, on purpose. The stuff I left out is stuff I don't miss.
  • What's next: a date edit feature from the detailed view, a backward date feature opposite of m.

The best to-do app is the one you'll actually open. For me, it turned out that meant building it myself. If you live in a terminal too, give it a try — and tell me what's missing.