{"id":16166278,"url":"https://github.com/manas140/fetch","last_synced_at":"2025-07-20T20:32:50.224Z","repository":{"id":42724809,"uuid":"390316674","full_name":"Manas140/fetch","owner":"Manas140","description":"A customizable fetch","archived":false,"fork":false,"pushed_at":"2024-02-22T04:41:26.000Z","size":3344,"stargazers_count":70,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-04-01T20:19:15.722Z","etag":null,"topics":["configuration","fetch","linux","posix"],"latest_commit_sha":null,"homepage":"","language":"Shell","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/Manas140.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}},"created_at":"2021-07-28T10:52:44.000Z","updated_at":"2025-03-07T11:41:45.000Z","dependencies_parsed_at":"2023-01-31T03:15:51.503Z","dependency_job_id":null,"html_url":"https://github.com/Manas140/fetch","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Manas140/fetch","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manas140%2Ffetch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manas140%2Ffetch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manas140%2Ffetch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manas140%2Ffetch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Manas140","download_url":"https://codeload.github.com/Manas140/fetch/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Manas140%2Ffetch/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266194211,"owners_count":23890955,"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":["configuration","fetch","linux","posix"],"created_at":"2024-10-10T02:53:47.850Z","updated_at":"2025-07-20T20:32:50.205Z","avatar_url":"https://github.com/Manas140.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fetch\nA customizable fetch utility\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"preview.png\"\u003e\n\u003c/p\u003e\n\n## Install\n```\ngit clone https://github.com/Manas140/fetch.git \u0026\u0026 cd fetch\n./install.sh i\n```\n\n## Usage\n```\nfetch [ -c config | -d default | -h ]\n```\n\n## Config options\n\n### Change default config\n\n- Provide a new config\n\n  ```\n  cp filepath $HOME/.config/fetch/conf\n  ```\n\n  \u003e E.g: you can use the configs available to you in the `conf/` folder.\n\n  ```\n  cp conf/cat $HOME/.config/fetch/conf\n  ```\n\n- Run fetch\n\n  ```\n    fetch\n  ```\n\n### Use a config for an instance\n```\nfetch -c filepath\n```\n\n### Use default config \n```\nfetch -d\n```\n\n## Config Customization [ doc like ] TL;DR\n\n- configuration is just a shell script which has predefined variables, and function.\n  Therefore, from that as base we know than we can call those variables or functions in order to print them.\n\n- configuration is stored in a function, which has a printf function\n\n```sh\n#!/bin/sh\n\nconf() {\n  printf \"\n    hello\n  \\n\"\n}  \n```\n\n- functions available \n\n```\n$(Name)\n$(Os)\n$(Kernel)\n$(Memory)\n$(Shell)\n$(Uptime)\n$(Desktop)\n```\n\n- color, and style function \n\n```\n# returns normal color red, where first argument refers to normal font style, and second to the color\n$(c 0 31)  \n```\n\n  - font style [ 1st argument ]\n\n  ```\n  0 - normal\n  1 - bold\n  2 - light\n  3 - italic \n  4 - underline\n  7 - background\n  9 - strikethrough\n  ``` \n  \n  - colors [ 2nd argument] \n\n  ```\n  31 - red \n  32 - green\n  33 - yellow\n  34 - blue \n  35 - magenta \n  36 - cyan \n  37 - white \n  ```\n  \n  \u003e use 9 instead of 3 for secondary colors, e.g 91\n\n### At last just refer to some configs in conf/ folder and you'd get the idea\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanas140%2Ffetch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmanas140%2Ffetch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmanas140%2Ffetch/lists"}