Skip to content

stephanebouget/Github-Magic-Issue

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

✨ GitHub / Gitlab Magic Issue

Because automatic issue modifications via GitHub Actions lack fine-grained control. This extension brings AI directly into the GitHub interface, allowing you to generate concise issue titles in real time based on your description.

Features

  • 🌐 Auto-translate: Translates issue descriptions to English using Google Translate
  • Title generation: Generates concise GitHub issue titles using LLM API
  • 🚀 Magic button: One-click generation on new issues and edit forms
  • 📝 Works on: New issues and existing issue edits

Setup

1. Configure API Keys

Copy the config template and add your API key:

cp config.example.js config.js

Edit config.js and replace with your actual credentials:

const CONFIG = {
  OPENAI_API_KEY: "your-actual-api-key-here",
  LLM_API_URL: "<LLM_URL>/v1/chat/completions",
  LLM_MODEL: "openai/gpt-4.1-mini",
};

2. Load Extension in Chrome

  1. Go to chrome://extensions/
  2. Enable Developer mode (top right)
image
  1. Click Load unpacked
  2. Select this folder
image

3. Update Manifest

Edit manifest.json and update the content script matches pattern:

"host_permissions": ["<LLM_URL>"]

Usage

  • New Issues: Click the ✨ magic button next to the title input
  • Edit Issues: Click the ✨ magic button next to Cancel button image

The button will:

  1. Translate the content to English
  2. Generate an appropriate title
  3. Fill it automatically

Security

The config.js file is excluded from git and contains sensitive information. Never commit it!

About

Magic button to auto generate Github issue title from description

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors