2 ms·
For Tunnelmole (open source ngrok alternative) the service is identical to the open source project, but with this module https://github.com/robbie-cahill/tunnel
by aussieguy1234 2y ago
For Tunnelmole (open source ngrok alternative) the service is identical to the open source project, but with this module https://github.com/robbie-cahill/tunnelmole-service/blob/main/src/authentication/authorize.ts https://github.com/robbie-cahill/tunnelmole-service/blob/mai... replaced with a custom version to add the billing logic. It has the same function signature so works seamlessly with the NodeJS module system.
It calls Stripe to check the plan for example.
I keep a copy of it in another folder to avoid accidentally committing it and use `rsync` to patch it in at deployment time.