https://github.com/octodemo/webhook-demo
Demo repository - contains custom Codespaces config, database schema management, code smells and old dependencies, and a :sparkles: nice project board :sparkles: :point_down:
https://github.com/octodemo/webhook-demo
python works-with-codespaces
Last synced: 6 months ago
JSON representation
Demo repository - contains custom Codespaces config, database schema management, code smells and old dependencies, and a :sparkles: nice project board :sparkles: :point_down:
- Host: GitHub
- URL: https://github.com/octodemo/webhook-demo
- Owner: octodemo
- License: mit
- Created: 2021-12-06T21:26:35.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-05-23T04:40:58.000Z (about 3 years ago)
- Last Synced: 2023-05-23T05:24:38.593Z (about 3 years ago)
- Topics: python, works-with-codespaces
- Language: Python
- Homepage: https://github.com/orgs/octodemo/projects/62
- Size: 519 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Webhook receiver
An example of a webhook receiver using [GitHub Codespaces](https://github.com/features/codespaces)! Check out the [demo](demos.md) guide for a short guided tour.
> **Warning**
> Not for production. May contain out of date dependencies in `requirements.txt`. Also, it doesn't do anything useful - but you can probably modify it to do useful stuff on webhook receipt.
## Real world
Change the `app.py` function to do something useful ... whatever it was that you were really wanting to accomplish. Update the requirements in `requirements.txt` first. Consider moving off Werkzeug.
:information_source: Yes, the Redis container in `docker-compose.yml` does nothing at the moment, but it does in the [systemd](systemd) directory. I had originally used this sort of program to kick off longer running tasks that couldn't be finished in time for the 10s webhook timeout in GitHub, so it'll return `201 - created` once the info from the webhook is put into Redis.