AI-powered GitHub release automation tool
npm install create-app-release

An AI-powered GitHub release automation tool that helps you create release pull requests with automatically generated summaries using various LLM providers. The tool intelligently groups your changes and creates professional release notes, making the release process smoother and more efficient.
- 🤖 AI-powered release notes generation.
- 🔄 Flexible LLM Support: Seamlessly switch between OpenAI, Google Gemini, and any OpenAI-compatible API.
- OpenAI: gpt-4o, gpt-3.5-turbo.
- Google Gemini: gemini-pro via API key or local gemini-cli.
- OpenAI-Compatible: Supports providers like Deepseek, QwenAI, or local LLMs via a custom base URL.
- 📦 Zero configuration - works right out of the box.
- 🔑 Secure token management through git config.
- 🎯 Interactive pull request selection.
- ✨ Professional markdown formatting.
- 📝 Smart categorization of changes.
- 🌟 User-friendly CLI interface.
- Node.js 14 or higher
- Git installed and configured
- A GitHub account with repository access
- An account with an AI provider (e.g., OpenAI, Google Gemini) if using an API key.
Run the tool directly using npx:
``bash`
npx create-app-release
On the first run, the tool will guide you through setting up the necessary tokens and configurations.
You will need a GitHub Token and an API key for your chosen AI provider.
1. GitHub Token - Create at GitHub Token Settings
- Required scope: repogithub.token
- Stored in git config as
2. OpenAI API Key - Get from OpenAI Platform
- Required if using the openai provider.openai.token
- Stored in git config as
3. Gemini API Key - Get from Google AI Studio
- Required if using the gemini provider.gemini.token
- Stored in git config as
#### General Options
--ai-provider openai
: Select the AI provider.
: Options: , gemini, gemini-cli.
: If not specified, you will be prompted to choose.
---
#### OpenAI Provider (--ai-provider openai)
--openai-key
: Set your OpenAI API key directly.
--openai-model "gpt-4o"
: Choose the OpenAI model (default: ).
--openai-base-url https://api.deepseek.com/v1
: Set a custom base URL for OpenAI-compatible APIs (e.g., Deepseek, QwenAI, local LLMs).
: Examples:
: - https://api.qwen.ai/v1
: - http://localhost:8000/v1
: -
---
#### Gemini Provider (--ai-provider gemini)
--gemini-key
: Set your Gemini API key directly.
--gemini-model "gemini-pro"
: Set the Gemini model to use (default: ).
---
#### Gemini CLI Provider (--ai-provider gemini-cli)
This option uses a local gemini command-line tool, which must be installed and available in your system's PATH. The script will execute the gemini command, passing the prompt to its standard input. No API key is required for this provider option.
Tokens can also be provided via environment variables:
`bash`
GITHUB_TOKEN=your_github_token
OPENAI_API_KEY=your_openai_api_key
The tool generates professional release notes in this format:
`markdown$3
- Enhanced user authentication system
- New dashboard analytics
- Fixed memory leak in background tasks
- Resolved login issues on Safari
- Optimized database queries
- Updated dependencies
#123 - Add user authentication by @username (2024-02-01)
#124 - Fix memory leak by @dev (2024-02-02)
``
MIT