{"id":22665171,"url":"https://github.com/br0ken-/clib","last_synced_at":"2026-04-27T21:31:44.142Z","repository":{"id":139226103,"uuid":"43276087","full_name":"BR0kEN-/clib","owner":"BR0kEN-","description":"Helper functions for your daily-routine work in CLI.","archived":false,"fork":false,"pushed_at":"2018-05-18T18:07:57.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T09:31:20.028Z","etag":null,"topics":["bash","cli","shell"],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/BR0kEN-.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":"2015-09-28T02:40:25.000Z","updated_at":"2018-05-18T18:07:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"b4f42916-4bbd-432c-a25e-eb3bdbb54c7d","html_url":"https://github.com/BR0kEN-/clib","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BR0kEN-/clib","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BR0kEN-%2Fclib","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BR0kEN-%2Fclib/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BR0kEN-%2Fclib/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BR0kEN-%2Fclib/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BR0kEN-","download_url":"https://codeload.github.com/BR0kEN-/clib/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BR0kEN-%2Fclib/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32356598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-27T20:07:02.737Z","status":"ssl_error","status_checked_at":"2026-04-27T20:07:00.910Z","response_time":128,"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":["bash","cli","shell"],"created_at":"2024-12-09T13:19:55.250Z","updated_at":"2026-04-27T21:31:44.127Z","avatar_url":"https://github.com/BR0kEN-.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CLI (Bash)\n\nHelper functions for your daily-routine work in CLI. Execute `clib [command]` for help.\n\n## Installation\n\nClone this repository wherever you want and export the source file into your shell.\n\nExample:\n\n```shell\ncd /usr/local/share\ngit clone git@github.com:BR0kEN-/clib.git\nvim ~/.bash_profile\nsource /usr/local/share/clib/functions.sh\n```\n\n**NOTE**! If you are not a Mac OS user, then create an alias for the `open` command inside of one of available boot files for your shell (e.g. `~/.profile`, `~/.bash_profile`, `/etc/bashrc` etc.).\n\nExample for Ubuntu:\n\n```shell\nalias open=\"sensible-browser\"\n```\n\n## Update\n\nExecute the `clib update` and latest code will be grabbed from remote.\n\n## Usage\n\nThe next commands will be available in your shell after installation.\n\n**Note**: Updating won't work if you installed scripts not via Git.\n\n### clone\n\nAll arguments for `git clone` are available and can be passed after first couple.\n\n#### Clone from Drupal.org.\n\n```shell\nclone drupal fpp_bundles\n```\n\n#### Clone from FFW (UA) GitLab.\n\n```shell\nclone ffw sla/unga\n```\n\n#### Clone from GitHub.\n\n```shell\nclone gh br0ken-/tqextension\n```\n\n#### Clone from BitBucket.\n\n```shell\nclone bb br0ken/gta\n```\n\nOverride host.\n\n```shell\nvim ~/.bash_profile\nCLIB_CLONE_ffw=\"ssh://git@git.propeople.md/\"\nsource /usr/local/share/clib/functions.sh\n```\n\nDefine new host.\n\n```shell\nvim ~/.bash_profile\nCLIB_CLONE_bitbucket=\"git@bitbucket.org:\"\nsource /usr/local/share/clib/functions.sh\n```\n\nAnd now, you able to perform:\n\n```shell\nclone bitbucket br0ken/cs\n```\n\n**Note**: All native `git clone` arguments are available.\n\n### jira\n\nOpen the project.\n\n```shell\njira pva\n```\n\nOpen the task.\n\n```shell\njira pva-177\n```\n\n**Note**: Project key is insensitive.\n\n### g\n\nSearch by \"rammstein\" keyword in Google.\n\n```shell\ng rammstein\n```\n\nSearch by \"Latin\" keyword on wikipedia.org. \n\n```shell\ng latin site: wikipedia.org\n```\n\n**Note**: All Google search syntax are available.\n\n### so\n\nUseful alias for `g [query] site: stackoverflow.com`\n\n```shell\nso how to install php\n```\n\n### t\n\nOpen Google Trnaslator.\n\n```shell\nt [query]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbr0ken-%2Fclib","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbr0ken-%2Fclib","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbr0ken-%2Fclib/lists"}