Lurker News
I really enjoy using a command-line interface instead of a graphical user interface, and was wondering if anyone had any solid recommendations for applications that one can use in a terminal window.

Comments (385) 158 threads

Show all comments

Showing thread 4 of 158

rutierut4 replies#
Ngrok - https://ngrok.com

So easy and super convienient if you quickly need your local server accessible from somewhere else.

AndreasBackx1 reply#
I keep a VPS running with Nginx on it for a specific port. Then I forward that port via SSH using remote forwarding to enable this exact functionality. It's free if you've already got a server running.
avip1 reply#
ngrok is free even if you don't have a server running... and you can tunnel raw TCP.

(not affiliated, I just really admire ngrok so I take it personally when people don't use it :))

aerovistae#
god, I had this same idea and thought about making it! I'm so glad you shared this, I had no idea someone else already did it! and did a great job with it, too, by the looks of it
npstr2 replies#
This one is even easier because it doesn't require to install anything, just make a good old ssh tunnel: http://localhost.run
jakelazaroff#
The thing I really love about ngrok, though, is the web dashboard where you can inspect your tunnelled traffic and even replay requests: https://ngrok.com/docs#inspect
brink#
Oh, looks like you can get a consistent sub-domain too, provided it's unique enough. Nice.
tyrbo#
<3 ngrok. been paying (love reserved names) for a while now.

for a self hosted option, I've also been using https://github.com/fatedier/frp lately.

vishaltelangre#
I found https://serveo.net as a good alternative to ngrok since it requires no signup, no installation and provides a custom subdomain for free.