{"id":19156463,"url":"https://github.com/ess/bashbrains","last_synced_at":"2025-02-22T21:42:26.872Z","repository":{"id":876322,"uuid":"618808","full_name":"ess/bashbrains","owner":"ess","description":"Bash Brains is a library package manger for the Bourne Again SHell, much in the same vein as ruby gems.","archived":false,"fork":false,"pushed_at":"2010-06-15T14:25:09.000Z","size":102,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-03T20:10:43.358Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ess.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":"COPYING","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2010-04-20T01:29:44.000Z","updated_at":"2016-04-27T01:30:15.000Z","dependencies_parsed_at":"2022-08-16T11:15:28.255Z","dependency_job_id":null,"html_url":"https://github.com/ess/bashbrains","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ess%2Fbashbrains","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ess%2Fbashbrains/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ess%2Fbashbrains/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ess%2Fbashbrains/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ess","download_url":"https://codeload.github.com/ess/bashbrains/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240241803,"owners_count":19770463,"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":[],"created_at":"2024-11-09T08:34:33.935Z","updated_at":"2025-02-22T21:42:26.851Z","avatar_url":"https://github.com/ess.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"Bash Brains\nA Bash Library (and Eventually Management System for Such)\nhttp://github.com/ess/bashbrains\n\nPURPOSE\n=======\n\nTo fulfill the requests that my employer has made of me in recent months, I've\nbeen writing a ton of bash scripts.  Almost invariably, I've been re-using a\nton of general-purpose methods (several of which are included with bash brains),\nand It's occurred to me that this would all be a lot easier if we had the\nsame mechanism for bash that Ruby and Perl have in (respectively) gems and\nCPAN.\n\nINSTALLATION\n============\n\ninstall.brains.sh\n\nIf you would like to specify a prefix, simply do so as follows:\n\nPREFIX=/path/to/whatever install.brains.sh\n\nUSAGE\n=====\n\nFor the moment, the only command available with the brains utility is \"core,\"\nwhich returns the full location of the brains core include file.\n\nTo use bash brains in your scripts, you need to source the core include.\nSince the location of the core include file is not necessarily known, one\nmay use the above \"core\" facility to source it:\n\nsource \"$( brains core )\"\n\nYou can now use any of the methods that are defined in the brains core, and you\ncan also source other brains:\n\nsource 'time'\nsource 'file'\n\nThe default behavior for the \"source\" command is to directly source the given\nfile.  If the given path does not exist, the brains library path is then\nsearched, and the brains module in question is loaded if present.\n\nEventually, the brains utility will provide a listing of both installed and\nremote brains packages as well as a mechanism by which to install and remove\nsaid packages.  Really.  It's in the TODO file.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fess%2Fbashbrains","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fess%2Fbashbrains","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fess%2Fbashbrains/lists"}