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.2.tar.gz (651.9 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.2-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: todo.sh-notion-0.1.2.tar.gz
  • Upload date:
  • Size: 651.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.1

File hashes

Hashes for todo.sh-notion-0.1.2.tar.gz
Algorithm Hash digest
SHA256 ad68b592f8f7fdfb6afde5c29c0e9e1e8c2a42335c6f41f759b74914ac6b4ee5
MD5 47e833c843d7844ed623a7ecb6fa66e4
BLAKE2b-256 bffbf7fc84e84fee7422ee29c770df51032bf7a20f1e06b3b1218a7498d5a044

See more details on using hashes here.

File details

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

File metadata

  • Download URL: todo.sh_notion-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.10.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.1

File hashes

Hashes for todo.sh_notion-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e738b412b952d26e43f971c3c6cce18606dd1185acb21cdb6a6a8d3402a094aa
MD5 b287652a29640e7953346d122e83b6ed
BLAKE2b-256 7d5802e33d52e4c25e07f07494ddefda627aab2f003cf13144703e3e4bd63495

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