{"id":17207351,"url":"https://github.com/abdus/fetchr","last_synced_at":"2025-10-12T22:54:07.853Z","repository":{"id":99638128,"uuid":"517105244","full_name":"abdus/fetchr","owner":"abdus","description":"A CLI application that fetches and shows system information inside a terminal","archived":false,"fork":false,"pushed_at":"2022-07-24T14:43:55.000Z","size":432,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-18T17:34:37.319Z","etag":null,"topics":["rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/abdus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2022-07-23T16:14:37.000Z","updated_at":"2022-07-23T16:17:59.000Z","dependencies_parsed_at":"2023-07-31T08:31:58.862Z","dependency_job_id":null,"html_url":"https://github.com/abdus/fetchr","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/abdus/fetchr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdus%2Ffetchr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdus%2Ffetchr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdus%2Ffetchr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdus%2Ffetchr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdus","download_url":"https://codeload.github.com/abdus/fetchr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdus%2Ffetchr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013281,"owners_count":26085250,"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-10-12T02:00:06.719Z","response_time":53,"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":["rust"],"created_at":"2024-10-15T02:45:15.918Z","updated_at":"2025-10-12T22:54:07.838Z","avatar_url":"https://github.com/abdus.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# fetchr\n\n`fetchr` is a small CLI application that fetches and shows system information\nin a terminal. It is written in Rust.\n\n`fetchr` collects its data from `/proc` directory (whenever possible). This\nmakes it extremely fast. Information that cannot be accessed from the `/proc`\ndirectory (such as GPU Info), comes from Linux system calls.\n\n![fetchr](./term-screenshot.png)\n\n## Installation\n\nThere are two ways you can use this package.\n\n### Pre-built Binary\n\nDownload the `fetchr` binary executable from the release page, make it\nexecutable (`chmod +x fetchr`), and run it by executing `./fetchr`. You can\nalso put the executable in your `PATH` variable, and call it from anywhere.\n\nThe binary executable is compiled with `musl libc` instead of `glibc`. This\nmeans, it can be run on most of the Linux distributions without any additional\nset-up and/or configuration.\n\n### Build from Source\n\n0. Install Rust (`rustc 1.62.0`), Cargo and its runtime\n1. Clone this git repository using `git`\n2. Once cloned, `cd` into the project root\n3. Build the project using `cargo`. This will sync all external crates\n4. Run the project using `cargo r`\n5. To generate a release build using `musl libc`, run `cargo build --target x86_64-unknown-linux-musl --release`. Note that you will have to add the\n   target separately by executing `rustup target add x86_64-unknown-linux-musl`\n\n## Configuration\n\nAt this moment, `fetchr` does not provide many options for customization. The\nconfiguration file location and key name can be customized.\n\nTo provide a custom configuration file location, use environment variable\n`FETCHR_CONF` with a valid file location. Example:\n`FETCHR_CONF=/path/to/conf.json fetchr`.\n\nIf this variable is not set, `fetchr` will look for\n`~/config/fetchr/config.json`. If it cannot load the configuration file,\n`fetchr` will run with a default configuration.\n\nAs of now, to customize the data output, you have to edit the source code. In\nfuture, I will add support for customizing the data output too.\n\n### Configuration file example\n\n```json\n[\n  { \"key\": \"mem\", \"display_name\": \"MEMORY\" },\n  { \"key\": \"pkgs\", \"display_name\": \"PACKAGES\" },\n  { \"key\": \"cpu\", \"display_name\": \"CPU CORE\" },\n  { \"key\": \"shell\", \"display_name\": \"SHELL\" },\n  { \"key\": \"storage\", \"display_name\": \"STORAGE\" },\n  { \"key\": \"uptime\", \"display_name\": \"UPTIME\" },\n  { \"key\": \"kernel\", \"display_name\": \"KERNEL\" }\n]\n```\n\n### Commands\n\n1. `fetchr`: Prints a nice minimal table in terminal. Respects configuration\n   file.\n2. `fetchr json`: `fetchr` can also export a JSON tree of the system data it\n   aggregates. You can get a JSON tree by running `fetchr json` from your\n   terminal. This option does not respect Configuration File, and will output\n   everything.\n\n## How to contribute\n\nIf you are willing to improve this tool, you can do so by making a fork of this\nrepository, make your changes, and making a pull request back to this\nrepository.\n\n## Why I built it\n\nI am learning Rust. If you could do a code review, I will be grateful forever.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdus%2Ffetchr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdus%2Ffetchr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdus%2Ffetchr/lists"}