hlian / linklater

A Haskell library for the Slack API (including real-time messaging!)
BSD 3-Clause "New" or "Revised" License
79 stars 11 forks source link
confused dazed haskell slack websocet

/\ \     /\ \ /\ "-.\ \ /\ \/ /  /\ \     /\  __ \ /\__  _\/\  ___\ /\  == \
\ \ \____\ \ \\ \ \-.  \\ \  _"-.\ \ \____\ \  __ \\/_/\ \/\ \  __\ \ \  __<
 \ \_____\\ \_\\ \_\\"\_\\ \_\ \_\\ \_____\\ \_\ \_\  \ \_\ \ \_____\\ \_\ \_\
  \/_____/ \/_/ \/_/ \/_/ \/_/\/_/ \/_____/ \/_/\/_/   \/_/  \/_____/ \/_/ /_/

A Haskell library for the Slack API.
It even comes with support for real-
time messaging (read: web sockets).

CircleCI status: CircleCI status

I just want the library

It is on Hackage but not on Stackage.
You will have to add "linklater-4.0.0.0"
to "extra-deps".

I just want documentationA rather unhelpful tutorial
  In which we build a real-time
  jazz-hands robot

• GitHub Pages
  The master branch (development),
  built from CircleCI

• Hackage
  The last release

Bots built with Linklaterjpgtobot
  Uses @dpatti’s jpg-to library to
  search for JPEGs on the internet.
  Usage: `/jpeg togepi` or `/jpeg two
  headed boy`.

• hi5bot
  Lets you high-five people, among other
  amazing interactions. Usage: `/hi5
  susan`, `/hi5`.

• huskybot
  As featured in Wired magazine.

• mathbot
  Takes in LaTeX, spits out PNGs. Usage:
  `/math e^{i\pi} + 1 = 0`.

Features

• Lovely Haddock-friendly documentation
  with no misspelllllings to be found

• A little DSL for the Slack formatting
  syntax

• Comes, out of the box!, with a fast
  mode (`slashSimple`) and a power mode
  (`slash`)

• A warm, receptive maintainer with
  beautiful brown eyes

• BSD3 license

ContributorsHao Lian @hlian
• Ulysses Popple @ulyssesp
• Ian Henry @ianthehenry

Our fierce competitiontightrope

Code of conduct

All contributors to this project
solemnly swear to follow the code of
conduct cross their hearts hope to die
spit a seed into an eagle’s eye.

~code of conduct~