AI Local Todo App is a command-line task management application powered by OpenAI's ChatGPT. All tasks are stored locally on your machine.
- Bash shell (Unix or Git Bash on Windows)
- curl
- jq
- Clone this repository to your local machine.
- Navigate to the directory containing the script.
The application uses a .env
file to store configuration. The following variables can be set:
TASK_FILE
: The file where tasks will be stored.API_KEY
: Your OpenAI API key.
If these variables are not set, the application will prompt you for them the first time it is run.
Run the script with the command ./local_task_ai
.
The application will present you with a menu of options:
- Add Task: Add a new task to your task list.
- List Tasks: Display all tasks, both completed and not completed.
- Complete Task: Mark a task as completed.
- Delete Task: Delete a task from the list.
- Get Advice: Get advice on how to prioritize your tasks from ChatGPT.
- Quit: Exit the application.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.