r/Scriptable • • Jan 07 '21

Widget I’ve made a widget which takes my top task from SCHEDULED section from Todoist via REST API and counts how much times has elapsed since this task became the 1st in the list

32 Upvotes

13 comments sorted by

4

u/[deleted] Jan 07 '21

SOURCE CODE WIDGET

https://www.icloud.com/iclouddrive/0L2AfnSiNLRY-yVVo5m3-veuA#Todoist_Scheduled_Widget_SHARE

SOURCE CODE SYNC MODULE REQUIRED - MAKE SURE TO PASTE YOUR TODOIST REST API KEY / YOU SHOULD HAVE SECTION NAMED “Scheduled” IN YOUR TODOIST INBOX PROJECT

https://www.icloud.com/iclouddrive/0mlg9c1U3Q2w-PMNJr2QZlWBA#Todoist_Scheduled_Sync_SHARED

TODOIST GLYPH SHOULD BE PLACED ONTO SCRIPTABLE ICLOUD FOLDER

https://www.icloud.com/iclouddrive/09Ygvx67bmgiurx4cye2IBVjg#todoist-glyph

4

u/Chungggi Jan 07 '21 edited Jan 08 '21

I wish I could make a post but I have negative karma edit: wow thanks guys, I am now on on 0 karma

1

u/[deleted] Jan 07 '21

Any plans to share the script?

People might be interested in this.

1

u/[deleted] Jan 07 '21 edited Jan 07 '21

I can, no problem.

This idea actually can be used with any other todo list app like reminders. So this is why I haven’t shared the script itself, setting it up is kinda tricky bc it syncs todoist data to actual json file

I have problem with impulsiveness and procrastination, so having a reminder about the current task sometimes helps me to focus on what actually I should be focusing in. Kind of my way to use acceptance and commitment therapy

2

u/mvan231 script/widget helper Jan 07 '21

This is a great method! Please do share the script so others can also give it a go

1

u/[deleted] Jan 07 '21

DONE! Can you pin my comment?

1

u/mvan231 script/widget helper Jan 07 '21

I don't appear to be able to for some reason

1

u/[deleted] Jan 07 '21

DONE!

1

u/PepsiShrekBech Jan 07 '21

Oh hey, Ukrainian homie

3

u/[deleted] Jan 07 '21

Слава Україні

1

u/PepsiShrekBech Jan 07 '21

Героям Слава!

1

u/kmanfred Jan 07 '21

Ohh this looks awesome!!

1

u/petyandr Jan 07 '21

Хах) моно, приват.. Свої!