-
clone repo
git clone https://github.com/jakbin/gitnews.git
-
Set Telegram bot token in
config.py
or set with heroku cliheroku config:set ENV=True heroku config:set BOT_TOKEN=Bot_Token
-
create your app with heroku cli
heroku create your_app_name
-
push code
git push main heroku
-
Add Rose Bot bot in you telegram group, send msg /id in group and copy id
-
set url with id in github webhooks (url example: http://yourapp.herokuapp.com/-xxxxxxxxxxxxx)
If you want to deploy this app on Heroku, there's a one-click setup for that. Click below, fill up the form and hit Deploy App.
- Login to Gitpod.
- Open this repo in Gitpod.
- After workspace build, dependencies will be installed.
- Follow step 2 and 3 in Setup section.
The webhooks compatibility list below is currently work-in-progress and will update as more information are available.
- Commits
- GitHub Actions (workflows, failed and success checks) - partial support
- GitHub Pages
- Statuses
- Issues and PRs
- Stars
- Watchers
- Forks
- PR Review Comments
- Projects
- Project columns
- Visibility changes - partial support
- Registry packages
- Deployments
- Deployment statuses
- Repository vulnerability alerts
- Releases
- Wiki
- Branch or tag creation/deletion
- Commit comments
- Repositories
- Test payloads
- Repo imports
- CircleCI
- Docker Hub
- Codacy
- Heroku
- Cirrus CI
Currently on partial support
- Push events
- Commits
- Tags
- Comments
- Issues and MRs
- Confidental ones CI/CD
- Job events
- Pipeline events
- Deployment events
- Wiki Page events
This is originally created by pokurt