// use case
Expose Postgres on your laptop for a quick collaborator review
You need a colleague to query a Postgres database that's running on your machine for a review session. Setting up a remote dev DB takes hours; lrok does it in seconds — with a single TCP tunnel.
Tunnel Postgres
$ lrok tcp 5432 Forwarding tcp://tcp.lrok.io:30007 -> tcp://127.0.0.1:5432Reviewer connects
$ psql 'postgres://you:pass@tcp.lrok.io:30007/mydb'Tear down
Ctrl+C in the lrok process and the public port disappears.
// why lrok for this
Pro plan tunnels are not bandwidth-metered, so a Postgres dump that's hundreds of MB doesn't cost you a thing.