Skip to content

Instantly share code, notes, and snippets.

@wongjustin99
Last active May 16, 2018 18:00
Show Gist options
  • Save wongjustin99/b0aca8ff3af7c827d62ac84308d15262 to your computer and use it in GitHub Desktop.
Save wongjustin99/b0aca8ff3af7c827d62ac84308d15262 to your computer and use it in GitHub Desktop.
brew install weechat --with-python --with-perl
pip3 install --upgrade pip setuptools
pip3 install websocket-client
mkdir -p ~/.weechat/python/autoload
wget https://raw.githubusercontent.com/wee-slack/wee-slack/master/wee_slack.py
cp wee_slack.py ~/.weechat/python/autoload

https://api.slack.com/custom-integrations/legacy-tokens

weechat
/slack register

copy oAuth URL, follow the failed re-direct, then copy the "code" parameter.

/slack register [CODE]

Notifications

https://github.com/sindresorhus/weechat-notification-center

pip install pync
wget https://github.com/sindresorhus/weechat-notification-center/raw/master/weechat.png -O ~/.weechat/weechat.png
weechat
/script install notification_center
/script autoload notification_center
/python reload
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment