Live data from Hacker News

Pgrok – Poor Man’s Ngrok

github.com

71–80 of 83 posts

Re: Pgrok – Poor Man’s Ngrok

#71
Also check out https://docs.border0.com/docs. Super easy to get going, and supports HTTP(s), SSH and Database protocols such as mysql and postgres. Ideal for private resources, as it has a nice policy to control who should have access to what, when and where. Finally you can use Google and Github for authentication.

Re: Pgrok – Poor Man’s Ngrok

#72
I love seeing alternatives but one thing I really appreciate about ngrok is the web UI. The log of incoming requests, headers and payloads, is very helpful during development. Do any of these alternatives offer something similar? Or is there an additional tool that can be leveraged?

Re: Pgrok – Poor Man’s Ngrok

#73
if you're already running nginx on a server somewhere, you can set up a subdomain to tunnel to localhost with no software to install. just a tiny bit of config. use just ssh on the client. i only use it to test callbacks but it can be shared too

Re: Pgrok – Poor Man’s Ngrok

#74
post #65

I find it quite amusing that I read the pgrok and ngrok websites (at least the front page) and cannot understand what the hell either of them do. It's like they can do almost anything...what exactly? .... well whatever you can think of.....er like what? You can open localhost to the internet.......?????????? Sorry? Anyhow if anyone would care to put me out of my misery by explaining a bit I'd be grateful.

We use ngrok for testing OAuth2 handshakes on localhost.

Re: Pgrok – Poor Man’s Ngrok

#75
Since I don't need a lot of HTTPS development servers, but the few that I do need, need to have a fixed domain name, I simply configured nginx on one of our servers (not the production server, of course) to proxy to a localhost port and then do a SSH tunnel to that server and port from my development PC. Good enough for what I do. Though I should look into auto-ssh some day, because the SSH tunnel keeps dyeing.

Re: Pgrok – Poor Man’s Ngrok

#76
By the sounds of it Ngroks pricing is out of control. They used to allow commerical use for individual developer subscriptions, why not now?

I recently launched Tunnelmole, an open source alternative. You can just run the client and then you don't need to worry about NAT/CG-NAT, port forwarding or running your own server unless you want to self host, which is possible because the service layer is also open source.

You can get it from https://github.com/robbie-cahill/tunnelmole-client

Re: Pgrok – Poor Man’s Ngrok

#77
post #27

Earlier quoted context omitted.

Like everything in life, "it depends." If what you need can suffice with SQLite, then Postgres will work too. If you're running an app on a VM, running Postgres on it too is easy and isn't "big". It's easy to install and set up, and you're set up for all the features you may want later. Plus you avoid having to refactor for a different database later on. If you're running your app in a serverless context, or on a Paa…

Except I have to install Postgres and create a user for it, which I don't have to do with SQLite.

Yes, I mentioned that. It takes about 15 minutes and you do it once.

Re: Pgrok – Poor Man’s Ngrok

#78
post #27

Earlier quoted context omitted.

Except I have to install Postgres and create a user for it, which I don't have to do with SQLite.

Yes, I mentioned that. It takes about 15 minutes and you do it once.

Yes, that's 15 minutes that could have been saved.

Re: Pgrok – Poor Man’s Ngrok

#79
post #58
post #38

Earlier quoted context omitted.

https://tailscale.com/blog/introducing-tailscale-funnel/ is free for personal use

Not quite the same thing. Setting up a Tailscale network and installing/running the VPN client on your laptop takes an order of magnitude more work and system access than just running a script to open a local HTTP port (which is how ngrok, pgrok, Cloudflare Tunnels etc operate). The use cases are very different.

running tailscaled agent in proxy mode requires significantly less "installation" than installing the full tailscale "VPN" experience.

sure, it could be streamlined even more (currently it requires that you run "tailscaled -tun userspace-networking", possibly with a custom unix domain socket path, and then also run "tailscale up" to activate it)

Re: Pgrok – Poor Man’s Ngrok

#80

Earlier quoted context omitted.

it's only free for websites. if you are primarily an API, you have to pay (or wait for them to terminate your account) and it is EXPENSIVE. the free tier also has subpar networking in many parts of the world. make sure you don't care about those markets. edit: here are the terms of use: 2.8 Limitation on Serving Non-HTML Content The Services are offered primarily as a platform to cache and serve web pages and website…

I can't find any information about the API/website pricing differences on Cloudflare's website, but I'd like to know more - do you have a link or know where I should look?

see edit
Post reply on HN