{"id":16694769,"url":"https://github.com/spenserblack/repofetch","last_synced_at":"2025-03-17T00:33:29.863Z","repository":{"id":39105739,"uuid":"285302500","full_name":"spenserblack/repofetch","owner":"spenserblack","description":"A remote repository stat fetcher with support for 3rd-party plugins","archived":false,"fork":false,"pushed_at":"2024-04-01T17:13:49.000Z","size":974,"stargazers_count":19,"open_issues_count":16,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-08T18:13:12.026Z","etag":null,"topics":["cli","command-line","commandline","github","hacktoberfest","repository","screenshot"],"latest_commit_sha":null,"homepage":"https://spenserblack.github.io/repofetch/","language":"Ruby","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/spenserblack.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-08-05T13:52:58.000Z","updated_at":"2024-11-10T07:08:12.000Z","dependencies_parsed_at":"2024-10-12T16:48:15.650Z","dependency_job_id":"f4b9d904-010f-472a-9605-50eca149c89e","html_url":"https://github.com/spenserblack/repofetch","commit_stats":{"total_commits":571,"total_committers":6,"mean_commits":95.16666666666667,"dds":0.2959719789842382,"last_synced_commit":"6d699c6286e744bd6b4f630ffde86937578afeda"},"previous_names":[],"tags_count":20,"template":false,"template_full_name":"spenserblack/template-rust-repo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spenserblack%2Frepofetch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spenserblack%2Frepofetch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spenserblack%2Frepofetch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spenserblack%2Frepofetch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spenserblack","download_url":"https://codeload.github.com/spenserblack/repofetch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243835942,"owners_count":20355611,"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","command-line","commandline","github","hacktoberfest","repository","screenshot"],"created_at":"2024-10-12T16:48:13.224Z","updated_at":"2025-03-17T00:33:29.569Z","avatar_url":"https://github.com/spenserblack.png","language":"Ruby","readme":"# `repofetch`\n\n[![Gem Version](https://badge.fury.io/rb/repofetch.svg)](https://badge.fury.io/rb/repofetch)\n[![GitHub contributors (via allcontributors.org)](https://img.shields.io/github/all-contributors/spenserblack/repofetch)](./CREDITS.md)\n![CI](https://github.com/spenserblack/repofetch/workflows/CI/badge.svg)\n[![CodeQL](https://github.com/spenserblack/repofetch/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/spenserblack/repofetch/actions/workflows/github-code-scanning/codeql)\n[![codecov](https://codecov.io/gh/spenserblack/repofetch/branch/main/graph/badge.svg?token=3572AEWQAY)](https://codecov.io/gh/spenserblack/repofetch)\n\nFetch details about your remote repository.\n\n## Usage\n\n![basic demo](./demos/demo.gif)\n\n![advanced plugin usage](./demos/gitlab-plugin.gif)\n\n## Description\n\nrepofetch is a CLI tool to fetch stats (think [neofetch] or\n[onefetch]) that uses plugins for its implementation. The original version was focused on\nrepository stats, and any official plugin will be for repositories, hence the \"repo\" in\nrepofetch. With 3rd-party plugins, however, it can support other types of outputs, too.\nThis tool may be renamed in the future.\n\nFollow [this discussion](https://github.com/spenserblack/repofetch/discussions/219)\nfor details about the potential rename.\n\n## Installation\n\n[![Packaging status](https://repology.org/badge/vertical-allrepos/ruby:repofetch.svg)](https://repology.org/project/ruby:repofetch/versions)\n\n### Via RubyGems.org\n\n```bash\ngem install repofetch\n```\n\n### Via AUR\n\nIf you are using an Arch machine, you can install repofetch from the [Aur](https://aur.archlinux.org).\n\n#### Stable\n\n```\nyay -S ruby-repofetch-bin\n```\n\n#### Development\n\n```\nyay -S ruby-repofetch\n```\n\n### Via NetBSD\n\n```bash\npkgin install ruby-repofetch\n```\n\n### Installing Version `\u003c 0.4.0`\n\n#### Via [Crates.io](https://crates.io/crates/repofetch)\n\n```bash\ncargo install repofetch\n```\n\n#### Via NetBSD\n\nPre-compiled binaries are available from the [official repositories](https://pkgsrc.se/sysutils/repofetch)\nTo install this, simply run:\n\n```bash\npkgin install repofetch\n```\n\nOr, if you prefer to build it from source:\n\n```\ncd /usr/pkgsrc/sysutils/repofetch\nmake install\n```\n\nYou need to have `rust` and `libgit2` installed in order to build the package.\n\n## Configuration\n\nA file called `.repofetch.yml` in your home directory will configure repofetch. The\nfirst time you run `repofetch`, the default configuration will be written to this file.\n\nFiles called `.repofetch.env` and `repofetch.env` in your home directory will set\nenvironment variables for repofetch, via the [dotenv gem][dotenv]. These environment\nvariables can be useful for plugins that require secrets. The purpose of these files\nis to separate secrets from configuration, so that, for example, you could add\n`.repofetch.yml` to a dotfiles repository without compromising an API token.\n\nYou can find the absolute paths to these files with the `--help` option.\n\n### Examples\n\n```yaml\n# .repofetch.yml\nplugins:\n  - 'repofetch/github'\n```\n\n```dotenv\n# .repofetch.env\nGITHUB_TOKEN=my-token-abcdefg\n\n# Yes, command substitution is supported!\nGITHUB_TOKEN=$(gh auth token)\n```\n\n## Notes on Rust Implementation (Version `\u003c 0.4.0`)\n\nI switched from Rust to Ruby to rewrite this project to use and support\nplugins. I won't develop new features for the Rust implementation, but I may\nfix bugs, and I'll review pull requests. The Rust implementation is on the\n`rust` branch.\n\n[dotenv]: https://github.com/bkeepers/dotenv\n[neofetch]: https://github.com/dylanaraps/neofetch\n[onefetch]: https://github.com/o2sh/onefetch\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspenserblack%2Frepofetch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspenserblack%2Frepofetch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspenserblack%2Frepofetch/lists"}