hasura / ngrok

Introspected tunnels to localhost

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hgrok - Introspected tunnels to localhost (homepage)

”I want to expose a local hasura project behind a NAT or firewall to the internet.”

What is hgrok?

hgrok is a fork of ngrok for developers to expose their local hasura projects to the Internet via a secure tunnel.

What can I do with hgrok?

  • Expose any http service behind a NAT or firewall to the internet on a subdomain of hasura.me. If you choose a subdomain called john, requests to *.john.hasura.me will come through the tunnel to your server.

What is hgrok useful for?

  • Temporarily sharing your hasura project that is only running on your development machine
  • Demoing an app at a hackathon without deploying to a cloud provider

Usage

sudo ./hgrok -authtoken="<api-token>" -subdomain="<subdomain>" -proto=http $(minikube ip):80 
  • Get your minikube ip, and substitute <minikube-ip> in the command below:
sudo ./hgrok -authtoken="<api-token>" -subdomain="<subdomain>" -proto=http <minikube-ip>:80 
  • Run the following command if you are running a server on localhost:80
sudo ./hgrok -authtoken="<api-token>" -subdomain="<subdomain>" -proto=http 80 

Thank you ngrok!

hgrok is a fork of the awesome ngrok. That means you can do pretty much everything you do with ngrok, wth hgrok too!

About

Introspected tunnels to localhost

License:Other


Languages

Language:Go 73.9%Language:JavaScript 20.7%Language:HTML 4.4%Language:Makefile 1.0%