🌟 TODO CLI and TUI BOTH 🌟

April 30, 2025 Β· View on GitHub

TUI PREVIEW

CLI PREVIEW

https://github.com/user-attachments/assets/bd8a1f4e-aa81-4995-9631-d1ad5ffe8e40


πŸš€ Features

  • Both TUI and CLI Feature: use whatever version you like
  • Task Lists: Track daily 🌞, weekly πŸ“…, and monthly πŸŒ™ tasks.
  • Progress Bars: Watch bars fill up as you complete tasks!
  • Earn Stars: Complete tasks β†’ collect ⭐ (1 per task)!
  • Score Board: Track lifetime achievements and shows the ( total tasks completed/total tasks added ) in reward window .
  • Daily/Weekly/Monthly Goals: Reset automatically at midnight πŸ•›, Monday πŸŒ…, and month-end 🌌.
  • Build Streaks: Finish all daily tasks β†’ streak +1! (UPDATE AT 12AM MIDNIGHT EVERYDAY)
  • Weekly Stars: Collect 7 stars/week β†’ unlock a "Streak Boost" πŸš€.
  • Fail-Safe: Miss a day? Streak resets to 0 😒.
  • Notes: Save text πŸ“„ or links πŸ”—
  • Edit Notes: Delete or edit notesπŸ“„ anytime.
  • Countdowns: Supports adding multiple countdown windows⏳ with Countdown labels.
  • Remove Tasks: Changed your mind? Delete tasks easily πŸ—‘οΈ.

πŸ’‘Tips

  • Delete tasks you won't do β†’ keeps stats accurate 🎯 else streak will reset. removed tasks doesn't counts.

πŸ”΅ TUI USAGES

Adding multiple tasks πŸ“œ

use | between tasks to add multiple tasks at once spacing doesn't matter.

Example Gym|Call Mom | Do Maths | Do Physics|Do Chemistry

Result

   1.Gym
   2.Call Mom
   3.Do Math
   4.DO Physics
   5.Do Chemistry

πŸ”΄ CLI USAGES

Run

todocli --help

Usage:

todocli [command] [options]

πŸ“Œ Basic Commands:

  • todocli --helpΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Show this help message

πŸ“ Task Operations:

  • todocli add task --period [day/week/month] --tasks "Task1|Task2"
  • todocli remove task --period [day/week/month] --task "Task Name"
  • todocli complete task --period [day/week/month] --task "Task Name"

πŸ“š Note Operations:

  • todocli add note --type [text/link] --content "Content"
  • todocli edit note
  • todocli delete note

🎯 Target Dates:

  • todocli set-target "Label" "YYYY-MM-DD"
  • todocli remove target date

πŸ” Show Commands:

  • todocli show day task
  • todocli show week task
  • todocli show month task
  • todocli show all tasks
  • todocli show notes
  • todocli show streak
  • todocli show target dates

πŸ” Examples:

  • todocli add task --period day --tasks "Gym|Math homework"
  • todocli complete task --period day --task "Gym"
  • todocli show week task
  • todocli set-target "Exam" "2023-12-15"

πŸ› οΈ Setup

Install dependencies:

For Linux:

ubuntu/debian

sudo mkdir -p /etc/apt/keyrings
curl -fsSL https://repo.charm.sh/apt/gpg.key | sudo gpg --dearmor -o /etc/apt/keyrings/charm.gpg
echo "deb [signed-by=/etc/apt/keyrings/charm.gpg] https://repo.charm.sh/apt/ * *" | sudo tee /etc/apt/sources.list.d/charm.list
sudo apt update && sudo apt install gum jq bc util-linux bsdutils

Archlinux

sudo pacman -S util-linux gum jq bc # Arch based system

πŸ“’ For any other distro install these "gum jq bc util-linux or bsdutils if needed" this should work with no errors.

πŸ› οΈ Installation

  1. Clone this repository
 git clone https://github.com/Harsh-bin/TODO-CLI-and-TUI.git  
 cd TODO-CLI-and-TUI
 chmod +x ./install.sh
 ./install.sh
  1. Restart terminal and run
  2. ** πŸ“’ MAKE SURE TO RUN TODO TUI ONCE BEFORE RUNNING TODOCLI ELSE IT WILL NOT WORK**
  todo # TUI MODE
  todocli [command] [options] # CLI MODE
  1. Everything done NOW enjoy✌️

Uninstalling todo app

chmod +x ./uninstall.sh
./uninstall.sh