{"id":22208904,"url":"https://github.com/dalibor91/basher","last_synced_at":"2026-05-18T03:02:44.911Z","repository":{"id":173068399,"uuid":"95897945","full_name":"dalibor91/basher","owner":"dalibor91","description":"simple bash script to easy run and add new shell scripts ","archived":false,"fork":false,"pushed_at":"2024-02-16T15:20:55.000Z","size":68,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-08T08:55:44.539Z","etag":null,"topics":["bash","basher","management","remote-execution","scrips","shell"],"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/dalibor91.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2017-06-30T14:50:11.000Z","updated_at":"2024-02-16T14:51:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"50dcce14-7d77-427f-92f7-d5b02232a7bc","html_url":"https://github.com/dalibor91/basher","commit_stats":null,"previous_names":["dalibor91/basher"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dalibor91/basher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalibor91%2Fbasher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalibor91%2Fbasher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalibor91%2Fbasher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalibor91%2Fbasher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dalibor91","download_url":"https://codeload.github.com/dalibor91/basher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dalibor91%2Fbasher/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278916437,"owners_count":26068090,"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-08T02:00:06.501Z","response_time":56,"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":["bash","basher","management","remote-execution","scrips","shell"],"created_at":"2024-12-02T19:27:51.867Z","updated_at":"2025-10-08T08:55:45.154Z","avatar_url":"https://github.com/dalibor91.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# basher\nsimple bash program to easy run and add new bash scripts\n\n[![asciicast](https://asciinema.org/a/ZlmhsfVyJdbh37YBqrOP9VhmU.svg)](https://asciinema.org/a/ZlmhsfVyJdbh37YBqrOP9VhmU)\n\n\ninstall\n\n```\nsudo mkdir /var/lib/bshr \u0026\u0026 \\\nsudo curl -o /var/lib/bshr/bshr https://raw.githubusercontent.com/dalibor91/basher/master/basher.sh \u0026\u0026 \\\nsudo chmod +x /var/lib/bshr/bshr \u0026\u0026 \\\nsudo ln -s /var/lib/bshr/bshr /usr/local/bin/bshr\n```\n\nYou can easy manage and download thousands of bash scripts and use them easily\n\nExample of use\nDownload test shell script\n```\nroot@vg# bshr -a 'https://raw.githubusercontent.com/dalibor91/basher/master/basher_test.sh'\nDescription:\nbasher test script\n--2017-06-30 17:38:12--  https://raw.githubusercontent.com/dalibor91/basher/master/basher_test.sh\nResolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.0.133, 151.101.64.133, 151.101.128.133, ...\nConnecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.0.133|:443... connected.\nHTTP request sent, awaiting response... 200 OK\nLength: 98 [text/plain]\nSaving to: `/root/.basher/scripts/2017_06_30_17_38_07.sh'\n\n100%[====================================================================================================================================================================================================================================================================================\u003e] 98          --.-K/s   in 0s\n\n2017-06-30 17:38:12 (15.4 MB/s) - `/root/.basher/scripts/2017_06_30_17_38_07.sh' saved [98/98]\n\nEnter command name to run like:\nbasher laskjd this is not valid\nEnter command name to run like:\nbasher_test\n```\n\nTo see all installed scripts run:\n```\nroot@vg# bshr --list\nAlias: basher_test\n```\n\nTo see details of some specific script run\n```\nroot@vg# basher --explain basher_test\nDownlaoded from\nhttps://raw.githubusercontent.com/dalibor91/basher/master/basher_test.sh\n--------------------------\nbasher test script\n```\n\nTo run script run\n```\nroot@vg# bshr -r basher_test 123 456 6789 000\nArgument 0 /root/.basher/scripts/2017_06_30_17_38_07.sh\nArgument 1 123\nArgument 2 456\nArgument 3 6789\n```\n\nTo remove script run\n```\nroot@vg# bshr -d basher_test\nRemoved!\n```\n\nTo see all options run\n```\nroot@vg# bshr -h\nBSHR is small script that enables you running and managing shell scripts with one command\nbshr\n     -a  | --add     \u003cscript\u003e     - add script to basher, local or remote\n     -e  | --edit    \u003calias\u003e      - edit script that you saved by some alias\n     -r  | --run     \u003calias\u003e      - run script that you saved by some alias\n     -d  | --delete  \u003calias\u003e      - deletes script\n     -H  | --host    \u003cuser@host\u003e  - destination where to run script\n     -e  | --explain \u003calias\u003e      - print description message\n     -l  | --list                 - list all scripts\n     -h  | --help                 - this message\n     -su | --switch-user \u003cuser\u003e   - run as this user (requires su permissions)\n     -env                         - load env variables from files\n     --args                       - pass arguments to script\n     --update                     - update basher\n     --cleanup                    - clear all\n\n\nScript can be added from remote url or locally. If alias and description not provided with env variables,\nprogram expect them from stdin.\n\nExample:\n    ADD_ALIAS=test ADD_DESCRIPTION=\\\"some test description\\\" bshr -a /tmp/test.sh\n    bshr -a /tmp/test.sh\n    bshr -e test # edits test script\n    DEFAULT_EDITOR=vim bshr -e test\n    bshr -r test\n    bshr -r test -H root@192.168.0.100\n    bshr -r test --args 'pass to script' 'also this'\n    bsht -r test -H root@192.168.0.100 --args 'additional' 'arg'\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalibor91%2Fbasher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdalibor91%2Fbasher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdalibor91%2Fbasher/lists"}