r/node • • 8d ago

Put a Node/Express app on a public HTTPS URL from your own machine in one command

I made hoist for my own hackathon demos. In a folder with a package.json, hoist up . runs npm start (or npm run dev) as a systemd service, gives it a port through process.env.PORT, and publishes it on a public HTTPS URL through Cloudflare Tunnel, with a QR code in the terminal.

Already running something? hoist adopt myapp --port 3000 publishes it without touching it. Point it at a git repo instead and it runs npm ci + npm run build on every push, with rollback if a build breaks.

The tool itself is Python with no dependencies; your app is untouched. Linux + systemd, domain on Cloudflare (or --local for a LAN URL).

Built with AI assistance (Claude), tested by me.

https://github.com/nikhilcherry/hoist

0 Upvotes

6 comments sorted by

1

u/its_jsec 6d ago

sooo..... vibe-ngrok?

1

u/bishakhghosh_ 6d ago

this is something we can do by one command ... ssh -p 443 -R0:localhost:8000 free.pinggy.io

1

u/ram-popular 4d ago

Handy tool, and the one-command flow with a QR code is perfect for hackathon demos. Using Cloudflare Tunnel means no port forwarding, and hoist adopt for apps that are already running is a nice touch. Rollback when a build fails is a smart safety net. One suggestion: add a simple password or access option for demo URLs, so a half-finished app isn't open to the whole internet. Thanks for being upfront that it was built with AI and tested by you.