This directory contains the GitHub App manifest for the todo.mdx integration.
- Go to your GitHub organization settings
- Navigate to Developer settings → GitHub Apps → New GitHub App
- Click Create GitHub App from a manifest
- Paste the contents of
app-manifest.json - Review and create the app
The app-manifest.json file configures:
- Issues:
write- Create, update, and sync issues - Pull Requests:
write- Sync PR status in projects - Contents:
write- Read TODO.md, ROADMAP.md files - Repository Projects:
write- Sync repo-level projects - Organization Projects:
write- Sync org-level projects - Metadata:
read- Access repository metadata
issues- Issue created, edited, closed, etc.milestone- Milestone created, edited, closedpush- File changes (TODO.md, ROADMAP.md, .beads/, .todo/, .roadmap/*)projects_v2- Project created, edited, deletedprojects_v2_item- Project item created, edited, archived, reordered
- Webhook URL:
https://api.todo.mdx.do/github/webhook - Redirect URL:
https://api.todo.mdx.do/github/callback
-
Save App Credentials
- App ID
- Private key (download and store securely)
- Webhook secret
-
Configure Worker Environment Add these to your worker's wrangler configuration:
[vars] GITHUB_APP_ID = "123456" [[secret]] name = "GITHUB_PRIVATE_KEY" [[secret]] name = "GITHUB_WEBHOOK_SECRET"
-
Install on Repositories
- Install the app on repositories you want to sync
- Grant access to specific repos or all repos
- The app will sync TODO.md, ROADMAP.md, and GitHub issues/milestones/projects
If you need to change permissions:
- Update
app-manifest.json - Recreate the app or manually update permissions in GitHub App settings
- Users will be prompted to accept new permissions
- Webhook Secret: Used to verify webhook payloads (HMAC SHA-256)
- Private Key: Used to generate installation access tokens (JWT)
- OAuth Flow: For user authentication via WorkOS
Never commit credentials to version control!
Use the GitHub App settings to:
- View recent webhook deliveries
- Redeliver failed webhooks
- Test webhook endpoints
Or use the GitHub CLI:
gh api repos/OWNER/REPO/hooksSee /docs/github-projects-integration.md for detailed integration documentation.