Skip to content

grvsnh/cli-todo-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI To-Do List App

This is a simple Command-Line Interface (CLI) To-Do List application built using Python and curses. It allows users to add, view, mark as completed, and delete tasks while displaying a neat interface with a persistent task list.

Features

✅ Add tasks to your list
✅ View all pending tasks
✅ Mark tasks as completed
✅ Delete tasks
✅ Interactive UI with menu on the right side

Prerequisites

Ensure you have Python installed on your system. You also need curses, which is included by default in Linux/macOS. On Windows, install windows-curses:

pip install windows-curses

Installation & Usage

  1. Clone the repository:

    git clone https://github.com/gauravsingh-02/cli-todo-list.git
    cd cli-todo-list
  2. Create and activate a virtual environment (recommended):

    python -m venv venv
    source venv/bin/activate  # On macOS/Linux
    venv\Scripts\activate     # On Windows
  3. Run the application:

    python todo.py
  4. Exit the application by selecting the Exit option.

How It Works

  • The tasks are stored in a simple text file (tasks.txt).
  • The app displays tasks on the left and the menu on the right.
  • User input is taken interactively using curses.

Future Improvements

  • Implement SQLite database support
  • Add color themes for better UI
  • Export tasks to a file

About

A simple, interactive command-line to-do list application built with Python and curses. It allows users to add, view, mark tasks as completed, and delete tasks, all while displaying a dynamic menu alongside the task list. Tasks are stored in a text file for persistence.

Resources

License

Stars

Watchers

Forks

Contributors

Languages