neobrains / brain Goto Github PK
View Code? Open in Web Editor NEWYet another minimal unix package manager
License: MIT License
Yet another minimal unix package manager
License: MIT License
Hi, this is just a suggestion, but, through the use of statically linked binaries, you can get rid of the hard-dependencies on jq, bash, etc, by using the bigdl
binary manager like this: "wget -qO- "https://raw.githubusercontent.com/xplshn/bigdl/master/stubdl" | sh -s -- run --transparent jq", you could even get rid of the hard dependency on bash by using "wget -qO- "https://raw.githubusercontent.com/xplshn/bigdl/master/stubdl" | sh -s -- run --transparent bash <<BASH_SCRIPT"
Bigdl is a small, suckless package manager written in Go, and it provides more than 1550 statically linked binaries
Another thing that can be done, is, integrate such statically linked binaries directly into brain.sh, using something like https://github.com/xplshn/Handyscripts/blob/master/pelf or doing it manually, PELF basically packages a program + its dependencies + an optional wrapper + optional libs and files into a single binary that can be used the same way as the original program.
I really wish to cooperate and add more binaries to BigDl
and I think your project and mine could benefit a lot by cooperating.
Implementation of brain package manager search/info/list
brain neurons search <package_name>
brain neurons list all
brain neurons list installed
brain neurons info <package_name>
To think:
# Package Name: <name>
A custom help command for each command is needed since we can't list all in usage.
I am planning to implement this via making functions which get invoked at these 2 conditions
Implementation of this can be like this one -
neurons_usage() {
echo "Usage: $(basename "$0") [options] [command]"
echo "Commands:"
echo " list all List all available packages"
echo " list installed List locally installed packages"
echo " search Search for a package"
echo " info Show information about a package"
echo ""
echo "For more information, visit https://github.com/neobrains/brain"
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.