I created gorok because I often found myself switching between free-tier ngrok domains during my software engineering internship. It was quite a hassle and I figured to make a CLI tool since I was learning Go.
gorok simply helps you replace all the ngrok domains in your .env
so you won't have to manually find and change them.
- Download the source code
- Create an
accounts.txt
file to store the necessary information in the following format 👇🏻
email, authToken, domain
[email protected], eR7FpT2bL6S3oC9zN8W2E0hV6Y4M7I9uG2X3D5K1eR7FpT2bL, stylish-sapphire-snail.ngrok-free.app
[email protected], A5bG8pR3fT2LbS1oCzN8W2E0hV6Y4M7I9uG2X3D5K1eR7FpT2, fuzzy-flamingo-frog.ngrok-free.app
- Run
go build main.go
- Move the binary file and
accounts.txt
to your development space - Start using gorok with
./main
!