The servant-github-webhook package

[Tags:library, mit, test]

This package provides servant combinators that make writing safe GitHub webhooks very simple.

It features automatic verification of the digital signatures provided by GitHub in the webhook HTTP requests as well as route dispatching based on repository event type.


[Skip to Readme]

Properties

Versions 0.1.0.0, 0.2.0.0, 0.2.0.1, 0.3.0.0, 0.3.0.1, 0.3.0.2
Change log ChangeLog.md
Dependencies aeson (>=0.11 && <1.1), base (>=4.8 && <4.10), base16-bytestring (==0.1.*), bytestring (==0.10.*), Crypto (==4.2.*), github (==0.15.*), http-types (==0.9.*), servant (>=0.8 && <0.10), servant-server (>=0.8 && <0.10), string-conversions (==0.4.*), text (==1.2.*), transformers (>=0.2 && <0.6), wai (==3.2.*) [details]
License MIT
Copyright Jacob Thomas Errington 2016
Author Jacob Thomas Errington
Maintainer servant-github-webhook@mail.jerrington.me
Category Web
Home page https://github.com/tsani/servant-github-webhook
Bug tracker https://github.com/tsani/servant-github-webhook/issues
Source repository head: git clone https://github.com/tsani/servant-github-webhook.git
Uploaded Tue Jan 3 13:31:03 UTC 2017 by tsani
Distributions NixOS:0.3.0.2
Downloads 174 total (4 in the last 30 days)
Votes
0 []
Status Docs available [build log]
Last success reported on 2017-01-03 [all 1 reports]

Modules

[Index]

Flags

NameDescriptionDefaultType
old-basewhether to use base-4.8 and transformers rather than base 4.9EnabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for servant-github-webhook

Readme for servant-github-webhook-0.3.0.2

Build Status

servant-github-webhook

This library facilitates writing Servant routes that can safely act as GitHub webhooks.

Features:

  • Dispatching to routes based on the type of repository event.
  • Automatic verification of request signatures.

See the documentation for more details about how the library works, and how to use it.

TODO

  • servant-client and servant-docs instances.
  • Tests.