{"id":29195489,"url":"https://github.com/tsilvs/bash_utils","last_synced_at":"2026-04-07T08:02:20.462Z","repository":{"id":295145338,"uuid":"988442314","full_name":"tsilvs/bash_utils","owner":"tsilvs","description":"My Bash utilities library","archived":false,"fork":false,"pushed_at":"2026-02-23T12:16:40.000Z","size":186,"stargazers_count":6,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-02-23T20:46:46.779Z","etag":null,"topics":["adb","android","android-debug-bridge","bash","bash-script","docker","fedora-silverblue","git","linux","linux-shell","ostree","podman","rpm-ostree","utilities","utility","utility-library","vram"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tsilvs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-22T14:52:44.000Z","updated_at":"2026-02-23T12:16:46.000Z","dependencies_parsed_at":"2025-10-08T17:21:59.214Z","dependency_job_id":"4c320740-82c0-4668-abd3-10b22b679d5e","html_url":"https://github.com/tsilvs/bash_utils","commit_stats":null,"previous_names":["tsilvs/bashlib"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/tsilvs/bash_utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsilvs%2Fbash_utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsilvs%2Fbash_utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsilvs%2Fbash_utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsilvs%2Fbash_utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tsilvs","download_url":"https://codeload.github.com/tsilvs/bash_utils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tsilvs%2Fbash_utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31504897,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-07T03:10:19.677Z","status":"ssl_error","status_checked_at":"2026-04-07T03:10:13.982Z","response_time":105,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["adb","android","android-debug-bridge","bash","bash-script","docker","fedora-silverblue","git","linux","linux-shell","ostree","podman","rpm-ostree","utilities","utility","utility-library","vram"],"created_at":"2025-07-02T05:04:33.035Z","updated_at":"2026-04-07T08:02:20.454Z","avatar_url":"https://github.com/tsilvs.png","language":"Shell","readme":"# Bash Utility Functions Library\n\n\u003e [!IMPORTANT]\n\u003e I am spread too thin between all of my projects, so if you can support my efforts or wish to contribute - please contact me.\n\u003e\n\u003e My username here is almost the same on most popular online social platforms.\n\u003e\n\u003e I am open to business proposals as well. CV at LinkedIn.\n\nA collection of pre-made commands reducing cognitive load on the user.\n\nCan be useful for active `rpm-ostree`, `podman`, `distrobox` \u0026 `adb` users.\n\n\u003e [!NOTE]\n\u003e Intended for `source` (or `.`).\n\n\u003e [!WARNING]\n\u003e Use this code at your own risk, it was not well-tested!\n\u003e\n\u003e I am a solo developer with little resources so I can't guarantee smooth operation.\n\u003e\n\u003e I am writing these scripts to be stable to the best of my abilities and knowledge.\n\n## Installation\n\n\u003e [!TIP]\n\u003e To keep your system de-cluttered, install scripts to a location shared between users.\n\n\u003c!--  --\u003e\n\n\u003e [!CAUTION]\n\u003e Be careful with elevated privileges execution and important system files editing!\n\n### Pick a `scope_path`\n\n| User scope    | For login sessions | For interactive sessions |\n|---------------|--------------------|--------------------------|\n| System-wide   | `/etc/profile.d/`  | `/etc/bashrc.d/`         |\n| User-specific | `~/.profile.d/`    | `~/.bashrc.d/`           |\n\n### Install\n\n```sh\n# sudo -i # if necessary, e.g. system-wide installation\n# Download and source the install function script\ncurl -o /tmp/bash_utils.install.sh https://raw.githubusercontent.com/tsilvs/bash_utils/refs/heads/main/install.sh\nsource /tmp/bash_utils.install.sh\n# call the function\nscope_path=\"whatever/you/chose\" bash_utils.install.clone \"${scope_path}\" git@github.com:tsilvs/bash_utils.git\n# Add next line to the default sourced file (e.g. `/etc/bashrc`).\nfor f in \"${scope_path}\"/*.sh; do source $f; done\n```\n\n### Update\n\n```sh\n# sudo -i # if necessary, e.g. system-wide installation\n# Pull an update with `git`\nscope_path=\"whatever/you/chose\" git_remote=\"origin\" git -C \"${scope_path}\" pull \"${git_remote}\"\n```\n\n\u003e [!TIP]\n\u003e You can also deploy your own `git` user and store ***bare repos*** locally\n\n## Plans\n\n+ [x] Better installation script\n+ [ ] Rewrite with any `bash` scripting library (e.g. `aks/bash-lib`?) or pre-processor (e.g. `TypeShell`?) for better stability, reliability and maintainability\n+ [ ] Programming language rewrite?\n\t+ [ ] Interpreted (TypeScript, PureScript)?\n\t+ [ ] Compiled (Zig, Rust, Crystal, Go, Kotlin, Haskell, Nim, F#, OCaml)?\n\t+ [ ] any other that's well integrated with Linux ecosystem?\n+ [ ] Proper packaging with `.rpm`, `.deb`, `pkgbuild`, `flatpak`, `bpkg`, `podman` image or any other suitable packaging tool\n+ [ ] UI with `yad`\n+ [ ] Proper i18n with separate locale files\n\n## Cool new features\n\nFlatpak aliases generator! With groupping by GNOME App Folders!\n\n`ls` diff table generator!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsilvs%2Fbash_utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftsilvs%2Fbash_utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftsilvs%2Fbash_utils/lists"}