octodemo / webhook-demo

Demo repository - contains custom Codespaces config, database schema management, code smells and old dependencies, and a ✨ nice project board ✨ πŸ‘‡πŸΌ

Home Page:https://github.com/orgs/octodemo/projects/62

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webhook receiver

An example of a webhook receiver using GitHub Codespaces! Check out the demo 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.

ℹ️ Yes, the Redis container in docker-compose.yml does nothing at the moment, but it does in the 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.

About

Demo repository - contains custom Codespaces config, database schema management, code smells and old dependencies, and a ✨ nice project board ✨ πŸ‘‡πŸΌ

https://github.com/orgs/octodemo/projects/62

License:MIT License


Languages

Language:Python 88.4%Language:Dockerfile 11.6%