hsync-server
v0.5.2
Published
creates unlimited public web URLs for your web servers no matter where they may be running
Readme
hsync-server
Server component for hsync — creates unlimited public web URLs for your local web servers, no matter where they're running.
Features
- 🌐 Reverse proxy - Expose local servers with public URLs
- 🔌 WebSocket tunneling - Real-time bidirectional communication
- 🔐 Authenticated & anonymous modes - Secure with shared secret or allow public tunnels
- 📡 TCP relaying - Tunnel arbitrary TCP connections between peers via WebRTC
- 🚀 One-click deploy - Deploy to Heroku, DigitalOcean, or self-host
Quick Start
npm install hsync-serverexport HSYNC_SECRET="your-secret-here"
npm startServer runs on port 3101 by default.
Deploy
Configuration
See docs/customization.md for full configuration options including:
- Environment variables
- Nginx reverse proxy setup
- Docker deployment
- Unauthenticated access settings
Client
Use with the hsync client:
npx hsync -s your-server.com -k your-secret -n myapp -p 3000Your local port 3000 is now available at https://myapp.your-server.com
License
ISC
