FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
project logo
charmaineChange-Logs-Generator
Scraped GitHub commits and post them in Discord for change logs
Public
Like
Change-Logs-Generator
Home
Code
3
README.md
C
gh-to-discord.tsx
H
playground.tsx
Branches
2
Pull requests
Remixes
1
History
Environment variables
4
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
5/23/2025
Viewing readonly version of main branch: v277
View latest version
README.md@277

GitHub to Discord Changelog Notifier

A val that automatically fetches GitHub commits and posts formatted changelog updates to Discord. The bot categorizes commits based on conventional commit messages ie. feat:, fix: etc.

Example: Screenshot 2025-05-21 at 7.35.34 PM.png

Environment Variables

Set the following Environment Variables (via left sidebar of this val):

  • GITHUB_REPO_OWNER: ie. steel-dev
  • GITHUB_REPO_NAME: ie. steel-browser
  • GITHUB_TOKEN:
    • For public repos, or personal repos: Go to GitHub Personal Access Tokens → Generate new token (classic) → Select repo scope
    • For org-owned repos: Go to GitHub Personal Access Tokens → Resource Owner → Select the org the repo belongs to → read access to Contents. You will need approval from the org admin.
  • DISCORD_WEBHOOK_URL: In your Discord server → Server Settings → Integrations → Webhooks → New Webhook → Copy Webhook URL

How to use

  • Cron

gh-to-discord.tsx is a cron that runs automatically based on your configured schedule, fetching commits since the last run

  • Manual Testing You can also manually test this val using the playground.tsx HTTP endpoint

Commit Categorization

The bot automatically categorizes commits into the following sections (feel free to add more!):

  • ✨ New Features (feat:)
  • 🐛 Bug Fixes (fix:)
  • ⚙️ Chores & Maintenance (chore:)
  • 📋 Other Updates (uncategorized commits)
Go to top
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Product
FeaturesPricing
Developers
DocsStatusAPI ExamplesNPM Package Examples
Explore
ShowcaseTemplatesNewest ValsTrending ValsNewsletter
Company
AboutBlogCareersBrandhi@val.town
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.