• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
project logo

charmaine

Change-Logs-Generator

Scraped GitHub commits and post them in Discord for change logs
Public
Like
2
Change-Logs-Generator
Home
Code
3
README.md
C
gh-to-discord.tsx
H
test.tsx
Branches
2
Pull requests
Remixes
3
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 milliseconds.
Sign up now
Code
/
README.md
Code
/
README.md
Search
5/23/2025
Viewing readonly version of main branch: v245
View latest version
README.md

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 in your Val Town dashboard:

  • GITHUB_REPO_OWNER: ie. steel-dev
  • GITHUB_REPO_NAME: ie. steel-browser
  • GITHUB_TOKEN: Go to GitHub Personal Access Tokens → Generate new token (classic) → Select repo scope
  • DISCORD_WEBHOOK_URL: The Discord webhook URL where updates will be posted

How to use

The cron runs automatically based on your configured schedule, fetching commits since the last run:

export default async function githubChangelogNotifier({ lastRunAt }: Interval): Promise<void>

Manual Testing

You can also manually test the functionality using the test endpoint:

fetchAndPostCommits(sinceTimestamp, untilTimestamp)

Commit Categorization

The bot automatically categorizes commits into the following sections:

  • ✨ New Features (feat:)
  • 🐛 Bug Fixes (fix:)
  • ⚙️ Chores & Maintenance (chore:)
  • 📋 Other Updates (uncategorized commits)
FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.