Skip to main content

Simple server to listen for GitHub repo hooks.

Project description

This is just a boilerplate for implementing a GitHub Service Hooks server based on Twisted.

Uses klein and twisted.

Impement your on “run.py” and start it like:

twistd -n web --class=run.resource

It will parse incomming hooks and covert the JSON into objects.

It is planed to also include a simple web tool to register hooks or check hook status.

Development

Get virtual environment and install dependencies:

make deps

Run the tests:

make test

Run the server:

make run

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

txghserf-0.1.9.tar.gz (8.4 kB view details)

Uploaded Source

File details

Details for the file txghserf-0.1.9.tar.gz.

File metadata

  • Download URL: txghserf-0.1.9.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for txghserf-0.1.9.tar.gz
Algorithm Hash digest
SHA256 f5a1e16013ac7c45eed7efecdafac0d6a6f503a8c4881880d0f37cc485b1ede0
MD5 368441ef36b71072ccf7aeff598b9c25
BLAKE2b-256 3de1d563f5912ba38aaa401a80e62ba8bcbf3d1a204bd98ba1e3fb7d20c2ff56

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page