Wunderjinx aims to create an interactive client for Wunderlist in the terminal (because jinxes are like curses... it's backed by curses...)
NOTE: This is not even close to complete right now
- Curses interface
- Vim-like keybindings
- Full offline functionality
-
Install pyenv:
brew install pyenv
-
Install pyenv-virtualenv:
brew install pyenv-virtualenv
-
Install the latest Python 2 version:
pyenv install $LATEST_PYTHON_2
-
Create a new virtualenv for running wunderjinx:
pyenv virtualenv $LATEST_PYTHON_2 wunderjinx
-
Activate the virtualenv:
pyenv activate wunderjinx
-
Install Wunderjinx's dependencies:
pip install wunderpy2 parsedatetime pika
-
Deactivate the virtualenv:
pyenv deactivate
-
Install RabbitMQ with Homebrew:
brew install rabbitmq
-
Configure RabbitMQ to start on launch using the directions from Homebrew (use launchctl to load the .plist file in ~/Library/LaunchAgents)
-
Create a config directory somewhere on your filesystem to house Wunderjinx config
-
Copy
wunderjinx_config.py.template
to your config directory, renaming it towunderjinx_config.py
-
Fill in all missing fields in your new
wunderjinx_config.py
-
Copy
queue_consumer.plist.template
to your config directory, renaming it toqueue_consumer.plist
-
Fill in all fields with "CHANGEME" in your new
queue_consumer.plist
-
Configure the queue_consumer to start on launch by symlinking the
queue_consumer.plist
file into~/Library/LaunchAgents
and runninglaunchctl load <plist file>
-
Make the Bash code called in your Alfred workflow look like so, filling in the appropriate values:
PYENV_VERSION=wunderjinx PYTHONPATH=/your/config/directory:${PYTHONPATH} ~/.pyenv/shims/python /your/path/to/alfred_workflow.py "{query}" 2>&1