# ###### `script` ``` batch powershell -NoProfile -Command "$u=(Invoke-RestMethod 'http://127.0.0.1:4040/api/tunnels').tunnels.public_url|?{$_ -like 'https://*.ngrok-free.app*'}|Select-Object -First 1; if($u){telegram -m $u}" ``` ``` shell ngrok http 80 > /tmp/ngrok80.log & ngrokURL=$(curl -s http://127.0.0.1:4040/api/tunnels | grep -oE 'https://[^"]+\.ngrok-free\.app' | head -n 1) [ -n "$ngrokURL" ] && telegram -m "$ngrokURL" echo $ngrokURL ```
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up