servant-github-webhook: Servant combinators to facilitate writing GitHub webhooks.

[ library, mit, web ] [ Propose Tags ] [ Report a vulnerability ]

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]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.2.0.0, 0.2.0.1, 0.3.0.0, 0.3.0.1, 0.3.0.2, 0.3.1.0, 0.3.2.0, 0.3.2.1, 0.4.0.0, 0.4.1.0, 0.4.2.0
Change log ChangeLog.md
Dependencies aeson (>=0.11 && <1.1), base (>=4.8 && <4.10), base16-bytestring (>=0.1 && <0.2), bytestring (>=0.10 && <0.11), Crypto (>=4.2 && <4.3), github (>=0.15 && <0.16), http-types (>=0.9 && <0.10), servant (>=0.8 && <0.10), servant-server (>=0.8 && <0.10), string-conversions (>=0.4 && <0.5), text (>=1.2 && <1.3), wai (>=3.2 && <3.3) [details]
Tested with ghc ==8.0.1
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 repo head: git clone https://github.com/tsani/servant-github-webhook.git
Uploaded by tsani at 2016-12-31T20:04:12Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 7401 total (41 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-12-31 [all 1 reports]

Readme for servant-github-webhook-0.3.0.1

[back to package description]

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.