{"id":13583440,"url":"https://github.com/himynameisdave/git-labelmaker","last_synced_at":"2025-07-29T14:32:36.205Z","repository":{"id":45675058,"uuid":"49024192","full_name":"himynameisdave/git-labelmaker","owner":"himynameisdave","description":":flags: Manage your GitHub labels from the command line!","archived":true,"fork":false,"pushed_at":"2024-12-03T22:12:09.000Z","size":342,"stargazers_count":575,"open_issues_count":29,"forks_count":34,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-07-21T04:41:02.184Z","etag":null,"topics":["add-labels","cli","command-line","git-labelmaker","github-api","github-labels","remove-labels","tags"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/himynameisdave.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-04T21:26:50.000Z","updated_at":"2025-05-25T11:54:25.000Z","dependencies_parsed_at":"2023-01-23T15:01:14.441Z","dependency_job_id":null,"html_url":"https://github.com/himynameisdave/git-labelmaker","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/himynameisdave/git-labelmaker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himynameisdave%2Fgit-labelmaker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himynameisdave%2Fgit-labelmaker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himynameisdave%2Fgit-labelmaker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himynameisdave%2Fgit-labelmaker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/himynameisdave","download_url":"https://codeload.github.com/himynameisdave/git-labelmaker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/himynameisdave%2Fgit-labelmaker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267703074,"owners_count":24130464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["add-labels","cli","command-line","git-labelmaker","github-api","github-labels","remove-labels","tags"],"created_at":"2024-08-01T15:03:28.847Z","updated_at":"2025-07-29T14:32:35.694Z","avatar_url":"https://github.com/himynameisdave.png","language":"JavaScript","readme":"## :flags: git-labelmaker [![travis-build-badge](https://api.travis-ci.org/himynameisdave/git-labelmaker.svg?branch=master)](https://travis-ci.org/himynameisdave/git-labelmaker) [![Coverage Status](https://coveralls.io/repos/github/himynameisdave/git-labelmaker/badge.svg?branch=master)](https://coveralls.io/github/himynameisdave/git-labelmaker?branch=master) [![Join the chat at https://gitter.im/himynameisdave/git-labelmaker](https://badges.gitter.im/himynameisdave/git-labelmaker.svg)](https://gitter.im/himynameisdave/git-labelmaker?utm_source=badge\u0026utm_medium=badge\u0026utm_campaign=pr-badge\u0026utm_content=badge)\n\n\u003e [!CAUTION]\n\u003e This project has been sunsetted and is now read-only. There are much better ways to manage GitHub labels now, I'd highly reccommend [`srvaroa/labeler`](https://github.com/srvaroa/labeler), which is a GitHub Action for auto-labeling Issues and Pull Requests.\n\u003e Thanks to all that helped to build this project.\n\n\nEdit GitHub labels from the command line using **`git-labelmaker`**! You can easily add or remove GitHub labels, making it easier for your projects to adhere to a [sane labelling](https://medium.com/@dave_lunny/sane-github-labels-c5d2e6004b63) scheme.\n\n### Install\n\nInstall `git-labelmaker` globally:\n\n```\nyarn global add git-labelmaker\n\nOR\n\nnpm i -g git-labelmaker\n```\n\nCurrently you **must be using version `\u003e= 4.0.0` of node**, because we're using some fancy-shmancy ES6 stuff (Promises are too awesome to not use), and also because the dependant package `git-label` also currently requires `\u003e= 4.0.0`.\n\nUse **npm version `\u003e= 3.9.0`**,\n\n### Usage\n\nUsing this bad boy is a breeze. First `cd` into your git repository, run the command and follow the prompts!\n\n```\ngit-labelmaker\n```\n\n![Preview of git-labelmaker](http://i.imgur.com/UYSjdNw.png)\n\n#### Token\n\nTo interact with the GitHub API, you will need your own access token, which you can [generate over here](https://github.com/settings/tokens). Make sure your token has `repo` permissions.\n\nInstead of having to enter your token each time, `git-labelmaker` will remember it and keep it secure for you while you instead only need to remember a password you create. You can make your password whatever you like - passwords are easier to remember than tokens!\n\nCurrently, `git-labelmaker` only supports calling the public GitHub API. If you are using GitHub Enterprise and have a custom API path, you might want to check out [`git-label`](https://github.com/jasonbellamy/git-label) instead.\n\n#### Add Custom Labels\n\nYou can add your own labels one at a time. You will be prompted for your new label's text and color. Include the `#` in front of your 3 or 6 digit hex color. Add as many as you like!\n\n#### Add Labels From Package\n\nIf you have a labels package in your current directory that you would like to use for adding labels, just supply the path and name of that file. So like if it's at the root of the current directory, just `labels.json`.\n\nIt must be a valid, parsable JSON file (although the extension doesn't matter). Check out [these really good ones](https://github.com/jasonbellamy/git-label-packages/tree/master/packages) if you need a template.\n\n#### Create Package From Labels\n\nCreate a git label package from the current labels on a repo, so that you can easily use it again.\n\n#### Remove Labels\n\nYou can also remove labels. Just select the ones you want to ditch and :boom: they're gone.\n\n### Contributing\n\nFeel free to contribute to the project by opening a [Pull Request](https://github.com/himynameisdave/git-labelmaker/compare), filing a [new issue](https://github.com/himynameisdave/git-labelmaker/issues/new), or by barking at me on [the twitters](https://twitter.com/dave_lunny).\n\n**Related Stuff:**\n\u003e - [`git-label`](https://github.com/jasonbellamy/git-label) by [**jasonbellamy**](https://github.com/jasonbellamy), which `git-labelmaker` uses to add and remove labels\n\u003e - [`git-label-packages`](https://github.com/jasonbellamy/git-label-packages) is a really good set of default packages if you really want to level up your projects\n\u003e - [`git-label-faces`](https://github.com/himynameisdave/git-label-faces) is a joke package set that you should totally never use for real\n\u003e - [Sane GitHub Labels](https://medium.com/@dave_lunny/sane-github-labels-c5d2e6004b63) - an article I wrote about the importance of a good, rational labelling system in your projects\n\n---\n\n*Created by [Dave Lunny](https://twitter.com/dave_lunny) in the glorious year of 2017.*\n*Licensed under MIT :hand:*\n","funding_links":[],"categories":["Version Control","JavaScript","cli"],"sub_categories":["GitHub"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimynameisdave%2Fgit-labelmaker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhimynameisdave%2Fgit-labelmaker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhimynameisdave%2Fgit-labelmaker/lists"}