Skip to main content

Integration between todo.sh and Notion Task Lists!

Project description

todo.sh-notion

Integration between todo.sh and Notion Task Lists!

demonstration

Motivation:

To helps the todo.sh users to sync your tasks with Notion. Without quiting the terminal or doing something extra effort. For me, who have focus problems, it helps a lot.

Pre configuration

You need to provide two environment variables to allow the integration (put it in your .bashrc if you want):

export NOTION_TOKEN_V2=''
export NOTION_TASK_LIST_URL=''

To catch the NOTION_TOKEN_V2 you need to go into https://notion.so page and enable the browser devtools, find a token_v2 in cache and copy the value.

token

To catch the NOTION_TASK_LIST_URL it's quite simple, just navigate to your Task List and copy the URL.

Installation

It's important that the todonotion command be available globally (like todo.sh) so, we will install using the flag --user that installs the package in your personal directory for python dependencies.

pip install todo.sh-notion --user

After that, we run the command:

todonotion configure

This will create the todo.sh actions in ~/.todo.actions.d:

  • nadd like add, but creates the card in notion task list too.
  • ndo like done, but moves the card in notion task list too.
  • ndoc like done, but this allow you to perform actions in all cards by @context or any text part that contains in card titles, moves the cards in notion task list too.
  • ndel like del, deletes by task ids, delete the card in notion task list too.

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

todo.sh-notion-0.1.4.tar.gz (651.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

todo.sh_notion-0.1.4-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file todo.sh-notion-0.1.4.tar.gz.

File metadata

  • Download URL: todo.sh-notion-0.1.4.tar.gz
  • Upload date:
  • Size: 651.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for todo.sh-notion-0.1.4.tar.gz
Algorithm Hash digest
SHA256 7ab2a0de615cfd88c5fd935e33fe5cb41c4dd399d56eb2f2a87a0eb9b75c4207
MD5 aeafed619b93b7279068943949bf99d4
BLAKE2b-256 fd50a016849174535a90cc63c54b647653a41acecd7131a4c382753fbaa89347

See more details on using hashes here.

File details

Details for the file todo.sh_notion-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: todo.sh_notion-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5

File hashes

Hashes for todo.sh_notion-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f013f333d4a38f897cd1f3063283f02e934865f488ca25be96312a990ab59b14
MD5 476d8c65b547172687919e7ed91d2dde
BLAKE2b-256 627aeb171f78e03e8e7051f658fe292e1d996b4ce58d320c7ba991b84a44a6e1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page