| Crates.io | hyprtask |
| lib.rs | hyprtask |
| version | 0.1.0 |
| created_at | 2025-11-10 08:47:37.14291+00 |
| updated_at | 2025-11-10 08:47:37.14291+00 |
| description | A simple CLI tool for Google Tasks |
| homepage | https://github.com/Mabylife/hyprtask |
| repository | https://github.com/Mabylife/hyprtask |
| max_upload_size | |
| id | 1924983 |
| size | 111,625 |
A simple CLI tool for Google Tasks, built with Rust for fast and efficient task management from your terminal.
Visit Releases to download the latest version
Requires Rust 1.70 or newer:
git clone https://github.com/yourusername/hyprtask.git
cd hyprtask
cargo build --release
The compiled binary will be at target/release/hyprtask
hyprtask login
Your browser will open automatically for Google account authentication.
# List tasks
hyprtask li
# Add a task
hyprtask add "Buy milk"
# Complete a task
hyprtask done 1
That's it!
hyprtask login # Login with Google account
hyprtask logout # Logout
hyprtask li # List incomplete tasks
hyprtask li -d # List completed tasks
hyprtask li -a # List all tasks
hyprtask add "Task title"
hyprtask done 1 # Complete task #1
hyprtask done 1 3 5 # Complete tasks #1, #3, #5
hyprtask done --all # Complete all incomplete tasks
hyprtask --help # Show all commands
hyprtask <command> --help # Show help for specific command
$ hyprtask li
1. [ ] Buy milk
2. [ ] Finish report
3. [ ] Clean room
$ hyprtask add "Drink water"
"Drink water" has been added to your tasks, number 4.
$ hyprtask done 1
Complete "Buy milk" task? (Y/n): y
"Buy milk" has been marked as completed.
~/.config/hyprtask/token.jsonhyprtask/
├── src/
│ ├── main.rs # Main entry point
│ ├── api/ # Google Tasks API integration
│ ├── auth/ # OAuth 2.0 authentication logic
│ ├── cli/ # Command-line interface definitions
│ ├── models/ # Data models
│ └── utils/ # Utility functions
├── Cargo.toml # Project configuration
└── test_comprehensive.sh # Test script
# Build development version
cargo build
# Run tests
./test_comprehensive.sh
# Build release version
cargo build --release
Run comprehensive integration tests:
./test_comprehensive.sh
Tests cover:
Contributions are welcome! Please:
git checkout -b feature/amazing-feature)git commit -m 'Add some amazing feature')git push origin feature/amazing-feature)If automatic browser opening fails, manually copy the URL displayed in the terminal to your browser.
Run hyprtask login to re-authenticate.
The program automatically refreshes the token, no manual action needed.
Currently supports one account at a time. To switch accounts, logout first then login again.
MIT License - see LICENSE file for details
If this project helps you, please give it a ⭐ Star!