1.1.0 • Published 1 year ago

@an-gg/rock v1.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
1 year ago

rock

alt text

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/rock

or

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:

$ rock

or

$ rock <ngrok args>

make rock autostart

$ sudo rock autostart enable