{"id":15502519,"url":"https://github.com/matsubara0507/ghoauth","last_synced_at":"2025-03-28T18:21:49.105Z","repository":{"id":48508326,"uuid":"376235695","full_name":"matsubara0507/ghoauth","owner":"matsubara0507","description":"CLI Tool to generate GitHub token by GitHub Apps","archived":false,"fork":false,"pushed_at":"2021-07-22T10:38:44.000Z","size":27,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-02T18:47:03.439Z","etag":null,"topics":["github-apps","haskell-application"],"latest_commit_sha":null,"homepage":"","language":"Haskell","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/matsubara0507.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2021-06-12T08:05:44.000Z","updated_at":"2021-06-22T15:16:34.000Z","dependencies_parsed_at":"2022-09-01T19:12:04.842Z","dependency_job_id":null,"html_url":"https://github.com/matsubara0507/ghoauth","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Fghoauth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Fghoauth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Fghoauth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matsubara0507%2Fghoauth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matsubara0507","download_url":"https://codeload.github.com/matsubara0507/ghoauth/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246076953,"owners_count":20719897,"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":["github-apps","haskell-application"],"created_at":"2024-10-02T09:10:08.977Z","updated_at":"2025-03-28T18:21:49.076Z","avatar_url":"https://github.com/matsubara0507.png","language":"Haskell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ghoauth\n\n[![Build Application](https://github.com/matsubara0507/ghoauth/actions/workflows/build.yaml/badge.svg)](https://github.com/matsubara0507/ghoauth/actions/workflows/build.yaml)\n\nCLI Tool to generate GitHub token by GitHub Apps\n\n## Usage\n\n```\n$ ghoauth --help\nghoauth [options]\n  -h  --help            Show this help text\n      --version         Show version\n  -v  --verbose         Enable verbose mode: verbosity level \"debug\"\n      --client_id=TEXT  GitHub Apps client ID instead of CLIENT_ID environment variable\n      --env-file=PATH   .env file path to write access token\n      --env-var=TEXT    Environment variable name for access token\n      --clip            Set user_code to clipboard\n```\n\n1. [Create GitHub Apps](https://github.com/settings/apps/new)\n   - Enable \"Expire user authorization tokens\"\n   - Enable \"Only on this account\"\n2. Create `.env` file (default `~/.env`)\n3. Run command with (1) client_id\n\n```\nghoauth --client_id=CLIENT_ID --clip\n```\n\n## Build\n\n```\nstack build\n```\n\n### Docker\n\n```\nstack --docker --local-bin-path=./bin install\ndocker build -t matsubara0507/ghoauth . --build-arg local_bin_path=./bin\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsubara0507%2Fghoauth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatsubara0507%2Fghoauth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatsubara0507%2Fghoauth/lists"}