ScriptGrab is a lightweight and powerful script manager designed to make downloading, managing, and running shell scripts a breeze. With ScriptGrab, you can quickly grab scripts from trusted sources, install local scripts, display tool information, and even uninstall or update them—all from a single command-line interface.
- Script Management: Download and execute remote scripts effortlessly.
- Local Script Installation: Install local shell scripts directly using the
localcommand. - About Command: Display tool information with stylized ASCII art and version details using the
aboutcommand. - Update Functionality: Easily update ScriptGrab to the latest version by running
scriptgrab update. If you're on an older version, simply run this command to get the new features. - Uninstall Functionality: Remove scripts you no longer need with a simple command.
- Expandable: Add your own scripts to the repository for inclusion in future updates.
- Community Contribution: Easily contribute your scripts to the project by adding them to the
shfolder.
To install ScriptGrab, run the following commands in your terminal:
wget https://github.com/Rays-Robotics/ScriptGrab/raw/refs/heads/main/install-scriptgrab.sh -O install-scriptgrab.sh
chmod +x install-scriptgrab.sh
./install-scriptgrab.shRun the scriptgrab command to start managing your shell scripts:
scriptgrabhelp: Display usage instructions.list: Show available remote scripts.
Note: To add your own script, see the Contributing section.local <file>: Install a local.shscript from the specified file path.about: Show ScriptGrab version information and a fun ASCII art display.<script>: Download and install the specified remote script, making it executable.rm <script>: Uninstall (remove) the specified script.update: Update ScriptGrab to the latest version. If you're running an older version, simply run this command to upgrade.
-
List Available Scripts:
scriptgrab list
Output:
Available scripts: - brave-install - disk-usage-checker Want to add your own script? See the GitHub repository! Add your .sh script to the 'sh' folder, and it will be included in the next version. -
Install a Local Script:
scriptgrab local /path/to/your/script.shDescription: This command copies your local
.shfile into the ScriptGrab directory, makes it executable, and allows you to run it from anywhere. -
Display About Information:
scriptgrab about
Description: This command displays a cool ASCII art along with the current ScriptGrab version (v2.1).
-
(Example) Install Brave Browser Installer:
scriptgrab brave-install
Output:
Downloading and installing brave-install... brave-install has been installed successfully. You can now run it from anywhere using: brave-install -
Update ScriptGrab: If you're on an older version of ScriptGrab, simply run:
scriptgrab update
Description: This command downloads and installs ScriptGrab v2.1 with all the new features.
-
Uninstall a Script:
scriptgrab rm brave-install
Output:
Are you sure you want to uninstall 'brave-install'? (y/n): y 'brave-install' has been removed.
We welcome contributions from the community! To add your script to ScriptGrab:
- Fork the repository.
- Add your
.shscript to theshfolder. - Submit a pull request with a brief description of your script.
Your script will be reviewed and included in the next version of ScriptGrab.
This project is licensed under the MIT License. See the LICENSE file for details.
For questions, issues, or suggestions, feel free to open an issue on GitHub or reach out to the repository maintainer.
Happy scripting! 🚀
