Skip to main content

fastwebhook

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.

Install

First install the package:

pip install fastwebhook

Then create an file called twitter.ini containing:

gh_secret: 
consumer_key: 
consumer_secret: 
access_token: 
access_token_secret: 

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

Release files for fastwebhook 0.0.15

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for fastwebhook 0.0.15
File Size Uploaded
fastwebhook-0.0.15.tar.gz 10.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for fastwebhook 0.0.15
File Interpreter ABI Platform
fastwebhook-0.0.15-py3-none-any.whl Python 3 none any Details

Total release size: 20.4 kB

Release files / fastwebhook-0.0.15.tar.gz

Download URL fastwebhook-0.0.15.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5456c32f39dcc412cf6af089b5ca2591652724e221f44b6f0e3920b3a2b0aa26
BLAKE2b-256 checksum
How to use checksums
9ed2d8a7696ef020dc8ec020457c6e02ffdaa276f8ab4cd5dc546446d1babc54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

Release files / fastwebhook-0.0.15-py3-none-any.whl

Download URL fastwebhook-0.0.15-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bba8280c43551ca864a3bcb9af17719963b2921dfe762b38a426a90f7781716d
BLAKE2b-256 checksum
How to use checksums
aa5ce0b6f4e2df521579db7c20c3c34b07bc53428b3cb97414b895ed2b487237
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.10

Release history Release notifications | RSS feed

This release

0.0.15 This release

2 release files

0.0.14

2 release files

0.0.13

2 release files

0.0.8

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page