Run scripts from Github on the fly
Run scripts from GitHub, npx-style.
In its most basic form, it will make a shallow copy of the specified GitHub repository and run a script from it.
By default, it will look for an executable named bin/run inside the repo folder.
Run a different script:
Or from a different branch:
ghx -b foobar rshk/ghx-example
You need a Python 3 interpreter and pip installed.
pip install ghx
Or install in the user home directory (usually ~/.local):
pip install --user ghx
(Make sure you have ~/.local/bin in your PATH)
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.