Skip to main content

A simple GitHub webhook server

Project description


A simple GitHub webhook server.

At this stage, this is only able to send tweets on software releases. It's very early stage still. You'll need to set up a webhook on GitHub.


First install the package:

pip install fastwebhook

Then create an file called twitter.ini containing:


gh_secret is the webhook secret you set in GitHub. The remaining are your twitter API keys.

How to use

Run fastwebhook to run the web server. Pass --help for info about optional arguments. Either run this from the same directory that contains your twitter.ini, or else pass --inifile along with the full path to your ini file.

Systemd service

The following commands should all be run as root (i.e. prepend sudo to the commands).

To install it as a systemd service (which is probably what you want), run fastwebhook_install. Pass --help for info about optional arguments, which will be passed to fastwebhook by the service.

After the service is installed, run systemctl start fastwebhook to start it, systemctl status fastwebhook to check it, and systemctl stop fastwebhook to stop it. Run systemctl enable fastwebhook to have it start automatically on boot. Run journalctl -eu fastwebhook

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

fastwebhook-0.0.15.tar.gz (10.9 kB view hashes)

Uploaded Source

Built Distribution

fastwebhook-0.0.15-py3-none-any.whl (9.5 kB view hashes)

Uploaded Python 3

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