A command-line TUI for managing Google Tasks.
Project description
Tasks TUI
A simple, fast, and intuitive Terminal User Interface (TUI) for Google Tasks.
Features
- View your Google Tasks lists and tasks in a two-panel layout.
- Add new tasks to your lists.
- Mark tasks as complete.
- Switch between your task lists.
- Vim-style keybindings for navigation.
Screenshots
Installation
-
Install via pip:
pip install tasks-tui-app
-
Clone the repository (optional, for development):
git clone https://github.com/your-username/Gtask.git cd Gtask
-
Install the dependencies (if cloning for development):
pip install -r requirements.txt
-
Enable the Google Tasks API and download your
client_secrets.jsonfile:- Go to the Google API Console.
- Create a new project.
- Enable the Google Tasks API for your project.
- Create an OAuth 2.0 Client ID for a Desktop application.
- Download the JSON file and rename it to
client_secrets.json. - Place the
client_secrets.jsonfile in the directory where you will run thetasks-tuicommand.
Usage
To run the application, use the following command:
tasks-tui
Keyboard Shortcuts
| Key | Action | Panel |
|---|---|---|
q |
Quit application | Any |
↑ / k |
Move selection up | Any |
↓ / j |
Move selection down | Any |
← / h |
Switch to Lists panel (from Tasks) | Tasks |
→ / l |
Switch to Tasks panel (from Lists) | Lists |
Tab |
Toggle between Lists and Tasks panels | Any |
Enter |
Toggle task completion / Select list | Tasks/Lists |
o |
Add new task / Add new list | Tasks/Lists |
d |
Delete selected task / Delete selected list | Tasks/Lists |
r |
Rename selected task | Tasks |
c |
Toggle task completion | Tasks |
w |
Refresh data | Any |
a |
Add due date to selected task | Tasks |
i |
Add notes to selected task | Tasks |
p |
Paste task / Paste list | Tasks/Lists |
When you run the application for the first time, it will open a web browser and ask you to authorize the application to access your Google Tasks. After you authorize the application, it will create a token.json file in the tasks-tui directory. This file contains your access and refresh tokens, so you won't have to authorize the application every time you run it.
Contributing
Contributions are welcome! If you have any ideas, suggestions, or bug reports, please open an issue or submit a pull request.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tasks_tui_app-0.1.2.tar.gz.
File metadata
- Download URL: tasks_tui_app-0.1.2.tar.gz
- Upload date:
- Size: 13.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b2db2a9514a5731ef9c32ccc10d281d30386b5fefc38d30aba68f83ffdd4e8a
|
|
| MD5 |
b5d4c8f40957af96522360c83e000659
|
|
| BLAKE2b-256 |
9dc4929a3a6acf06c1ea26a269dd64b6ed2a5e9c97a0586c91eb902982c76d70
|
File details
Details for the file tasks_tui_app-0.1.2-py3-none-any.whl.
File metadata
- Download URL: tasks_tui_app-0.1.2-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91ede447c1849fe0252c6a31c0049efb3d5d6b7cb04a364901a733e2ee0d69ff
|
|
| MD5 |
8459aec866d05eb51c06656ff94be657
|
|
| BLAKE2b-256 |
45eeb1e305baeca85a396ab198e7292990544da371845467ae293fcef614baad
|