8000 GitHub - rafpaf/event_to_things: Automatically create todos in the Mac app Things based on upcoming events.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rafpaf/event_to_things

Repository files navigation

event_to_things

This script creates todo list items in the Mac app Things (https://culturedcode.com/things/) automatically based on upcoming events in your calendar.

Installing

Create a virtual environment:

mkvirtualenv event_to_things

My virtualenv creates environments in $HOME/.envs. If yours creates them elsewhere, update the references to that directory below.

Install the dependencies:

pip install -r requirements.txt

Configure

cp localsettings.sample.py localsettings.py

Edit that file.

Schedule

Edit cron:

crontab -e

Add this line:

0 23 * * * echo '$HOME/.envs/event_to_things/bin/python $HOME/repos/event_to_things/event_to_things.py' | /bin/bash

This will run the script everyday at 11 p.m. Obviously, you can change that to whatever you wish.

If you installed this software elsewhere than $HOME/repos, modify that line accordingly. (We specify the python executable so that the virtualenv is used, rather than your system's default python. We pipe to /bin/bash so that the shell commands in the script work. Presumably this script could be rewritten without shell commands.)

About

Automatically create todos in the Mac app Things based on upcoming events.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0