AlexDev

Join the Gang Gang and have the latest AI and Tech content.

Home page View on GitHub

Rust TODO TUI

Posted on 9 October 2023.
linux rust

About

Rust TODO TUI is a simple terminal UI application for daily tasks.

Usage

Quickstart

To run the application you just need to compile the program and it will handle all the default configs.

cargo run

Modes

By default, the application will start in TUI mode, but you can also visualize statistics of your tasks using sub-commands.

Config

The tools will look for a configuration file in XDG_CONFIG_HOME. It will search for todo/config.json. If it cannot find the file, it will use the default settings.

You can specify the path to a custom config file using the -c/--config argument.

The configuration file is in JSON format, and it has the following properties.

Configuration example

{
    "path": "/home/alex/personal/todo",
    "date_format": "%Y-%m-%d",
    "habits": [
        "🧼 Morning Routine",
        "📕 Read",
        "💪 Gym",
        "✍️ Journal",
    ]
}

Conclusion