FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
charmaine

charmaine

automate-workflows

Public
Like
automate-workflows
Home
Code
5
backend
3
frontend
2
shared
2
README.md
H
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
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
/
backend
/
README.md
Code
/
backend
/
README.md
Search
5/14/2025
Viewing readonly version of main branch: v14
View latest version
README.md

Backend

This directory contains the server-side code for the GitHub Release Notes Generator.

Files

  • index.ts - Main entry point for the HTTP API (Hono app)
  • github.ts - GitHub API client for fetching repository data

API Endpoints

POST /api/release-notes

Generates release notes based on GitHub commits.

Request Body:

{ "owner": "string", // GitHub repository owner "repo": "string", // GitHub repository name "from": "string", // Starting point (tag, commit hash, or date) "to": "string", // (Optional) Ending point (defaults to HEAD) "format": "string" // (Optional) Commit format (conventional or simple) }

Response:

{ "title": "string", // Release notes title "date": "string", // Generation date "sections": [ // Categorized sections { "title": "string", // Section title (e.g., "Features", "Bug Fixes") "items": [ // Items in this section { "message": "string", // Commit message "author": "string", // Author name or username "sha": "string", // Commit SHA "url": "string" // Commit URL } ] } ], "rawMarkdown": "string" // Formatted markdown content }

Environment Variables

  • GITHUB_TOKEN - GitHub Personal Access Token with repo scope
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareersBrandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.