Show HN: OpenTodo โ€“ a self-hosted, local-first task manager in one Go binary
Hacker News

Show HN: OpenTodo - a self-hosted, local-first task manager in one Go binary

Plan your day without renting your to-do list. OpenTodo is a free, open-source to-do app you run on your own server or have hosted for you.

It works on your phone and your computer, even offline, shares lists with your family or your team, and keeps your data with you.

Try the demo ยท Install ยท Docs ยท Website

New: OpenTodo for iPhone and iPad is in the App Store. It's the first release, a first step: it connects to your OpenTodo server and adds reminders on the phone, the share sheet, a Today widget and Face ID unlock. Expect some rough edges; tell us what to improve.

Ways to run it

  • PikaPods (hosted, no server needed)
  • Docker
  • Umbrel (coming soon)
  • Unraid
  • Home Assistant
  • Kubernetes (Helm)
  • Single binary
  • iPhone and iPad app (App Store)
  • Android app (APK from GitHub; Google Play and F-Droid coming soon)
  • all 20 platforms

Capture

Type a task the way you say it: Call Sarah next Wed 3pm #work p1 sets the date, time, project and priority. Dictate it, send a page from your phone's share menu or the browser extension (Chrome, Firefox), or forward an email. Anything without a home lands in the Inbox.

Quick add ยท Voice ยท Capture

Today

Today shows what is due and what is still open from earlier. Give tasks an estimate and drag them onto the Day or Week calendar to see whether the day fits.

Today ยท Time blocking

Focus

Open one task in Focus and start a Pomodoro, Flowtime or countdown timer. The time is logged to the task.

Focus

Sharing

Share a project with your family or your team as viewer, editor or admin. Assign tasks, comment, and see what changed. Everyone can edit offline.

Sharing

  • Your data stays yours. Everything lives in one folder on your server. Export it at any time, import it anywhere, and schedule backups, encrypted if you like, to disk, S3 or WebDAV. Backups ยท Import and export
  • Works offline on every device. Each phone and computer keeps a full copy, so the app works with no connection and syncs when it's back. Install the app
  • Bring your tasks. Import from Todoist, TickTick, Things, Super Productivity, Microsoft To Do, Apple Reminders and more, with a preview and undo. Import
  • Private by design. No telemetry, no analytics, no third-party scripts. Turn on end-to-end encryption and the server holds only ciphertext. Privacy ยท Encryption
  • Bring your own AI, if you want it. Talk to an assistant in the app, or connect the one you already use. Off by default, and every change can be undone. AI

Comparison

No subscription, no lock-in, no tracking.

OpenTodo Todoist TickTick Things Super Productivity
Open source โœ… โŒ โŒ โŒ โœ…
You can host it yourself โœ… โŒ โŒ โŒ โœ…
Works offline โœ… โœ… โœ… โœ…
Free, with every feature โœ… โŒ โŒ โŒ โœ…
No subscription โœ… โŒ โŒ โœ… โœ…
Optional end-to-end encryption โœ… โŒ โŒ โŒ โœ…
Shared projects โœ… โœ… โœ… โŒ โŒ

โœ… yes ยท โŒ no ยท - No install: open the demo and press Try the demo. You get a private copy with sample data, deleted after a few hours.

Docker

  • On your machine or server:
docker run -d -p 8080:8080 -v opentodo-data:/data ghcr.io/opentodoapp/opentodo:stable

Open http://localhost:8080. The first visit creates your account. No configuration needed.

git clone https://github.com/OpenTodoApp/OpenTodo.git
cd OpenTodo
docker compose up -d

Data is kept in the opentodo-data volume. On a server reachable from the internet, finish setup right after starting it, or set OPENTODO_SETUP_CODE=required (the setup code). Behind a reverse proxy, set OPENTODO_BASE_URL=https://todo.example.com. The image is published for linux/amd64 and linux/arm64.

:stable is the latest release, :1 follows every 1.x release, a minor tag such as :1.5 gets that line's fixes only, a full version such as :1.5.0 pins one release, and :latest follows the main branch. Upgrades from any release since 0.1.0 work directly, and nothing you rely on breaks within 1.x (stability). More in Running with Docker.

Single binary

Download opentodo- - for Linux, macOS or Windows from the latest release and run it. It serves on port 8080 and keeps its data in ./data. To build from source: make build && ./bin/opentodo (Go 1.26+ and Node 22+).

Managed hosting: PikaPods. These links support the project: OpenTodo receives a share when you host through them.

Nothing is required. Every setting is an optional environment variable with a safe default: see the configuration reference. To add people, keep sign-up closed and send invitation links (managing users). The self-hosting handbook covers every platform, TLS, backups, upgrades and monitoring. The ot command-line client is in the CLI guide.

Privacy

The app talks only to your own server: no analytics, crash reporters, update pings or third-party fonts. Two things are on by default and can be turned off: maps for task locations, fetched through your server with no account data, and web push to the service each phone's browser chose. Everything else the server contacts, such as webhooks, backup destinations, single sign-on, email or an AI provider, is something you set up. The audit log never records task content (what is logged).

Docs

Read the docs with screenshots and search at open-todo.app/docs, or in the app under Help. The same pages are in docs/.

  • Start here: getting started ยท all user guides
  • Self-hosting: handbook ยท configuration ยท backups
  • Build on it: REST API ยท OpenAPI description ยท CLI ยท AI and agents ยท stability
  • Project: changelog ยท roadmap ยท security

API

Every server describes its API at /api/v1/openapi.json (OpenAPI 3.1, generated from the code, stable through 1.x). Point a generator at it and you have a typed client:

curl -s https://todo.example.com/api/v1/openapi.json -o openapi.json
npx openapi-typescript openapi.json -o opentodo.d.ts

The same file is docs/openapi.json and an asset of every release. Sign in with an API token from Settings โ†’ Integrations โ†’ API tokens; the API guide has the details, and ot, the Obsidian plugin and the n8n nodes are clients built on it.

Under the hood

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ device โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ server โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚ React PWA โ”€โ”€โ–บ IndexedDB (source of truth) โ”‚ โ”‚ Go binary + SQLite โ”‚
โ”‚ โ”‚ every edit = field ops {ts, device} โ”‚ sync โ”‚ ops log (append-only) โ”‚
โ”‚ โ””โ–บ outbox โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ–บโ”œโ”€โ”€โ”€โ”€โ”€โ–บโ”‚ fields (last-writer-wins) โ”‚
โ”‚ โ—„โ”€ ops from other devices โ—„โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”คโ—„โ”€โ”€โ”€โ”€โ”€โ”ค REST, CalDAV, email, import โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ”‚ all write through ops โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
  • Every change is a small operation that sets one field of one entity, stamped with a hybrid logical clock and the device id.
  • Devices apply changes locally first, then sync. The same per-field rule runs everywhere, so all devices agree no matter the order. Notes merge character by character.
  • The REST API, CalDAV, email and imports write through the same log, so a task created with curl shows up on your phone right away.
  • One Go binary with the web app inside and a single SQLite file. It idles at about 20 MB of memory and runs on a Raspberry Pi. More in architecture and the sync protocol.

Contribute

  • Star and share. A star on GitHub helps other people find OpenTodo.
  • Leave feedback in Discussions or on Discord.
  • Report bugs in issues.
  • Review a translation. The app speaks eight languages; tell us where a word feels wrong (translating).
  • Test it on your devices and report back in the call for testers.
  • Answer questions from other people in Discussions and on Discord.
  • Sponsor: buy me a coffee or GitHub Sponsors.

To contribute code, read CONTRIBUTING.md: changes that alter behaviour start as an OpenSpec change. Security issues go to the address in SECURITY.md.

License and support

OpenTodo is free and always will be. If it helps you, you can buy a coffee or sponsor it; the support page says what it costs to run and where the money goes. Thank you to everyone who keeps OpenTodo going. Supporters who want to be listed appear here.

AGPL-3.0-only. You can run, study, modify and share OpenTodo freely. If you offer a modified version as a network service, you must offer its source under the same license. That is what keeps a self-hosted project from being quietly turned back into a subscription.

Read on Hacker News ↗ ← Back to News

Comments

No comments yet. Start the discussion.