| Crates.io | cfait |
| lib.rs | cfait |
| version | 0.4.8 |
| created_at | 2025-11-25 23:50:30.873987+00 |
| updated_at | 2026-01-20 23:54:32.955578+00 |
| description | Powerful, fast and elegant task / TODO manager. (GUI & TUI, CalDAV & local) |
| homepage | https://codeberg.org/trougnouf/cfait |
| repository | https://codeberg.org/trougnouf/cfait |
| max_upload_size | |
| id | 1950666 |
| size | 4,054,391 |
Cfait is a powerful, fast and elegant task manager. (CalDAV and local, GUI, TUI, and Android clients)
Cfait is a task manager / TODO list for people who want speed, efficiency, and ownership of their data.
It connects to any standard CalDAV server (Radicale, Xandikos, Baikal, Nextcloud, iCloud, etc.) so your tasks aren't locked inside a proprietary walled garden. It's written in Rust, meaning it starts instantly and handles large lists without stuttering.
You can use it comfortably from the command line (TUI), on your desktop (GUI), or on the go with the native Android app. It's built "offline-first," so you can keep working without an internet connection and Cfait will sync your changes the next time you go online.
Table of Contents
Buy cookies @tomorrow @@bakery !1 is parsed instantly into a high-priority task due tomorrow at the bakery.#dev:cfait or #cooking:cookies, and locations like @@home:office or @@store:aldi:downtown.#blocked).#gardening:=#fun,@@home or @@aldi:=#groceries,#shopping applies the alias immediately and saves it for future use (retroactive).| Desktop (GUI & TUI) | Mobile (Android) |
|---|---|
![]() The Graphical Interface in v0.4.6 (history) ![]() The Terminal Interface in v0.4.6 (history) |
![]() The Android client in v0.4.6 (history and more) |
yay -S cfait (or cfait-git).deb file from the releases page. (Req. Ubuntu 24.04+ / Mint 22+ / Debian 13+).tar.gz binary tarball from the releases page. (Req. glibc 2.39, e.g. Fedora 40+).zip archive from the releases page. Contains both cfait.exe (TUI) and cfait-gui.exe (GUI).Requires Rust (latest stable version recommended).
# Install TUI only
cargo install cfait --release
# Install GUI
cargo install cfait --features gui --bin gui --release
Replace cfait with . to build locally.
Remove --release to build in debug mode. (Much faster compilation, much slower execution.)
Requires Android NDK and cargo-ndk.
# Set up Android NDK environment variables
export ANDROID_NDK_HOME=/path/to/android-ndk
export ANDROID_NDK_ROOT=/path/to/android-ndk
# Build native libraries for Android architectures
cargo ndk -t aarch64-linux-android -t x86_64-linux-android \
-o ./android/app/src/main/jniLibs build --release --lib --features mobile
# Generate Kotlin bindings
cargo run --features mobile --bin uniffi-bindgen generate \
--library target/aarch64-linux-android/release/libcfait.so \
--language kotlin --out-dir ./android/app/src/main/java --config uniffi.toml
# Build APK using Gradle
cd android
./gradlew assembleRelease
The APK will be in android/app/build/outputs/apk/release/.
You don't need to click through menus to set the due/start date, length, priority, recurrence, tags, location,... Just type.
| Property | Syntax | Description |
|---|---|---|
| Priority | !1 |
1 is highest (critical), 9 is lowest. 5 is normal. |
| Due Date | @ / due: |
When the task must be finished. |
| Start Date | ^ / start: |
When you plan to start (hides from "active" views until then). |
| Recurrence | @ / rec: |
How often the task repeats. |
| Duration | ~ / est: |
Estimated time (~30m, ~1h, ~1h-2h). |
| Tag | # |
Categories. Use : for hierarchy (e.g. #gardening:tree_planting). |
| Location | @@ / loc: |
Where the task happens. Supports hierarchy like tags (e.g. @@home:office, @@store:aldi:downtown). |
| Reminder | rem: |
Set an notification. (e.g. rem:10m, rem:8am, rem:tomorrow 9:00). |
| Calendar Event | +cal / -cal |
Override calendar event creation (per-task). +cal forces event creation, -cal prevents it. |
You can also type url: (e.g. url:https://trougnouf.com), geo: (e.g. geo:53.046070, -121.105264), and desc: (e.g. desc:"a description" or desc:{une description})
Escaping: If you need to use special characters literally in your task summary (like #, @, !), prefix them with a backslash: \#not-a-tag \@not-a-date.
You can use absolute ISO dates or natural language relative offsets.
today, tomorrow1d (days), 1w (weeks), 1mo (months), 1y (years).
@2d = Due in 2 days.^1w = Start in 1 week.^@tomorrow = Start and Due tomorrow.@2 weeks works the same as @in 2 weeks@friday, @monday, etc. (or with "next": @next friday)
@next week, @next month, @next year
Recurrence rules determine when the next task is created after you complete the current one.
@daily, @weekly, @monthly, @yearly.@every X unit.
@every 3 days@every 2 weeks@every <weekday> or @every <weekday1>,<weekday2>,...
@every monday (every Monday)@every monday,wednesday,friday (Mon/Wed/Fri)@every tue,thu (Tuesday and Thursday)mo,tu), abbreviated (mon,tue), or full names (monday,tuesday)Morning routine @daily â starts and is due today, repeats dailyYoga class @every monday â starts and is due next Monday, repeats weekly@daily, @weekly, etc., the first occurrence is today@every monday, @every monday,wednesday,friday, etc., the first occurrence is the next matching dayuntil <date> - Sets an end date for the recurrence (RRULE UNTIL). The end date is inclusive (the task will occur on that date).
@daily until 2025-12-31 (repeats daily until December 31st)@every 2 weeks until 2026-06-30 (repeats every 2 weeks until June 30th)except <value> - Skips specific occurrences.
@weekly except 2025-01-20 (skips January 20th)@daily except 2025-12-25,2026-01-01 (skips multiple dates)@daily except mo,tue or @daily except monday,tuesday or @daily except saturdays,sundays@monthly except oct,nov,dec or @weekly except march (excludes entire months)@monthly except oct,november,dec,january (short and long forms work together)Supported units for ~ duration estimates: m (minutes), h (hours), d (days), w (weeks), mo (months), y (years).
You can specify a single point estimate or a range.
~15m (15 minutes)~30m-1h (Range: 30 to 60 minutes)~1.5h (1 hour 30 minutes)Set alarms to notify you about tasks. Reminders can be relative (recalculated when due date changes) or absolute (fixed time).
rem:10m = 10 minutes before due date, rem:1h = 1 hour before due date
rem:in 5m = 5 minutes from now, rem:in 2h = 2 hours from now
rem:next friday = Next Friday at default time, rem:next week = 7 days from now
rem:8am = Today (2025-01-15) at 8am, rem:2025-01-20 9am = January 20th at 9am
rem:2025-12-31 10:00 (Absolute: specific date and time)
"Buy cookies !1 @2025-01-16 #shopping rem:2025-01-16 8am"
"Exercise @daily ~30m #health rem:8am"
"Update server certificates @2025-12-31 ^2025-12-01 @every 2 years rem:1w"(Due Dec 31, start working on it 1 month prior, reminder 1 week before)
"Water plants @every 3 days until 2025-06-30"(Every 3 days until end of June)
"Water plants @@home @monthly except oct,nov,dec,jan,feb,mar"(Monthly watering, skip winter months)
"Practice handstands @daily except saturdays,sundays"(Daily practice, weekdays only)
"Yoga class @every tue,thu until 2025-12-31"(Tue/Thu classes until end of year)
"Gardening @saturday @weekly except march"(Saturday gardening, skip March entirely)
"Plant plum tree #tree_planting !3 ~2h"and"#tree_planting:=#gardening,@@home"
Bouldering @@Charleroi:Maniak @every 23 days until 2026-09-20 @in 23 days
Sweep the floor @weekly #chore @@home
The syntax highlighting should visually let you know whether your statements are valid.
Define global shortcuts using :=. Aliases can inject tags, locations, priorities, or other properties. This applies to the past, present, and future tasks. (It may take some time to update all affected tasks.)
Tag Aliases:
#tree_planting:=#gardening,@@home,!3Plant plum tree #tree_planting ~1h expands to:
#tree_planting #gardeningLocation Aliases:
@@aldi:=#groceries,#shopping or loc:aldi:=#groceries,#shoppingBuy milk @@aldi expands to:
#groceries #shoppingHierarchical Aliases: Both tags and locations support hierarchy. Child locations/tags automatically inherit parent aliases.
#gardening:tree_planting â matches both #gardening:tree_planting and parent #gardening aliases@@store:aldi:downtown â matches @@store:aldi:downtown, @@store:aldi, and parent @@store aliasesNote: If your alias contains spaces, "quote it" or {put it between brockets}, e.g. #"tree planting":=#gardening or @@"somewhere else":=#location. You can define aliases inline while creating tasks, as standalone statements, or in the Settings.
The search bar isn't just for text. You can use operators (<, >, <=, >=) to filter your list precisely.
is:ready - Shows only actionable tasks right now (not completed/cancelled, start date passed or not set, or blocked)is:blocked - Shows only blocked tasks (blocked by dependencies or #blocked tag - excluded from urgent/due soon/started bins)is:done / is:active / is:startedis:ready #work, is:ready ~<1h!)!<2 (Priority 1 only - Critical)!>=5 (Normal or lower priority)@ / ^)Date filters support relative dates for both due (@) and start (^) dates, plus a "not set" operator (!):
@<today (Overdue tasks)^<today (Started before today)@>tomorrow (Due after tomorrow)^>1w (Start more than 1 week from now)@<=2d (Due within the next 2 days)^<5d (Start within the next 5 days)!):
@<today! (Overdue OR no due date)^>1w! (Start later than 1 week OR no start date)@<=2025-12-31! (Due before Dec 31 OR no due date)~)~<30m (Matches tasks where the minimum duration is < 30m. Matches ~15m-45m because 15 < 30).~>2h (Matches tasks where the maximum duration is > 2h. Matches ~1h-3h because 3 > 2).~30m (Matches if 30m falls within the task's estimated range).#gardening (Contains this tag)#work:project (Matches tag or any sub-tag like #work:project:urgent)@@home (Matches location field)@@store:aldi (Matches location or any sub-location like @@store:aldi:downtown)You can combine multiple filters: is:ready !<4 ~<1h #gardening (actionable high-priority gardening tasks under an hour).
Cfait organizes tasks in the following order:
Within each rank: Tasks sort by priority â due date â name (except ranks 2, 3 & 4 which sort by due date first).
Notes:
Cfait can automatically create calendar events (VEVENT) for tasks with dates, making them visible in any CalDAV calendar app.
Enable:
create_events_for_tasks = true to ~/.config/cfait/config.tomlWhen you toggle this setting on, events will be retroactively created for all existing tasks with start and/or due dates.
Per-Task Control: Use +cal to force enable or -cal to disable for specific tasks:
Playing Terraforming Mars ^tomorrow 2pm ~4h +cal
Very private task @tomorrow -cal
Behavior:
Events Cleanup:
Export your local tasks to standard .ics (iCalendar) format for backup or sharing with other applications.
TUI (Command Line):
# Export to file
cfait export > backup.ics
# View export content
cfait export
# Pipe to other tools
cfait export | grep 'SUMMARY'
GUI (Desktop):
Android:
The exported .ics any CalDAV-compatible application.
If you are using the Terminal interface, here are the essentials (Press ? inside the app for the full interactive help menu.).
Navigation & Views
Tab: Switch focus (Tasks â Sidebar)j / k: Move selection Down / Up1 / 2 / 3: Switch Sidebar (Calendars / Tags / Locations)/: Search tasksTask Management
a: Add taske / E: Edit title / Edit descriptionSpace: Toggle Done statuss: Toggle Start / PauseS: Stop (Reset to Needs Action)x: Cancel taskd: Delete taskOrganization & Hierarchy
y: Yank task ID (Copy)b: Mark selection as Blocked by yanked taskc: Make selection a Child of yanked taskl: Link selection as Related to yanked task> / <: Indent / Outdent (visual depth)+ / -: Adjust PrioritySidebar Actions
Enter: Toggle filter / Select calendarSpace: Toggle visibility (show/hide layer)*: Isolate (hide all others)Note: The sidebar shows hierarchical tags and locations. For example, if you have tasks with #work:project:urgent and #work:meeting, they'll be organized under the #work parent in the sidebar.
The GUI also supports / for search and a for adding tasks.
The configuration file is documented in https://codeberg.org/trougnouf/cfait/wiki/Configuration
If you enjoy using Cfait, consider supporting the developper:
BE77 9731 6116 6342bc1qc3z9ctv34v0ufxwpmq875r89umnt6ggeclp979ltc1qv0xcmeuve080j7ad2cj2sd9d22kgqmlxfxvhmg0x0A5281F3B6f609aeb9D71D7ED7acbEc5d00687CBCfait does not collect data; data is stored on your device and on your CalDAV server.
GPL3
Cfait works with any standard CalDAV server. If you don't have one yet, here are some suggestions:
Self-Hosted
Free & Managed
You can also use the Local calendar entirely offline (and there is the possibility to migrate to and synchronize with a CalDAV server at a later time).
Note that Open-Xchange-based servers (such as mailbox.org) are not supported because they only support a subset of the CalDAV standard.
Have a question, found a bug, a great idea, or just want to chat?