GitHub Commit Labels

Enhances GitHub commits with beautiful labels for conventional commit types (feat, fix, docs, etc.)

Versión del día 12/04/2025. Echa un vistazo a la versión más reciente.

Tendrás que instalar una extensión para tu navegador como Tampermonkey, Greasemonkey o Violentmonkey si quieres utilizar este script.

You will need to install an extension such as Tampermonkey to install this script.

Necesitarás instalar una extensión como Tampermonkey o Violentmonkey para instalar este script.

Necesitarás instalar una extensión como Tampermonkey o Userscripts para instalar este script.

Necesitará instalar una extensión como Tampermonkey para instalar este script.

Necesitarás instalar una extensión para administrar scripts de usuario si quieres instalar este script.

(Ya tengo un administrador de scripts de usuario, déjame instalarlo)

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión como Stylus para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

Necesitará instalar una extensión del gestor de estilos de usuario para instalar este estilo.

(Ya tengo un administrador de estilos de usuario, déjame instalarlo)

Autor
nazdridoy
Calificaciones
0 0 0
Versión
1.4.0
Creado
07/02/2025
Actualizado
12/04/2025
Tamaño
65.7 KB
Licencia
MIT
Funciona en

GitHub Commit Labels

A userscript that enhances GitHub commits by adding beautiful labels for conventional commit types. It automatically detects commit types (like feat, fix, docs) and adds visually appealing labels to make your commit history more readable.

Features

  • 🏷️ Adds beautiful labels to conventional commit messages
  • 🎨 GitHub-style design that matches the platform
  • 🌓 Automatic theme detection (light, dark, and dark dimmed)
  • 💬 Informative tooltips showing detailed descriptions
  • 👆 Toggle button to quickly show/hide labels
  • 📤 Export/Import configurations for team sharing
  • ⚙️ Fully customizable through a user-friendly configuration panel
  • 🔄 Supports multiple aliases for each commit type
  • 🎯 Works on commit history and single commit pages

preview1

Supported Commit Types

Default commit types and their aliases:

  • Feature: feat, feature
  • Added: added, add
  • Updated: update, updated
  • Removed: removed, remove
  • Fix: fix, bugfix, fixed
  • Hot Fix: hotfix
  • Documentation: docs, doc, documentation
  • Style: style, css
  • UI: ui
  • Refactor: refactor
  • Performance: perf, performance
  • Optimize: optimize
  • Test: test, tests, testing
  • Build: build
  • CI/CD: ci, cd
  • Deploy: deploy, release
  • Dependencies: deps, dep, dependencies
  • Chore: chore
  • Revert: revert
  • WIP: wip
  • Security: security
  • Internationalization: i18n
  • Accessibility: a11y
  • API: api
  • Database: data
  • Configuration: config
  • Initial Setup: init
  • You Can ADD More

Installation

  1. Install a userscript manager:

  2. Install the script:

    • Install from Greasy Fork
    • Or create a new script in your userscript manager and copy the contents of github-commit-labels.js

Configuration

  1. Click on your userscript manager's icon
  2. Select "GitHub Commit Labels" > "Configure Commit Labels"
  3. Customize:
    • Add/remove commit types
    • Edit aliases
    • Change emojis
    • Modify colors
    • Toggle prefix removal
    • Enable/disable tooltips
    • Show/hide floating toggle button
    • Export/Import your configuration

preview2

Development

To contribute or modify the script:

  1. Clone the repository:

    git clone https://github.com/nazdridoy/github-commit-labels.git
    
  2. Make your changes to github-commit-labels.js

  3. Test the script by loading it in your userscript manager

  4. Submit a pull request with your changes

License

MIT License - see LICENSE for details

Credits

Created by nazdridoy

Support

If you encounter any issues or have suggestions: