Intelligent GitHub issue creation with AI assistance and natural language processing
- π― Intelligent Issue Detection - Automatically detects when conversations should become GitHub issues
- π AI-Enhanced Issue Creation - Improves issue titles, descriptions, and formatting
- π Interactive Editing - Edit all issue details before creation
- π Repository Management - Set default repositories for quick issue creation
- π Multiple Issue Types - Support for bugs, features, tasks, and documentation
- π€ Natural Language Processing - Chat naturally and let AI handle the rest
- π Web Interface - Modern web UI for easy access from any browser
- π± Responsive Design - Works on desktop and mobile devices
- Node.js v16 or higher
- GitHub Personal Access Token with
repopermissions - OpenAI API access (GitHub Models)
# Clone the repository
git clone https://github.com/VastSea0/issueer.git
cd issueer
# Install dependencies
npm install
# Set up environment variables
echo "GITHUB_TOKEN=your_github_token_here" > .env
# Start the web UI
npm start# Start the command-line version
npm run cli- Go to GitHub Settings > Developer settings > Personal access tokens
- Generate a new token with
reposcope - Add it to your
.envfile
Just describe your problem naturally:
You: The login button doesn't work on mobile Safari
π― Detected: BUG
π Reasoning: User reports a technical problem with login functionality
π Repository (owner/repo-name): VastSea0/my-app
π Suggested title: "Fix login button functionality on mobile Safari"
βοΈ Edit title (press Enter to keep current):
π Create this issue? (y/n): yYou: create issue
π Let me gather more details for the issue...
What type of issue would you like to create?
1. π Bug Report
2. β¨ Feature Request
3. π Task/Enhancement
4. π Documentation
Choose (1-4): 1| Command | Description |
|---|---|
create issue |
Start manual issue creation wizard |
set default repo to owner/repo |
Set default repository |
help |
Show available commands |
exit |
Quit the application |
The application now includes a modern web interface that provides the same functionality as the CLI version with an intuitive chat-based interface.
- π¬ Chat Interface - Natural conversation flow for describing issues
- π AI-Powered Analysis - Automatic detection and categorization of issues
- β¨ AI Enhancement - Improve issue quality with AI suggestions
- π One-Click Creation - Create GitHub issues directly from the web interface
- π± Responsive Design - Works on desktop and mobile devices
# Start the web server
npm start
# Open your browser and navigate to
http://localhost:3000- Describe Your Issue - Type a natural description of your bug, feature, or task
- AI Analysis - The system automatically analyzes and suggests issue details
- Review & Edit - Review and modify the suggested title, description, and labels
- AI Enhancement - Optionally improve the issue with AI suggestions
- Create Issue - Specify the target repository and create the GitHub issue
You: The login button crashes the app on iOS Safari
π€ Assistant: I detected a bug! Here's what I suggest:
π Issue Details:
Title: Login button causes app crash on iOS Safari
Type: Bug
Labels: bug, ios, safari
[Edit form appears with pre-filled details]
# Required for GitHub integration
GITHUB_TOKEN=your_github_personal_access_token
# Optional
PORT=3000 # Web server portSet a default repository to skip entering it every time:
You: set default repo to VastSea0/issueer
β
Default repository set to: VastSea0/issueer- Automatic steps to reproduce sections
- Expected vs actual behavior
- Proper formatting with markdown
- Clear feature descriptions
- Use case explanations
- Implementation suggestions
- Detailed task descriptions
- Acceptance criteria
- Priority labeling
- Documentation requirements
- Content structure
- Update specifications
The AI assistant can automatically improve your issues by:
- βοΈ Better Titles - More descriptive and professional
- π Structured Descriptions - Proper markdown formatting and sections
- π·οΈ Smart Labels - Relevant tags based on content
- π§ Template Application - Issue-type specific formatting
Before:
Title: button not working
Description: when i click the button its not working and crashing
After AI Enhancement:
Title: Button click causes application crash - functionality broken
## Bug Description
The application crashes when clicking a specific button, preventing normal functionality.
## Steps to Reproduce
1. Navigate to the main interface
2. Click the problematic button
3. Application crashes immediately
## Expected Behavior
Button should perform its intended function without crashing
## Actual Behavior
Application crashes upon button click
issueer/
βββ models/
β βββ model.js # Main AI logic and GitHub integration
βββ index.js # Application entry point
βββ package.json # Dependencies and scripts
βββ .env # Environment variables
βββ README.md # This file
# Start web UI server
npm start
# Start development server (same as start)
npm run dev
# Start command-line version
npm run cli- GitHub API: Issue creation, repository management
- OpenAI (GitHub Models): Natural language processing and issue enhancement
- Readline Interface: Interactive CLI experience
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- OpenAI for powerful language models
- GitHub for excellent API and platform
- Octokit for GitHub API integration
If you encounter any issues or have questions:
- Check the Issues page
- Create a new issue with detailed information
- Use this tool to create the issue! π
Made with β€οΈ