{"id":18366194,"url":"https://github.com/ozwaldorf/punfetch","last_synced_at":"2025-04-06T16:32:02.968Z","repository":{"id":65290339,"uuid":"586385344","full_name":"ozwaldorf/punfetch","owner":"ozwaldorf","description":"Command-line System Information Tool","archived":false,"fork":false,"pushed_at":"2024-09-04T19:41:23.000Z","size":169,"stargazers_count":12,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-06T06:47:57.975Z","etag":null,"topics":["cli","command-line","fetch","rust","tool"],"latest_commit_sha":null,"homepage":"https://punfetch.dev","language":"Rust","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/ozwaldorf.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-07T23:51:58.000Z","updated_at":"2024-09-04T19:41:27.000Z","dependencies_parsed_at":"2024-04-05T01:05:24.300Z","dependency_job_id":"227f99c5-57bf-4385-b615-d7e0b4a33b63","html_url":"https://github.com/ozwaldorf/punfetch","commit_stats":{"total_commits":52,"total_committers":2,"mean_commits":26.0,"dds":"0.019230769230769273","last_synced_commit":"e260079410ec9b5c3bcb647cd5031676cadae696"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozwaldorf%2Fpunfetch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozwaldorf%2Fpunfetch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozwaldorf%2Fpunfetch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ozwaldorf%2Fpunfetch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ozwaldorf","download_url":"https://codeload.github.com/ozwaldorf/punfetch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223256604,"owners_count":17114723,"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","fetch","rust","tool"],"created_at":"2024-11-05T23:16:31.329Z","updated_at":"2024-11-05T23:16:32.187Z","avatar_url":"https://github.com/ozwaldorf.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cheader\u003e\n    \u003cp align=\"center\"\u003e\n        \u003ca href=\"https://punfetch.dev\"\u003e\n            \u003cimg alt=\"logo\" src=\"https://user-images.githubusercontent.com/8976745/211187132-1a5e959b-d3a4-4c84-84c1-f8bd5463a30e.png\" width=\"50%\"/\u003e\n        \u003c/a\u003e\n    \u003c/p\u003e\n    \u003cp align=\"center\"\u003e\n        \u003ca href=\"https://crates.io/crates/punfetch\"\u003e\u003cimg alt=\"crate\" src=\"https://img.shields.io/crates/v/punfetch?style=for-the-badge\" /\u003e\u003c/a\u003e\n        \u003ca href=\"https://crates.io/crates/punfetch\"\u003e\u003cimg alt=\"downloads\" src=\"https://img.shields.io/crates/d/punfetch?style=for-the-badge\" /\u003e\u003c/a\u003e\n        \u003ca href=\"./LICENSE\"\u003e\u003cimg alt=\"license\" src=\"https://img.shields.io/badge/license-MIT-blue?style=for-the-badge\" /\u003e\u003c/a\u003e\n        \u003ca href=\"https://github.com/ozwaldorf/punfetch/actions/workflows/rust.yml\"\u003e\u003cimg alt=\"ci\" src=\"https://img.shields.io/github/actions/workflow/status/ozwaldorf/punfetch/rust.yml?label=CI\u0026style=for-the-badge\" /\u003e\u003c/a\u003e\n        \u003ca href=\"https://github.com/ozwaldorf/punfetch/actions/workflows/publish.yml\"\u003e\u003cimg alt=\"publish\" src=\"https://img.shields.io/github/actions/workflow/status/ozwaldorf/punfetch/publish.yml?label=Publish\u0026style=for-the-badge\" /\u003e\u003c/a\u003e\n    \u003c/p\u003e\n    \u003cp align=\"center\"\u003e\n        A blazingly fast system fetch program to pair with \u003ca href=\"https://github.com/o2sh/onefetch\"\u003eonefetch\u003c/a\u003e\n    \u003c/p\u003e\n    \u003chr\u003e\n    \u003cp align=\"center\"\u003e\n        \u003cimg alt=\"preview\" width=\"80%\" src=\"https://user-images.githubusercontent.com/8976745/213606833-78967106-5a1b-403d-ad90-74a0e00dee0e.png\"/\u003e \n    \u003c/p\u003e\n    \u003cp align=\"center\"\u003e\n        View the complete ascii art collection at \u003ca href=\"https://punfetch.dev/\"\u003epunfetch.dev\u003c/a\u003e\n    \u003c/p\u003e\n\u003c/header\u003e\n\n---\n\n# Installation\n\n### Install from crates.io\n\n```bash\ncargo install punfetch\n```\n\n### Build from source\n\n```bash\ngit clone https://github.com/ozwaldorf/punfetch.git\ncd punfetch\nmake install\n```\n\n# Usage\n\n## CLI\n\n```man\n$ punfetch -h\nA blazingly fast system fetch program to pair with onefetch.\n\nUsage: punfetch [OPTIONS]\n\nOptions:\n      --distro \u003cDISTRO\u003e    Distribution to search art for (e.g. \"Manjaro\" or \"Ubuntu\")\n  -i, --image \u003cIMAGE\u003e      Image to display in place of the distro art\n      --show-logo \u003cWHEN\u003e   Show the logo [default: always] [possible values: always, never, auto]\n      --color-mode \u003cMODE\u003e  Color mode to use [default: hex] [possible values: hex, ansi, none]\n      --color \u003cCOLOR\u003e      Text color to use. Accepts ansi or hex color codes\n  -h, --help               Print help\n  -V, --version            Print version\n```\n\n## Library\n\nPunfetch is also a library to implement your own custom system fetchers! See [the docs](https://docs.rs/punfetch) for more information and examples.\n\n## Makefile\n\nDeveloping on the crate:\n\n```\nmake clean       # Clean the project\nmake build       # Build the project\nmake run         # Run the project\nmake install     # Install the project\nmake test        # Run tests\nmake lint        # Run linter\nmake fmt         # Run formatter\nmake ci          # Precommit CI checks\n```\n\nDeveloping on punfetch.dev:\n\n```\nmake init-pages   # Initialize pages\nmake patch-pages  # Patch vercel pages\nmake save-pages   # Save the diff patch\nmake dev          # Run the pages locally\n```\n\n# Contributing\n\nThis project follows [conventional commits](https://www.conventionalcommits.org/en/v1.0.0/)\n\n\u003e ⚠️ Over 200 distributions are already supported, but many do not have colors defined. If your distro is not colored, please open a PR to update it!\n\n## Adding a new distribution\n\nNew distributions can easily be supported by adding a new entry to the [distros.yaml](distros.yaml) file\n\n```yaml\n\"Examplo Linux\":\n  regex: \"(examplo|examplo_old)\" # Optional, regex to match against. Autogenerated if not provided.\n  colors: # Optional, default fg will be used if not specified\n    ansi:\n      - white # The first color is used for the info text\n      # - bright_green\n      # - magenta\n      # - etc,\n    hex: # Optional, ansi colors will be used if not specified\n      - \"#ffffff\"\n  ascii: | # The ascii art to display!\n    {0}         _nnnn_\n    {0}        dGGGGMMb\n    {0}       @p~qp~~qMb\n    {0}       M|@||@) M|\n    {0}       @,----.JM|\n    {0}      JS^\\__/  qKL\n    {0}     dZP        qKRb\n    {0}    dZP          qKKb\n    {0}   fZP            SMMb\n    {0}   HZM            MMMM\n    {0}   FqM            MMMM\n    {0} __| \".        |\\dS\"qML\n    {0} |    `.       | `' \\Zq\n    {0}_)      \\.___.,|     .'\n    {0}\\____   )MMMMMP|   .'\n    {0}     `-'       `--'\n```\n\n\u003e If there are multiple patterns that could be used to identify the distribution, or the title of the\n\u003e distribution is lengthy, a regex should be provided. Patterns should be simple, lowercase, and `A-z`, `0-9` only.\n\n\u003cfooter\u003e\n    \u003ch2 align=\"center\"\u003eHonorable mentions\u003c/h2\u003e\n    \u003cp align=\"center\"\u003e\n        \u003ca href=\"https://github.com/o2sh\"\u003e@o2sh\u003c/a\u003e\n        \u003ca href=\"https://github.com/spenserblack\"\u003e@spenserblack\u003c/a\u003e\n        for creating\n        \u003ca href=\"https://github.com/o2sh/onefetch\"\u003eonefetch\u003c/a\u003e\n    \u003c/p\u003e\n    \u003ch2 align=\"center\"\u003eContributors ❤️\u003c/h2\u003e\n    \u003cp align=\"center\"\u003e\n        \u003ca href=\"https://github.com/ozwaldorf/punfetch/graphs/contributors\"\u003e\u003cimg alt=\"contrib.rocks\" src=\"https://contrib.rocks/image?repo=ozwaldorf/punfetch\"/\u003e\u003c/a\u003e\n    \u003c/p\u003e\n    \u003cp align=\"center\"\u003e(\u003ca href=\"https://contrib.rocks/preview?repo=ozwaldorf%2Fpunfetch\"\u003econtrib.rocks\u003c/a\u003e)\u003c/p\u003e\n\u003c/footer\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozwaldorf%2Fpunfetch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fozwaldorf%2Fpunfetch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fozwaldorf%2Fpunfetch/lists"}