A simple terminal-based Todo application built with Rust and SQLite.
- ✅ Create, read, update, and delete todo items
- 📊 Persistent storage with SQLite
- 🖥️ Clean terminal interface
- ⌨️ Keyboard shortcuts for quick navigation
- Clone this repository:
git clone https://github.com/Piarre/todo-rust.git
cd todo-rust
- Build the application:
cargo build --release
- Run the application:
cargo run
The Todo CLI has a simple menu-based interface:
- 1: View all your todos
- 2: Add a new todo
- 3: Delete a todo by ID
- 4: Update a todo's description
- 5: Mark a todo as complete
- 6: Exit the application
All your todos are stored in a local SQLite database file (todo.db
) created in the application directory.
todo/
├── src/
│ ├── main.rs # Application entry point and menu
│ ├── db.rs # Database connection and operations
│ ├── task.rs # Task model and task operations
│ └── utils.rs # Helper functions
├── Cargo.toml # Project dependencies
└── Cargo.lock # Lock file for dependencies
This project is open source and available under the MIT License.