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.