Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

trougnouf/cfait

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Cfait -- Take control of your TODO list

Cfait is a powerful, fast and elegant CalDAV task manager.

Releases F-Droid Test status License


Cfait is a task manager 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

โœจ Features

  • Smart Input: Type your tasks naturally. Buy cookies @tomorrow @@bakery !1 is parsed instantly into a high-priority task due tomorrow at the bakery.
  • Hierarchical Tags: Organize deeply with tags like #dev:cfait or #cooking:cookies.
  • Dependencies: Block tasks until others are done. You can create parent/child tasks or loose dependencies (RFC9253).
  • Recurrence: Powerful repetition rules for habits and recurrent tasks.
  • Inline Aliases: Define shortcuts on the fly; typing #gardening:=#fun,@@home applies the alias and location immediately and saves it for future use.
  • Cross-Platform: Runs on Linux, Android, and Windows. (Probably on MacOS too.)

๐Ÿ“ธ Screenshots

Desktop (GUI & TUI) Mobile (Android)
Cfait GUI Screenshot
The Graphical Interface in v0.3.3 (history)

Cfait TUI Screenshot
The Terminal Interface in v0.3.3 (history)
Cfait Android Screenshot
The Android client in v0.3.3 (history)

๐Ÿš€ Installation

๐Ÿง Linux

  • Arch Linux (AUR): yay -S cfait (or cfait-git)
  • Debian/Ubuntu/Mint: Download the .deb file from the releases page. (Req. Ubuntu 24.04+ / Mint 22+ / Debian 13+)
  • Generic: Download the pre-compiled .tar.gz binary tarball from the releases page. (Req. glibc 2.39, e.g. Fedora 40+)

๐Ÿ“ฑ Android

  • F-Droid
  • Google Play: Submitted, currently in testing. More testers are needed for inclusion in the Play Store, please contact me.
  • APK: Download the latest universal APK from the releases page.

๐ŸชŸ Windows

  • Download the .zip archive from the releases page. Contains both cfait.exe (TUI) and cfait-gui.exe (GUI).

โš™๏ธ From Source (Rust)

Requires standard system libraries (openssl, alsa, fontconfig, x11, xkbcommon).

# Install TUI only
cargo install cfait

# Install GUI
cargo install cfait --features gui --bin gui

Replace cfait with . to build locally.

โŒจ๏ธ Smart Input Syntax

You don't need to click through menus to set the due/start date, length, priority, recurrence, tags, location,... Just type.

Basics

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 to complete.
Tag # Categories. Use : for hierarchy (e.g. #gardening:tree_planting).
Location @@ / loc: Where the task happens. (e.g. @@home, @@"somewhere else".

You can also type url: (e.g. url:https://www.trougnouf.com), geo: (e.g. geo:53.046070, -121.105264), and desc: (e.g. desc:"a description" or desc:{une description})

Date & Time Formats

You can use absolute ISO dates or natural language relative offsets.

  • Keywords: today, tomorrow
  • Offsets: 1d (days), 1w (weeks), 1mo (months), 1y (years).
    • @2d = Due in 2 days.
    • ^1w = Start in 1 week.
  • Natural: @in 2 weeks, ^in 3 days

Recurrence

Recurrence rules determine when the next task is created after you complete the current one.

  • Presets: @daily, @weekly, @monthly, @yearly.
  • Custom: @every X unit.
    • @every 3 days
    • @every 2 weeks

Duration Units

Supported units for ~ duration estimates: m (minutes), h (hours), d (days), w (weeks), mo (months), y (years).

  • ~15m (15 minutes)
  • ~1.5h (1 hour 30 minutes)

Examples

"Buy cookies !1 @tomorrow #groceries"

"Team meeting @daily ~1h #work"

"Update server certificates @2025-12-31 ^2025-12-01 @every 2 years" (Due Dec 31, start working on it 1 month prior)

The syntax highlighting should visually let you know whether your statements are valid.

Aliases (Templates)

Define global shortcuts using :=. Aliases can inject tags, locations, priorities, or text. This applies to the past, present, and future tasks. (It may take some time to update all affected tasks.)

  • Define: #tree_planting:=#gardening and #gardening:=#fun,@@home
  • Subsequent use: Typing Plant plum tree #tree_planting !3 ~1h expands to:
    • Summary: "Plant plum tree" (priority: 3, estimated time: 1 hour)
    • Tags: #tree_planting #gardening #fun
    • Location: "home"

Note: If your alias contains spaces, "quote it" or {put it between brockets}, e.g. #"tree planting":=#gardening or #gardening:=#{home improvement}

๐Ÿ” Search & Filtering

The search bar isn't just for text. You can use operators (<, >, <=, >=) to filter your list precisely.

  • Status:
    • is:done / is:active / is:ongoing
  • Priority (!):
    • !<2 (Priority 1 only - Critical)
    • !>=5 (Normal or lower priority)
  • Dates (@ / ^):
    • @<today (Overdue tasks)
    • @>tomorrow (Due after tomorrow)
    • @<=2d (Due within the next 2 days)
  • Duration (~):
    • ~<30m (Quick tasks, less than 30 mins)
    • ~>2h (Long tasks)
  • Tags:
    • #gardening (Contains this tag)
  • Location: @@home (matches location field)

You can combine them: !<4 ~<1h #gardening (high priority gardening task that takes less than an hour).

๐ŸŽฎ TUI Keybindings

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 / Up
  • 1 / 2 / 3: Switch Sidebar (Calendars / Tags / Locations)
  • /: Search tasks

Task Management

  • a: Add task
  • e / E: Edit title / Edit description
  • Space: Toggle Done status
  • s: Toggle Start / Pause
  • S: Stop (Reset to Needs Action)
  • x: Cancel task
  • d: Delete task

Organization & Hierarchy

  • y: Yank task ID (Copy)
  • b: Mark selection as Blocked by yanked task
  • c: Make selection a Child of yanked task
  • > / <: Indent / Outdent (visual depth)
  • + / -: Adjust Priority

Sidebar Actions

  • Enter: Toggle filter / Select calendar
  • Space: Toggle visibility (show/hide layer)
  • *: Isolate (hide all others)

The GUI also supports / for search and a for adding tasks.

๐Ÿค— Support

If you enjoy using Cfait, consider supporting the developper:

  • ๐Ÿ’ณ Liberapay: https://liberapay.com/trougnouf
  • ๐Ÿฆ Bank (SEPA): BE77 9731 6116 6342
  • โ‚ฟ Bitcoin: bc1qc3z9ctv34v0ufxwpmq875r89umnt6ggeclp979
  • ล Litecoin: ltc1qv0xcmeuve080j7ad2cj2sd9d22kgqmlxfxvhmg
  • ฮž Ethereum: 0x0A5281F3B6f609aeb9D71D7ED7acbEc5d00687CB

๐Ÿชฉ Mirrors

  • Codeberg (Primary with Linux, Android, and cross-compiled Windows builds)
  • GitHub (Mirror with Linux and native Windows builds)
  • GitLab (Mirror)

๐Ÿ›ก๏ธ Privacy Policy

Cfait does not collect data; data is stored on your device and on your CalDAV server.

โš–๏ธ License

GPL3

โ˜๏ธ CalDAV Providers

Cfait works with any standard CalDAV server. If you don't have one yet, here are some suggestions:

Self-Hosted

  • Radicale: One of the easiest, lightweight solution to host on a Raspberry Pi or VPS.
  • Nextcloud: A popular full-suite option (files, contacts, and calendars).

Free & Managed

  • Infomaniak: A Swiss provider with a free tier that includes a CalDAV account.
    • How to connect: After signing up, go to config.infomaniak.com. Click "On this device" followed by "My Calendars" to reveal your specific Server URL and Login username. (Use your infomaniak password.)

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).

๐Ÿ’ฌ Community & Support

Have a question, found a bug, a great idea, or just want to chat?

About

Take control of your TODO list

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

No packages published