Skip to content
Proyectos

Acerca de

⏱ Minimalist CLI task & time manager, written in Haskell.

Herramientas de desarrollo

Cómo se miden estas cifras

What you can do

  • Getting Things Done: capture, clarify, the Inbox, Next, Waiting and Someday views, the weekly review
  • Plain iCalendar tasks (VTODO) other clients read and write, across every configured account
  • Backends: CalDAV, vdir, and pimdir, the offline store Neverest syncs
  • Time tracking kept as events in a calendar of your own: start, stop, status and worktime

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

⏱ Unfog Matrix Mastodon Sponsor

CLI to manage tasks

$ unfog gtd inbox --json
{
  "view": "inbox",
  "query": "kind:task -status:completed -status:cancelled category:inbox",
  "tasks": [
    {
      "shortId": "call",
      "account": "home",
      "tasklist": "tasks",
      "waitedDays": null,
      "id": "call-ada",
      "queued": false,
      "uid": "call-ada",
      "summary": "Call Ada about the lease",
      "description": null,
      "start": null,
      "due": null,
      "status": null,
      "completed": null,
      "priority": null,
      "percentComplete": null,
      "categories": [
        "Inbox"
      ],
      "parent": null,
      "url": null,
      "alarms": [],
      "created": "20261101T000000Z",
      "stamp": "20261101T000000Z",
      "contacts": [],
      "mid": null
    }
  ],
  "errors": []
}

[!NOTE] Unfog 2 is a rewrite in Rust, not released yet: its tasks are plain iCalendar tasks wherever an account keeps them. MIGRATION.md says how a 1.x store comes along.

Table of contents

Features

  • Getting Things Done: capture, clarify, the Inbox, Next, Waiting and Someday views, the weekly review
  • Plain iCalendar tasks (VTODO) other clients read and write, across every configured account
  • Backends: CalDAV, vdir, and pimdir, the offline store Neverest syncs
  • Time tracking kept as events in a calendar of your own: start, stop, status and worktime
  • Unified API for tasklists and tasks, each backend declaring what it serves
  • REPL and MCP server over the configured accounts
  • JSON output of every command, described by unfog json-schema
  • TLS via Rustls (rustls-ring default, rustls-aws) or Native TLS (native-tls)

RFC coverage

RFC What is covered
4791 CalDAV: calendar collections taking VTODO, calendar object resources, the calendar-query report
4918 WebDAV: the PROPFIND, PROPPATCH, MOVE, GET, PUT and DELETE methods CalDAV builds on
5397 Current-user-principal, the first step of the CalDAV discovery walk
5545 iCalendar: tasks (VTODO) and their relations, time entries as transparent events (VEVENT)
6750 HTTP Bearer authentication, for a provider-issued or broker-refreshed API token
6764 The .well-known/caldav context root a CalDAV server is probed at
7617 HTTP Basic authentication

Installation

Unfog 2 is not released yet: install it from the master branch.

Cargo
cargo install --locked --git https://github.com/pimalaya/unfog.git
Nix
nix profile install github:pimalaya/unfog
Sources

Requires Rust 1.89 or later:

git clone https://github.com/pimalaya/unfog
cd unfog
cargo build --release --locked

The binary lands at target/release/unfog.

Once released, the installer will fetch the latest release, its sample configuration beside it:

curl -sSL https://raw.githubusercontent.com/pimalaya/unfog/master/install.sh | PREFIX=~/.local sh

Configuration

A TOML configuration is loaded from every existing path among the following, each one deep-merged on top of the ones before:

  • $XDG_CONFIG_HOME/unfog/config.toml
  • $HOME/.config/unfog/config.toml
  • $HOME/.unfogrc

Override the path with -c <PATH>, repeated to merge several files. Unfog never writes it: run unfog once to be shown how to start one.

[!TIP] See config.sample.toml for a complete configuration of one example account with commented fields; rename the account and uncomment what you need.

Tasks and time entries live in the account's backends, nowhere else. time.collection names the calendar time entries go to, which must take events: a tasklist unfog tasklist create makes takes tasks alone.

Fastmail

Standard CalDAV with an app password. unfog tasklist list names the tasklist ids tasklist.default takes.

[accounts.fastmail]

caldav.server = "https://caldav.fastmail.com/dav/"
caldav.auth.basic.username = "[email protected]"
caldav.auth.basic.password.command = "pass show fastmail"
tasklist.default = "<TASKLIST-ID>"

Local stores

An account reads a vdir home, a directory per tasklist, or the pimdir store Neverest syncs, with no server. A write on pimdir is queued for the next sync, unfog pimdir queue list showing what waits.

[accounts.local]

vdir.root = "~/Tasks"
tasklist.default = "tasks"

Usage

Step 1: once your first account is configured, check that every backend answers:

unfog account check

Step 2: capture what comes to mind:

unfog gtd capture Call Ada about the lease

Step 3: clarify the Inbox, one task at a time, then act on what is next:

unfog gtd clarify
unfog gtd next

Every view spans every configured account unless -a names one, and each command's --help details its flags, exit codes and JSON output. More use cases:

# Clarify a task without a prompt, by the short id a view prints
unfog gtd clarify call --next -C phone

# Walk the weekly review
unfog gtd review

# Keep the time spent on a task, then report the week
unfog task start call
unfog task stop
unfog worktime --since 2026-11-23

# Bring the tasks and the time of a 1.x store
unfog import ~/.config/unfog/store

# Serve the accounts to an AI agent, writes allowed
unfog mcp --allow-write

Alternatives

  • Taskwarrior: a task manager in its own format, synced through its own server
  • todoman: a CLI for the VTODOs of a vdir, a sync tool such as vdirsyncer reaching the server
  • todo.txt: tasks as lines of a plain text file

License

This project is licensed under either of:

Social

Sponsoring

nlnet

Special thanks to the NLnet foundation and the European Commission that have been financially supporting the project for years:

This program is part of Pimalaya, free software funded entirely by grants and donations. If you find it useful, consider sponsoring its development:

GitHub Ko-fi Buy Me a Coffee Liberapay thanks.dev PayPal

Explorar proyectos relacionados

Cargando…