https://github.com/lmlk-seal/gitbit
GitBit is a Python-based GitHub bot that streamlines issue management for repository maintainers.
https://github.com/lmlk-seal/gitbit
bot ci-cd developer-productivity devops-tools github-actions github-bot github-marketplace issue-management machine-learning maintainer-tools open-source-tools project-management python workflow-automation
Last synced: 4 days ago
JSON representation
GitBit is a Python-based GitHub bot that streamlines issue management for repository maintainers.
- Host: GitHub
- URL: https://github.com/lmlk-seal/gitbit
- Owner: LMLK-seal
- License: mit
- Created: 2025-06-29T17:05:31.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-06-30T20:19:51.000Z (4 months ago)
- Last Synced: 2025-06-30T21:27:34.483Z (4 months ago)
- Topics: bot, ci-cd, developer-productivity, devops-tools, github-actions, github-bot, github-marketplace, issue-management, machine-learning, maintainer-tools, open-source-tools, project-management, python, workflow-automation
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitBit π€
**Intelligent Issue Management Bot for GitHub**
*A no-code, easy-to-install GitHub bot that automatically analyzes new issues to suggest labels, assignees, and related issues, saving maintainers valuable time.*[](https://github.com/LMLK-seal/GitBit/actions)
[](https://github.com/LMLK-seal/GitBit/blob/main/LICENSE)
[](https://github.com/marketplace/actions/gitbit-intelligent-issue-bot)
[](https://github.com/LMLK-seal/GitBit/stargazers)---
## π Overview
GitBit streamlines repository management by leveraging **Natural Language Processing (NLP)** to automate the tedious aspects of GitHub issue handling. Let our intelligent bot handle the triage while you focus on what matters mostβbuilding amazing software.
## β¨ Key Features
| Feature | Description | Benefit |
|---------|-------------|---------|
| π·οΈ **Smart Tagging** | Analyzes issue content to suggest relevant labels (`bug`, `documentation`, `feature-request`) | Ensures consistent categorization and improved searchability |
| π€ **Assignee Recommendations** | Recommends contributors based on their expertise from previously closed issues | Distributes workload efficiently to the right team members |
| π **Automatic Issue Linking** | Scans and links semantically related or duplicate issues | Reduces clutter and centralizes related discussions |## π Quick Installation
Get GitBit running in your repository in just **2 minutes** with these simple steps:
### π Prerequisites
- GitHub repository with Issues enabled
- Repository admin access
- No coding experience required!### π§ Step 1: Create Workflow File
Create `.github/workflows/gitbit.yml` in your repository:
```yaml
name: GitBit Boton:
issues:
types: [opened]jobs:
run-gitbit:
runs-on: ubuntu-latest
permissions:
issues: write
contents: read
steps:
- name: Run GitBit Intelligent Issue Bot
uses: LMLK-seal/GitBit@main
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
```### βοΈ Step 2: Create Configuration File
Create `.gitbit.yml` in your repository root:
```yaml
# GitBit Configuration# Smart Tagging: Map labels to trigger keywords
tag_keywords:
bug:
- error
- exception
- traceback
- panic
- crash
- fail
- broken
documentation:
- docs
- readme
- help
- example
- tutorial
- guide
feature-request:
- feature
- enhance
- improvement
- idea
- suggestion
performance:
- slow
- performance
- optimization
- speed
security:
- security
- vulnerability
- exploit
- unsafe# Assignee Recommendations: Analyze recent closed issues
assignee_rec:
max_issues_to_scan: 100# Issue Linking: Similarity threshold for related issues
issue_linking:
similarity_threshold: 0.7
```### β Step 3: Activate
1. **Commit** both files to your repository
2. **Push** to your main branch
3. **Done!** GitBit will automatically analyze the next issue opened## π How It Works
```mermaid
graph LR
A[New Issue Opened] --> B[GitBit Triggered]
B --> C[Analyze Content]
C --> D[Check Keywords]
C --> E[Scan Contributor History]
C --> F[Compare with Existing Issues]
D --> G[Label Suggestions]
E --> H[Assignee Recommendations]
F --> I[Related Issue Links]
G --> J[Comment on Issue]
H --> J
I --> J
```GitBit operates as a **reusable GitHub Action**, meaning:
- π Always uses the latest version automatically
- π‘οΈ No code duplication in your repository
- π Continuous improvements without manual updates
- π Secure execution in GitHub's infrastructure## ποΈ Advanced Configuration
### Label Keywords Configuration
Customize `tag_keywords` to match your project's labeling system:
```yaml
tag_keywords:
custom-label:
- keyword1
- keyword2
priority-high:
- urgent
- critical
- blocker
```### Assignee Recommendation Tuning
Adjust `max_issues_to_scan` based on your repository size:
- **Small repos (< 100 issues)**: 50-100
- **Medium repos (100-1000 issues)**: 100-200
- **Large repos (> 1000 issues)**: 200-500### Issue Linking Sensitivity
Fine-tune `similarity_threshold`:
- **0.5-0.6**: More suggestions (higher recall)
- **0.7-0.8**: Balanced approach (recommended)
- **0.8-0.9**: Only very similar issues (higher precision)## π Benefits for Your Team
| Before GitBit | After GitBit |
|---------------|--------------|
| β° Manual issue triage | π€ Automated suggestions |
| π·οΈ Inconsistent labeling | π Standardized categorization |
| π€ Random assignments | π― Expertise-based matching |
| π Manual duplicate detection | π Automatic issue linking |
| π Time-consuming maintenance | β‘ Streamlined workflow |## π§ Troubleshooting
π« Bot not responding to new issues
- Verify workflow file is in `.github/workflows/` directory
- Check that the workflow has `issues: write` permissions
- Ensure `.gitbit.yml` exists in repository root
- Check GitHub Actions tab for error messagesπ·οΈ No label suggestions appearing
- Review your `tag_keywords` configuration
- Ensure keywords match common terms in your issues
- Check if labels exist in your repository settings
- Verify keyword case sensitivityπ€ No assignee recommendations
- Ensure your repository has closed issues with assignees
- Increase `max_issues_to_scan` value
- Verify contributors have sufficient commit history## π€ Contributing
We welcome contributions from the community! Here's how you can help:
### π οΈ Development Setup
1. **Fork** the repository
2. **Clone** your fork locally
3. **Create** a feature branch
```bash
git checkout -b feature/amazing-feature
```
4. **Make** your changes
5. **Test** thoroughly
6. **Commit** with descriptive messages
```bash
git commit -m "β¨ Add amazing feature"
```
7. **Push** to your branch
```bash
git push origin feature/amazing-feature
```
8. **Open** a Pull Request### π Reporting Issues
Found a bug? Have a feature request?
1. Check existing issues first
2. Use our issue templates
3. Provide detailed reproduction steps
4. Include relevant configuration files### π‘ Feature Requests
We love hearing your ideas! When suggesting features:
- Explain the use case
- Describe expected behavior
- Consider implementation complexity
- Provide examples if possible## π Roadmap
- [ ] π **Advanced NLP Models**: Implement transformer-based classification
- [ ] π **Analytics Dashboard**: Track bot performance and insights
- [ ] π **Custom Workflows**: Support for complex automation rules
- [ ] π **Multi-language Support**: Analyze issues in different languages
- [ ] π± **Slack/Discord Integration**: Notifications for team collaboration
- [ ] π― **Priority Scoring**: Automatic priority assignment based on content## π Statistics



## π License
This project is licensed under the **MIT License** - see the [LICENSE](LICENSE) file for details.
## π Acknowledgments
- Built with β€οΈ by the open-source community
- Powered by GitHub Actions
- NLP capabilities thanks to modern machine learning libraries
- Special thanks to all contributors and users## π Support
Need help? Here are your options:
- π **Documentation**: Check this README and configuration examples
- π **Bug Reports**: [Open an issue](https://github.com/LMLK-seal/GitBit/issues/new)
- π¬ **Discussions**: [GitHub Discussions](https://github.com/LMLK-seal/GitBit/discussions)
- β **Feature Requests**: [Request a feature](https://github.com/LMLK-seal/GitBit/issues/new)---
**If GitBit helped streamline your workflow, consider giving us a β!***Made with π€ by developers, for developers*