Coder Social home page Coder Social logo

todoist's Introduction

Todoist Keyboard Shortcut -- macOS

Objective: Copy some text from anywhere in macOS and "paste" that text into Todoist as a new task.

Step 1: Download a free 45 day trial of the BetterTouchTool. This is an app that allows you to customize various input devices on your Mac. It's awesome and very powerful. It's $10 for 2 years or $22 for a lifetime license. The $10 app is yours to keep (i.e. it's not a subscription).

Step 2: Clone this repo.

Step 3. Create an API key/token for your Todoist account. Click on your initials in the top right hand corner and click "integrations". About halfway down the page you'll see an option to create and then copy your token.

Step 4. Do what I did for secrets management or do something better. I create a secrets.py file and add it to my .gitignore. My API token goes in this file as the `secret = "xxxxxx" variable.

Step 5. Use the BetterTouchTool to create a new trigger / keyboard shortcut. I chose command / because it didn't seem to be mapped to anything else.

Step 6. Assign an action to the trigger / keyboard shortcut. Look for "execute shell script or task".

Step 7. Point the "script" field to the sendto.sh file in this repo. Modify any paths to match your environment.

Step 8. Finally, you need to set an environment variable because the PYTHONPATH environment variable is not available in the BTT shell script environment (as it's only set for your shell). I manage Python with Homebrew so I set PYTHONPATH=/opt/homebrew/lib/python3.10/site-packages.

And that should be it... If you highlight some text and command c and then command / -- the highlighted text should now be in your todoist inbox.

todoist's People

Contributors

afeddersen avatar

Stargazers

 avatar

Watchers

 avatar

todoist's Issues

[Bug]: dddd

Contact Details

No response

What happened?

I encountered a ๐Ÿž where...d

Version

killshotapus-arm

DARLING in the FRANXX

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

a[Bug]: asdf

Contact Details

No response

What happened?

I encountered a ๐Ÿž where...asd

Version

killshotapus-arm

DARLING in the FRANXX

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Bug]: Hey Hey

Contact Details

No response

What happened?

I encountered a ๐Ÿž where...

Version

killshotapus-base

DARLING in the FRANXX

No response

Relevant log output

d

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Bug]: sadfa

Contact Details

No response

What happened?

I encountered a ๐Ÿž where...

Version

killshotapus-base

DARLING in the FRANXX

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Bug]: asdf

Contact Details

No response

What happened?

I encountered a ๐Ÿž where...asdf

Version

killshotapus-arm

DARLING in the FRANXX

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Bug]: Spiders!

Contact Details

[email protected]

What happened?

I encountered a ๐Ÿž where I was startled.

Version

killshotapus-base

DARLING in the FRANXX

Zero Two

Relevant log output

errors everywhere...

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Bug]: asdf

Contact Details

No response

What happened?

I encountered a ๐Ÿž where...asdf

Version

killshotapus-base

DARLING in the FRANXX

No response

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

[Bug]: yeanb

Contact Details

d

What happened?

I encountered a ๐Ÿž where...asdfa

Version

killshotapus-arm

DARLING in the FRANXX

Hiro

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.