Grin-Get - Package Manager
I recently created a tool called Grin. It's a lightweight interface to downloading releases from GitHub. Grin is nice because it lets developers create complex projects without worrying about complex installation processes for users. Instead all that's needed is a zip file of what's supposed to be installed on the user's computer. Then you make an installer that invokes Grin (through pastebin) with the proper arguments and Grin takes care of downloading, decompressing, and saving the installation to disk.
Grin-Get is a package manager based on Grin. Unlike Grin, which is meant to be lightweight and transparent to the user, Grin-Get is an interface for the user that manages the installation of packages and the interactions between them.
Github
Pastebin installer: HGAmBJiN
Usage
grin-get {install : remove} ...
- grin-get install {package}
This command is used to install a package. Packages are denoted by the username and repo name for the project on GitHub. e.g.
grin-get install Team-CC-Corp/Grin
By default, grin-get installs the latest version of the package, but this can be changed by specifying a version, like this:
grin-get install Team-CC-Corp/Grin/1.0.1
Grin-Get can install any Grin compatible release. No special action is needed from developers if the developer wants Grin-Get support on top of their Grin support. This is nice because it's already easy and powerful for a developer to support Grin, and this way they can support installation independently of Grin-Get. So they can keep their installation process transparent to the user if they don't want to require Grin-Get, while still supporting Grin-Get. - grin-get remove {package}
This is rather straightforward. It simply deletes the package from the packages folder.
Grin-Get does provide some features developers might want, but these features only work through Grin-Get, not through ordinary Grin. Packages that make use of these features require installation via Grin-Get.
- grin.json
Spoiler - The grin API
Spoiler
Grin-Get is installed via a pastebin based Grin installer. Just run:
pastebin run HGAmBJiNAnd Grin-Get should be installed. But you need to add something like the following to your startup file
shell.run("grin/bin/grin-startup.lua")Because Grin-Get needs to do a couple things as the computer starts up to allow you to use your packages easily.
Edited by ElvishJerricco, 03 December 2014 - 06:17 AM.