Repository avatar
AI Tools
v1.0.3
active

okf-todo

io.github.dalby-md/okf-todo

Local desktop task manager. AI assistants propose tasks you approve before anything is saved.

Documentation

OKF Todo

Turn emails, notes and spreadsheets into tasks with your own AI assistant. Your data stays on your computer.

OKF Todo is a free, open-source desktop task manager for developers and support staff. Its included MCP server lets Claude Code, Codex, and other compatible assistants propose tasks and checklists that you approve before anything is saved. It also works on its own, offline, and keeps tasks, evidence, and history in a local SQLite database.

Get it from Microsoft Store · Download the Windows installer

OKF Todo task workspace showing checklist progress, attached files, and Timeline history for a failed deployment

Explore the screenshot gallery · Read the user guide · Release notes

From source material to saved tasks

If you use an AI assistant, you can ask it to draft an investigation checklist from incident notes, then review and approve what it saves in OKF Todo. You can also start with an email, a screenshot, a spreadsheet, or meeting notes.

Open Help → OKF layer → Copy prompt in the running app. The prompt includes the actual instruction-file and active database paths for your installation, including a custom database. Give your assistant access to those locations, then provide the source material. See the setup guide.

The Open Knowledge Format (OKF) instructions describe how to work with the task data. The optional MCP server and CLI commands let the assistant act through application services.

OKF bundle Every change to the OKF database bundle is checked for valid structure and working links.

OKF Todo is designed to help an AI assistant with access to local tools turn unstructured work into practical artifacts. Give Codex, Claude Code, or another compatible assistant a customer email thread, support transcript, meeting notes, diagnostic output, or similar source material and ask it to prepare an internal task, investigation plan, customer reply, handover, status update, or another useful artifact.

The application is not dependent on AI. It also works as a traditional desktop To-Do application where you can create, organize, update, and complete tasks entirely through the user interface. No hosted account is required, and your data remains local. See Using OKF Todo day to day for the complete end-user workflow.

For AI-assisted work, the recommended workflow is draft, review, save, verify: ask the assistant to analyze the source without changing anything, review its proposal, explicitly approve any task creation or update, and then read the saved result back. The OKF user guide and MCP user guide provide complete examples and reusable prompts.

An AI assistant can work with OKF Todo in several ways:

  • OKF knowledge layer: give the assistant structured context about OKF Todo's concepts, schema, relationships, integrity rules, and lifecycle conventions. OKF provides knowledge and navigation; it does not itself grant access to task data or perform updates.
  • MCP server: let an MCP-compatible client list, read, create, and update tasks and inspect their timelines through structured tools.
  • CLI commands: let people, scripts, and agents execute application commands from a terminal.
  • Direct SQLite access: let a user, script, or assistant read or write the local database directly when it has permission to access the file and a SQLite-capable tool.
  • Desktop interface: use every task-management feature manually without an AI assistant.

The desktop interface, CLI, and MCP server use the same application services, so their changes consistently apply validation, lifecycle rules, and automatic task history. Direct SQLite writes are also possible, but they bypass those services; the caller is therefore responsible for preserving data integrity and recording any required history.

The desktop application, OKF, and MCP Markdown guides are also the source for the offline in-app Help. The desktop build copies and renders them locally so repository and application guidance stay synchronized.

Optional AI walkthrough

Follow the written example to see how six spreadsheet notes become reviewed tasks and checklists. The sample includes the workbook, setup instructions, and prompts. Written walkthrough · Sample spreadsheet

Share feedback on GitHub about where the workflow helped or got in the way.

Day-to-day work

When a bug report comes in, create an investigation task in OKF Todo. Attach the error screenshot, write down what you found, and add a checklist for the next steps. When you return to the task, the checklist shows what is left and the Timeline shows what changed.

Use OKF Todo to track bug reports, support cases, deployment checks, and follow-ups. Record what you are waiting for and use Act now to find urgent or overdue tasks you can move forward.

Local-first by design

OKF Todo is intentionally different from many modern todo applications.

It does not require:

  • a cloud account
  • a central database
  • a web server
  • a subscription
  • a multi-user backend

The application and its data can remain on your own computer.

This also makes the project useful as an experiment in giving AI controlled access to a small, understandable local application and its data.

Project direction

The current architecture is deliberately simple and local-first.

An open question is whether OKF Todo should remain that way or evolve toward optional multi-user/server functionality, for example with a .NET backend or another server-side database.

Join the project-direction discussion and say what would make OKF Todo more useful to you.

Product Highlights

  • Fast task capture with a title, task type, and preselected task list.
  • Active, ready, urgent, waiting, overdue, completed, and all-task views.
  • HTML and Markdown-capable rich-text editors.
  • Paste, drop, or select images for task bodies.
  • Priorities, deadlines, waiting targets, tags, and optional source references.
  • Checklists with progress shown in the task list.
  • User-managed task lists with a persistent list switcher, global All lists scope, safe deletion, and bulk moves with Undo.
  • File attachments stored inside the SQLite database.
  • Typed relationships between tasks.
  • A combined timeline of comments and automatic change history.
  • Editable task types, priorities, and statuses.
  • Light and dark color schemes with flexible desktop layouts.
  • Complete database backup from inside the application.
  • Offline in-app Help for the desktop application, OKF layer, and optional MCP server.

Available for Windows, macOS, and Linux

Windows users can get OKF Todo from Microsoft Store or download the signed Inno Setup installer from the latest GitHub release.

The GitHub-hosted installer is Authenticode signed by Open Source Developer Søren Dalby. The Microsoft Store package is signed by Microsoft after certification. Packaged installers are not yet available for macOS or Linux; macOS and Linux users can run the app from a source checkout with dotnet run:

dotnet run --project ./Okf-Todo/Okf-Todo.csproj

See Requirements and Run the application for prerequisites and clone instructions. Windows remains the packaged and release-tested platform.

Read the user guide · Set up your AI assistant

Database file

The database is stored under the operating system's local application-data directory:

PlatformTypical database path
Windows%LOCALAPPDATA%\Okf-Todo\okf-todo.db
macOS~/Library/Application Support/Okf-Todo/okf-todo.db
Linux$XDG_DATA_HOME/Okf-Todo/okf-todo.db, or ~/.local/share/Okf-Todo/okf-todo.db when XDG_DATA_HOME is unset or relative

Do not delete this file unless you intentionally want to remove all application data.

Installing, updating, or removing OKF Todo never overwrites or removes the database. Database replacement is available only through the application's explicit restore and reset workflows.

Requirements

Packaged installation is available for Windows. Source builds require:

  • Windows 10 or later, macOS 10.15 or later, or a current Linux desktop distribution.
  • A .NET SDK that supports .slnx solutions (9.0.200 or later), plus the .NET 8 runtime for running this net8.0 application from source.
  • The platform webview used by Photino: WebView2 on Windows, the system WebKit view on macOS, or GTK/WebKit on Linux.

The application targets .NET 8; the solution format requires the newer SDK. See Microsoft’s SLNX tooling requirements. Packaged Windows installations include their runtime.

Run the application

Clone the repository, change to its root directory, and run the application using your shell.

For Bash:

git clone https://github.com/dalby-md/OKF-Todo.git
cd OKF-Todo
dotnet restore
dotnet run --project ./Okf-Todo/Okf-Todo.csproj

For Windows Command Prompt:

git clone https://github.com/dalby-md/OKF-Todo.git
cd OKF-Todo
dotnet restore
dotnet run --project .\Okf-Todo\Okf-Todo.csproj

All following dotnet commands in this README assume the current directory is the repository root.

On first launch, OKF Todo creates its database and initial lookup values automatically. No setup wizard or account is required.

On later releases, pending EF Core migrations are applied automatically before the application reads or writes task data.

Connect an MCP client

Start OKF Todo, open Help → MCP server, and select Copy configuration. The running application supplies the configuration for your installation or source checkout. Follow the MCP setup and usage guide.

MCP supports task discovery, partial edits, lifecycle actions, comments, checklists, relationships, attachments, reversible Trash, and task-list management. See the complete tool reference for available operations and their safety boundaries. Prefer task_patch for partial changes; task_update deliberately replaces editable fields.

The MCP server is listed in the official MCP Registry as io.github.dalby-md/okf-todo and on Glama:

dalby-md/OKF-Todo MCP server

Back up and restore data

Use Protect and maintain your data for backup, restore, sample-data, and reset instructions. The guide describes what a backup includes and the validation, safety-copy, and restart steps for restoring it. Never replace the active database manually while the app is running.

Data and Privacy

OKF Todo is a single-user, local-first application. It has no authentication, cloud synchronization, application telemetry, or external task-system integration. Task data is stored in the local SQLite database. You can copy it out through backups, exports, the clipboard, saved attachments, or tools you authorize to access it. An AI assistant may send supplied material or tool results to its model provider; review its privacy settings before sharing sensitive information.

Development

Build the solution:

dotnet build -c Release

Run the service and MCP tests:

dotnet test .\Okf-Todo.Tests\Okf-Todo.Tests.csproj -c Release

For browser coverage, follow the UI test guide. Installed-product tests have separate prerequisites.

Restore the repository-local EF Core tool and add a migration after changing the physical model:

dotnet tool restore
dotnet tool run dotnet-ef migrations add <MigrationName> --project .\Okf-Todo\Okf-Todo.csproj --startup-project .\Okf-Todo\Okf-Todo.csproj --output-dir Migrations

Commit the generated migration and model snapshot with the model change. The application applies pending migrations automatically at startup.

Product and architecture documentation is listed in the documentation index.

Build the Windows installer

See Windows installer: build, sign, and publish for Inno Setup builds, signing, GitHub releases, and Microsoft Store/MSIX packaging.

AI harness

OKF Todo is built with Codex and Claude Code and is not tied to either. It uses AGENTS.md, skills, and other cross-platform designs.

Testing the installed Windows application

See Installed contract tests for the command and requirements for testing the installed MCP server, command adapter, OKF bundle, and isolated SQLite databases. Use the interactive check plan for native desktop behavior.

License

OKF Todo is licensed under the MIT License. Bundled third-party components retain their own licenses; see the notices included with those components.

No installation packages available.