Slack module for libpurple
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 176 commits ahead of necrosis:master.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
img first commit. Base source Aug 21, 2016
json-parser @ b42439a Update json-parser Mar 10, 2018
.gitignore Adding diffs and attachments. Jan 2, 2018
.gitmodules Add json-parser directly, but in a cleaner way Dec 3, 2017
.travis.yml Enable -Werror in travis builds Jun 1, 2018
COPYING Add GPL2 license, exactly matching pidgin Dec 3, 2017
Makefile Enable -Werror in travis builds Jun 1, 2018
README.md Add bitlbee tip to README May 31, 2018
glibcompat.h Cleanup win32 stuff for #30 Mar 8, 2018
json.c Update json-parser Mar 10, 2018
json.h Add json-parser directly, but in a cleaner way Dec 3, 2017
purple-websocket.c Send an rtm ws PING every minute May 21, 2018
purple-websocket.h Complete purple-websocket implementation, untested Jul 7, 2017
slack-api.c Add linked list of api calls; cancel all on disconnect Jun 18, 2018
slack-api.h Add linked list of api calls; cancel all on disconnect Jun 18, 2018
slack-blist.c Allow get history menu item to get all unread May 8, 2018
slack-blist.h Hook up get_history to buddy menu Aug 17, 2017
slack-channel.c Suppress chat sent msg display if ts matches last Aug 16, 2018
slack-channel.h Switch initial chan loading to conversations.list Mar 10, 2018
slack-cmd.c Use slack_conversation_id to get channel May 20, 2018
slack-cmd.h Register many /commands and pass through to api Dec 3, 2017
slack-conversation.c When retrieving unknown IMs, also lookup unknown users (#22) Jun 8, 2018
slack-conversation.h When we receive a message on an unknown channel, look it up May 22, 2018
slack-im.c Display sent IM, but only if not last_mesg: #79 Aug 17, 2018
slack-im.h When we receive a message on an unknown channel, look it up May 22, 2018
slack-json.c Adding diffs and attachments. Jan 2, 2018
slack-json.h Refactor avatar queue loading slightly Apr 4, 2018
slack-message.c Swap the URLs in an attempt to obtain my desired behaviour. Aug 3, 2018
slack-message.h When we receive a message on an unknown channel, look it up May 22, 2018
slack-object.c Move name and buddy members up to SlackObject Mar 10, 2018
slack-object.h Add cast for strncpy slack_object_id to avoid warning May 29, 2018
slack-rtm.c Add linked list of api calls; cancel all on disconnect Jun 18, 2018
slack-rtm.h Add json-parser directly, but in a cleaner way Dec 3, 2017
slack-user.c continue trying to download avatars if one fails Sep 7, 2018
slack-user.h When retrieving unknown IMs, also lookup unknown users (#22) Jun 8, 2018
slack.c Add linked list of api calls; cancel all on disconnect Jun 18, 2018
slack.h Add linked list of api calls; cancel all on disconnect Jun 18, 2018

README.md

slack-libpurple Build Status

A Slack protocol plugin for libpurple IM clients.

Here's how slack concepts are mapped to purple:

  • Your "open" channels (on the slack bar) are mapped to the buddy list: joining a channel is equivalent to creating a buddy
  • Which conversations are open in purple is up to you, and has no effect on slack... (how to deal with activity in open channels with no conversation?)
  • For bitlbee IRC connections, Slack channels are "chat channels" that can be added to your configuration with "chat add <account id> #<channel>"
  • TBD... feedback welcome

Installation/Configuration

  1. Install libpurple (pidgin, finch, etc.), including necessary development components on binary distros (libpurple-devel, libpurple-dev, etc.)
  2. Run sudo make install or make install-user
  3. Issue a Slack API token for yourself
  4. Add your slack account to your libpurple program and enter this token under (Advanced) API token (do not enter your slack password; username/hostname are optional but can be set to you@your.slack.com)

If you're using a front-end (like Adium or Spectrum2) that does not let you set the API token, you can enter your token as the account password instead.

@EionRobb is kindly providing windows builds here.