{"id":20333043,"url":"https://github.com/jaebradley/github-personal-access-token-generator-cli","last_synced_at":"2025-04-11T21:33:07.156Z","repository":{"id":29788739,"uuid":"122780810","full_name":"jaebradley/github-personal-access-token-generator-cli","owner":"jaebradley","description":"Create GitHub Personal Access Tokens from the Terminal","archived":false,"fork":false,"pushed_at":"2022-08-01T07:35:09.000Z","size":1031,"stargazers_count":16,"open_issues_count":23,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-25T17:46:48.252Z","etag":null,"topics":["cli","github","nodejs","npm-package","personal-access-token"],"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/jaebradley.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":"2018-02-24T21:20:58.000Z","updated_at":"2025-01-08T14:27:35.000Z","dependencies_parsed_at":"2022-08-07T14:30:46.985Z","dependency_job_id":null,"html_url":"https://github.com/jaebradley/github-personal-access-token-generator-cli","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaebradley%2Fgithub-personal-access-token-generator-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaebradley%2Fgithub-personal-access-token-generator-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaebradley%2Fgithub-personal-access-token-generator-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaebradley%2Fgithub-personal-access-token-generator-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaebradley","download_url":"https://codeload.github.com/jaebradley/github-personal-access-token-generator-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248148077,"owners_count":21055546,"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","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":["cli","github","nodejs","npm-package","personal-access-token"],"created_at":"2024-11-14T20:29:07.470Z","updated_at":"2025-04-11T21:33:07.119Z","avatar_url":"https://github.com/jaebradley.png","language":"JavaScript","readme":"# github-personal-access-token-generator-cli\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/jaebradley/github-personal-access-token-generator-cli.svg)](https://greenkeeper.io/)\n[![codecov](https://codecov.io/gh/jaebradley/github-personal-access-token-generator-cli/branch/master/graph/badge.svg)](https://codecov.io/gh/jaebradley/github-personal-access-token-generator-cli)\n[![npm](https://img.shields.io/npm/v/github-personal-access-token-generator-cli.svg)](https://www.npmjs.com/package/github-personal-access-token-generator-cli)\n[![npm](https://img.shields.io/npm/dt/github-personal-access-token-generator-cli.svg)](https://www.npmjs.com/package/github-personal-access-token-generator-cli)\n\n![alt-text](https://imgur.com/NBzcu8N.png)\n![alt-text](https://imgur.com/ZJyz9KJ.png)\n\n[A GitHub personal access token is pretty seamless to do from the web UI](https://help.github.com/articles/creating-a-personal-access-token-for-the-command-line/).\n\nHowever, if you're a command line freak like me and want to create a personal access token quickly without having to leave the Terminal...\n\n## Installation\n\n```\nnpm install github-personal-access-token-generator-cli -g\n```\n\n## Usage\n\n```\nghpat\n```\n\nYou will be asked for\n\n* Your username + password combination\n* The various scopes / permissions you'd like your access token to have\n* A reason for this personal access token - aka what's it going to be used for?\n* A two-factor authentication code if you've turned on 2FA for GitHub\n\nIf successful your personal access token **will be copied to your clipboard**.\n\n## Uhhh not all the GitHub personal access token options are available?\n\nYeah, they're not.\n\nThis utility is mostly to create personal access tokens quickly - most of the time (I would argue), you need to set one of the \"overriding\" scopes rather than any of the \"sub-scopes\".\n\nIf this is something that's not the case for end-users, this can be added.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaebradley%2Fgithub-personal-access-token-generator-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaebradley%2Fgithub-personal-access-token-generator-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaebradley%2Fgithub-personal-access-token-generator-cli/lists"}