Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/christiankuehnel/todoistautomation
Rule-based automation for Todoist
https://github.com/christiankuehnel/todoistautomation
Last synced: 18 days ago
JSON representation
Rule-based automation for Todoist
- Host: GitHub
- URL: https://github.com/christiankuehnel/todoistautomation
- Owner: ChristianKuehnel
- License: apache-2.0
- Created: 2022-12-30T11:00:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-04T13:02:45.000Z (almost 2 years ago)
- Last Synced: 2024-11-01T12:35:51.640Z (2 months ago)
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# todoistautomation
Simple tool to automatically modify tasks in Todoist based on a simple,
configurable rules.This is work in progress and not ready for produciton use.
## Usage
This tool was developed with the usecase of automatically moving tasks that I created via the Amazon Alexa integration. So I want all items from the *Alexa To-do list* moved to my *Inbox* and set the due date for today. I also want to move all takss from the *Alexa shopping list* moved to my own shopping list.
For this use case Create a `config.yaml` file to configure the automations:
```yaml
# set you api token here
todoist_api_token:
# list of automation rules
rules:
- # the rule will modify all tasks that match this query
# the query syntax if defined in https://todoist.com/help/articles/205248842
query: "project:Alexa*To-do-Liste"
# Move to a different project
move_to: "Inbox"
# attributes to be updates, as defined in the API doc:
# https://developer.todoist.com/rest/v2/?python#update-a-task
update:
# make the task due today
due_string: "today"
- query: "project:Alexa*Einkaufsliste"
move_to: "Einkaufsliste"
```The easiest way to run this application is to deploy it as a docker container and mount the folder containing your `config.yaml`:
```sh
docker run -v .:/config ghcr.io/christiankuehnel/todoistautomation:release
```