✅ VibeTunnel npm Package - Ready to Publish
The standalone VibeTunnel server is now fully prepared for npm publishing!What’s Been Prepared
📦 Package Configuration (package.npm.json)
- Package name:
vibetunnel(unscoped package) - Version: 1.0.0-beta.16 (ready to increment)
- Entry point:
lib/cli.js - Binary:
vibetunnelcommand - Keywords: Added relevant keywords for discoverability
- Files: Configured to include only necessary files
🚀 New Features for Standalone Mode
-
Ngrok Integration
NgrokServiceclass for tunnel management- CLI flags:
--ngrok,--ngrok-auth,--ngrok-domain,--ngrok-region - Automatic binary detection
- Proper cleanup on shutdown
-
Enhanced CLI
- Works with
npx vibetunnelout of the box - All server configuration options preserved
- Help text with examples
- Works with
-
Docker Support
Dockerfile.standalonefor containerized deployment- Includes ngrok in the image
- Ready for Kubernetes/Docker Compose
📚 Documentation
- README.npm.md: Optimized README for npm listing
- README.standalone.md: Comprehensive standalone usage guide
- PUBLISHING.md: Step-by-step publishing instructions
- Dockerfile.standalone: Docker deployment
🛠️ Build System
- Updated
build-npm.jsto copy all necessary files - Handles README files appropriately
- Creates proper npm package structure
Quick Publishing Steps
Testing Commands
After publishing, users can:Key Benefits for Users
- Zero Installation - Works instantly with npx
- Remote Access - Built-in ngrok support
- Docker Ready - Includes Dockerfile
- Cross-Platform - Works on Linux, macOS, WSL
- Flexible Auth - From no-auth demos to SSH keys
- Production Ready - Proper security options
Version Note
Currently at1.0.0-beta.16. When ready for stable release, bump to 1.0.0.
Repository Owner Action Items
- ✅ Review package.npm.json configuration
- ✅ Test the build locally with
pnpm run build:npm - ✅ Decide on versioning (keep beta or go to 1.0.0)
- ✅ Run
npm publishwhen ready - ✅ Consider setting up GitHub Actions for automated publishing
Support Files
All necessary files are in place:/web/package.npm.json- npm package configuration/web/README.npm.md- npm README/web/README.standalone.md- Usage documentation/web/Dockerfile.standalone- Docker support/web/PUBLISHING.md- Publishing guide/web/.npmignore.standalone- Files to exclude/web/src/server/services/ngrok-service.ts- Ngrok integration