Say it with Bots!
summary
Builds a real GitHub App bot in Python 3.7 that greets installers and thanks first‑time PR authors, using gidgethub, aiohttp, asyncio and deploying to Heroku. Demonstrates obtaining an installation access token via JWT, making API calls to create/close issues, post comments, add reactions and labels, and reading webhook payloads to detect sender association. The tutorial walks through code, Heroku config and private key setup and shows the bot actually running and responding.
AI-written summary · about
chapters (29)
- 0:00Start
- 1:32Introduction about Myself
- 6:15Install Python
- 7:19Heroku Toolbelt
- 7:43Github Bots
- 9:15Cpython Repository
- 21:40Create and Virtual Environment
- 22:52Create a Github Personal Access Tokens
- 38:07Closing an Issue
- 39:17Adding a Reaction for an Issue
- 42:58Building a Github App
- 43:28Web Hooks
- 43:51Example Events
- 46:04Authentication
- 48:34Get this Installation Access Token
- 50:16Creating the Web Service
- 51:42File Structures
- 53:27Runtime Txt
- 54:45Web Hook
- 58:06Deploy to Heroku
- 58:54Connect to My Github
- 1:01:11Review Your Locks in the Terminal
- 1:01:59Create a Github App
- 1:07:31Set Up the Environment Variables
- 1:09:57Hook Events
- 1:17:44Installation Access Token
- 1:25:16File Deploy to Heroku
- 1:28:28Check the Web Hooks
- 1:53:42Reacting to an Issue Comment
related talks
26mProbot: Build Your Assistant to Make Life Easier on GitHub
06mWriting Bots for GitHub
34mKeynote with Mariatta Wijaya
27mCoding Your Company Culture
37mHow We Learned To Stop Worrying And Love (Or At Least Live With) GitHub
18mShipping at Scale: ChatOps at GitHub #bbuzz
39mAutomate the Boring Stuff with Slackbot
28mHarnessing the APIs you didn't know existed
