Live data from Hacker News

Pgrok – Poor Man’s Ngrok

github.com

41–50 of 83 posts

Re: Pgrok – Poor Man’s Ngrok

#41
post #38
post #11

Has anyone tried this for a free ngrok alternative that works with HTTPS, doesn't require setting up a server and has no rate limit within reason? https://developers.cloudflare.com/pages/how-to/preview-with-... Based on the page it looks like you can install Cloudflare's CLI and then run `cloudflared tunnel --url http://localhost:3000 `, and you'll get back a URL to visit such as https://seasonal-deck-organisms-sf.tr…

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

funnel is still in alpha stage, you have to join the waitlist to be added to the testers, could take a long time…

Re: Pgrok – Poor Man’s Ngrok

#42
I don’t see a usecase where a non dev should expose some local resource to the internet. These people don’t run local webservers, nor know how they work.

ngrok is a developer tool. I don’t see why marketing a dev tool to non devs is a good idea, maybe somebody can explain?

Re: Pgrok – Poor Man’s Ngrok

#43

> This is intended for small teams that need to expose the local development environment to the public internet As someone who has to manage enterprise firewalls, this is a nightmare from a security perspective. I’m more than happy to host some project in a DMZ. I have already had some devs skirt our security policies with ngrok rather than simply talk to us about their needs. I can’t say I’m a fan of punching perman…

> > This is intended for small teams > As someone who has to manage enterprise firewalls Clearly not intended for you, as the quoted part tells you outright who it is intended for.

I think it’s a bit naive to believe that would stop someone from using this. Some new employee literally tried to install a CD crack on a work computer for some game just the other day.

Re: Pgrok – Poor Man’s Ngrok

#44
post #11

Has anyone tried this for a free ngrok alternative that works with HTTPS, doesn't require setting up a server and has no rate limit within reason? https://developers.cloudflare.com/pages/how-to/preview-with-... Based on the page it looks like you can install Cloudflare's CLI and then run `cloudflared tunnel --url http://localhost:3000 `, and you'll get back a URL to visit such as https://seasonal-deck-organisms-sf.tr…

I recently changed over to cloudflare from ngrok. I followed this guide https://vitobotta.com/2022/02/27/free-ngrok-alternative-with...

Re: Pgrok – Poor Man’s Ngrok

#45
post #42

I don’t see a usecase where a non dev should expose some local resource to the internet. These people don’t run local webservers, nor know how they work. ngrok is a developer tool. I don’t see why marketing a dev tool to non devs is a good idea, maybe somebody can explain?

What makes this seem like a non-developer tool? You need a server you control, you need to mess with YAML files, "configure Caddy" is one step that's assumed to be easy, etc.

Re: Pgrok – Poor Man’s Ngrok

#46
post #13

Earlier quoted context omitted.

I'm on mobile so it's hard browse the repo, but it looks like the initial commit was 4 days ago. So I think this would be a different project with the same name. https://github.com/pgrok/pgrok/commit/1f57713c323ea494780590...

I see.. it's bit confusing, since there's an existing project in the same space ( https://github.com/jerson/pgrok ). It's even linked on the project above via the awesome https://github.com/anderspitman/awesome-tunneling list, I don't know why this is necessary.

For one, this seems to integrate with OIDC setups, which makes it easier to use it with existing company credentials (rather than manage accounts for every tool you use).

The naming conflict is unfortunate. At least the old repository is archived, but it'd still be better if this tool could be renamed IMO, especially since it's so new.

Re: Pgrok – Poor Man’s Ngrok

#47
post #10

Why do projects that are meant to be lightweight use Postgres instead of SQLite? The latter is much easier to deploy (you, well, just don't need to), and does 99% of what anyone needs, and definitely 100% of what small projects need.

I use Postgres in my personal projects because I have a server (with backups etc.) running anyway. Since this project also has OIDC authentication, I imagine the target audience may already be running a PG server?

Going by https://github.com/pgrok/pgrok/blob/main/internal/database/d... I don't think adding SQLite support should be that difficult. The ORM used (gorm) has SQLite support already.

Edit: this seems to be intentional to keep maintenance cost down: https://github.com/pgrok/pgrok/pull/11

Re: Pgrok – Poor Man’s Ngrok

#48
post #45
post #42

I don’t see a usecase where a non dev should expose some local resource to the internet. These people don’t run local webservers, nor know how they work. ngrok is a developer tool. I don’t see why marketing a dev tool to non devs is a good idea, maybe somebody can explain?

What makes this seem like a non-developer tool? You need a server you control, you need to mess with YAML files, "configure Caddy" is one step that's assumed to be easy, etc.

It says literally:

> Not everyone is a dev who knows about server operations. For people working as community managers, sales, and PMs, booting up something locally could already be a stretch and requiring them to understand how to set up and fix server problems is a waste of team's productivity.

Re: Pgrok – Poor Man’s Ngrok

#49
post #38
post #11

Has anyone tried this for a free ngrok alternative that works with HTTPS, doesn't require setting up a server and has no rate limit within reason? https://developers.cloudflare.com/pages/how-to/preview-with-... Based on the page it looks like you can install Cloudflare's CLI and then run `cloudflared tunnel --url http://localhost:3000 `, and you'll get back a URL to visit such as https://seasonal-deck-organisms-sf.tr…

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

also, for a lot of use cases (eg accessing your home-hosted stuff, on the go) simply tailscale, even without funnel, is fine

Re: Pgrok – Poor Man’s Ngrok

#50
post #48
post #45

Earlier quoted context omitted.

What makes this seem like a non-developer tool? You need a server you control, you need to mess with YAML files, "configure Caddy" is one step that's assumed to be easy, etc.

It says literally: > Not everyone is a dev who knows about server operations. For people working as community managers, sales, and PMs, booting up something locally could already be a stretch and requiring them to understand how to set up and fix server problems is a waste of team's productivity.

Oh, I read that as "you can send the links to community managers, sales, and PMs rather than making them run the app locally," since that's like, the main usecase.
Post reply on HN