1.1.0 • Published 3 years ago
@an-gg/rock v1.1.0
rock

what rock??
script which will
- start the ngrok client
- write ngrock endpoint url to
~/.rock/endpoint.txt - commit and push this file to a private git repo
- can automatically start on system startup
install rock
npm i -g @an-gg/rockor
Clone this repo, then run npm i -g ./ in the root of this project.
use rock
Create a git repo at ~/.rock and make sure git push --force and ngrok works, then:
$ rockor
$ rock <ngrok args>make rock autostart
$ sudo rock autostart enable