{"id":33185689,"url":"https://github.com/orangekame3/ghfetch","last_synced_at":"2025-12-30T00:12:57.927Z","repository":{"id":198985620,"uuid":"701943507","full_name":"orangekame3/ghfetch","owner":"orangekame3","description":":octocat: ghfetch is a CLI tool to fetch GitHub user information and show like neofetch.","archived":false,"fork":false,"pushed_at":"2025-11-15T06:03:49.000Z","size":507205,"stargazers_count":57,"open_issues_count":3,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-11-15T08:13:58.831Z","etag":null,"topics":["cli","github","github-profile","readme"],"latest_commit_sha":null,"homepage":"","language":"Go","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/orangekame3.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-10-08T03:05:44.000Z","updated_at":"2025-11-15T06:03:53.000Z","dependencies_parsed_at":"2023-10-16T01:13:53.120Z","dependency_job_id":"9e4a3627-01fc-4cd7-87fd-6e2062fddcd3","html_url":"https://github.com/orangekame3/ghfetch","commit_stats":null,"previous_names":["orangekame3/gitfetch"],"tags_count":9,"template":false,"template_full_name":"orangekame3/cobra-template","purl":"pkg:github/orangekame3/ghfetch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orangekame3%2Fghfetch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orangekame3%2Fghfetch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orangekame3%2Fghfetch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orangekame3%2Fghfetch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/orangekame3","download_url":"https://codeload.github.com/orangekame3/ghfetch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/orangekame3%2Fghfetch/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":285731803,"owners_count":27222214,"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-11-22T02:00:05.934Z","response_time":64,"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":["cli","github","github-profile","readme"],"created_at":"2025-11-16T05:00:20.099Z","updated_at":"2025-11-22T04:01:30.924Z","avatar_url":"https://github.com/orangekame3.png","language":"Go","readme":"\u003cdiv align=\"center\"\u003e\n  \n# ghfetch\n\n:octocat: ghfetch is a CLI tool to fetch GitHub user information and show like neofetch\n  \n\u003ca href=\"https://opensource.org/licenses/MIT\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" alt=\"MIT License badge\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://pkg.go.dev/github.com/orangekame3/stree\"\u003e\n\u003cimg src=\"https://github.com/orangekame3/ghfetch/actions/workflows/release.yml/badge.svg\" alt=\"Release workflow status badge\"\u003e\n\u003c/a\u003e\n\u003ca href=\"https://github.com/orangekame3/ghfetch/actions/workflows/tagpr.yml\"\u003e\n\u003cimg src=\"https://github.com/orangekame3/ghfetch/actions/workflows/tagpr.yml/badge.svg\" alt=\"Tag PR workflow status badge\"\u003e\n\u003c/a\u003e\n\u003c/div\u003e\n\n## Demo\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"img/demo.gif\" alt=\"Demonstration of ghfetch\" height=\"auto\" width=\"auto\"/\u003e\n\u003c/p\u003e\n\n## Install\n\n### Go\n\n```shell\ngo install github.com/orangekame3/ghfetch@latest\n```\n\n### Homebrew\n\n```shell\nbrew install orangekame3/tap/ghfetch\n```\n\n### Manual Download\n\nDownload the latest compiled binaries and put it anywhere in your executable path.\n\n[Download here](https://github.com/orangekame3/ghfetch/releases)\n\n## Quick Start\n\n```shell\nghfetch -u \u003cyour_github_account_name\u003e --access-token=\u003cYOUR_GITHUB_PERSONAL_ACCESS_TOKEN\u003e\n```\n\n## Usage\n\n```shell\n❯ ghfetch -h\nFetch GitHub user's profile, just like neofetch\n\nUsage:\n  ghfetch [flags]\n\nFlags:\n      --access-token string   Your GitHub access token\n  -c, --color string          Highlight color red, green, yellow, blue, magenta, cyan (default \"blue\")\n  -h, --help                  help for ghfetch\n  -u, --user string           GitHub username\n  -v, --version               version for ghfetch\n```\n\n## Obtaining a GitHub Personal Access Token\n\nghfetch requires a GitHub personal access token to fetch user information. You can create a personal access token by following the instructions on the GitHub documentation:\n\n[Managing your personal access tokens](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/managing-your-personal-access-tokens)\n\n## Generating a gif Image Using GitHub Actions and ghfetch\n\nHere's a GitHub Actions workflow for generating a gif image. The gif creation uses [vhs](https://github.com/charmbracelet/vhs)\n\n```yaml\n#.github/workflows/ghfetch.yml\nname: Update ghfetch gif with vhs\n\non:\n  workflow_dispatch:\n  schedule:\n    - cron: '0 */6 * * *' # every 6 hours\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n\n    steps:\n    - name: Checkout code\n      uses: actions/checkout@v2\n\n    - name: Set up Go\n      uses: actions/setup-go@v3\n      with:\n        go-version: '1.21'\n\n    - name: Install latest ttyd\n      run: |\n        wget https://github.com/tsl0922/ttyd/releases/download/1.7.4/ttyd.x86_64\n        chmod +x ttyd.x86_64\n        sudo mv ttyd.x86_64 /usr/local/bin/ttyd\n        ttyd --version\n        \n    - name: Install ffmpeg\n      run: |\n        sudo apt update\n        sudo apt install -y ffmpeg\n        \n    - name: Install vhs and ghfetch\n      run: |\n        go install github.com/orangekame3/ghfetch@latest\n        go install github.com/charmbracelet/vhs@latest\n    - name: Generate ghfetch gif with vhs\n      run: |\n        export GITHUB_TOKEN=${{ secrets.GH_PAT }}\n        vhs \u003c img/demo.tape\n    - name: Commit and push if there are changes\n      run: |\n        git add img/demo.gif\n        git config --local user.email \"action@github.com\"\n        git config --local user.name \"GitHub Action\"\n        git commit -m \"Update ghfetch gif with vhs\" -a || echo \"No changes to commit\"\n        git push\n```\n\nTo make this work, create a secret named `GH_PAT` in your repository settings with your GitHub personal access token.\n\nNext, add a file named img/demo.tape to your repository.\n\n```txt\n# img/demo.tape\n# VHS documentation\nOutput img/demo.gif\nSet Margin 20\nSet MarginFill \"#674EFF\"\nSet BorderRadius 10\n\nSet FontSize 32\nSet Width 1500\nSet Height 1000\n\nSleep 500ms\nType \"ghfetch -u orangekame3 --access-token=$GITHUB_TOKEN\" Sleep 1000ms Enter\nSleep 10s\n```\n\nOnce set up, triggering the workflow will generate and display the gif image at img/demo.gif in your profile README repository.\n\n## Creating a Profile README\n\nFor creating and managing a profile README, refer to this GitHub documentation:\n\n[Managing your profile README](https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/managing-your-profile-readme)\n\nTo showcase the gif in your profile README, simply reference the gif from your profile README managing repository:\n\n![Alt text](img/image.png)\n\nSee more examples in [my profile README](https://github.com/orangekame3/orangekame3)\n\n## License\n\n`ghfetch` is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details.\n\n## Author\n\n👤 [**orangekame3**](https://github.com/orangekame3)\n","funding_links":[],"categories":["\u003ca name=\"online\"\u003e\u003c/a\u003eOnline search and resources"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forangekame3%2Fghfetch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Forangekame3%2Fghfetch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Forangekame3%2Fghfetch/lists"}