Rails development gateway that enables HTTPS access to multiple Rails apps via https://{app}.localhost.
Name Origin: Kunado (岐) is an ancient Japanese word meaning "crossroads" or "where paths diverge" - fitting for a tool that routes requests to different Rails applications.
- 🔒 Automatic HTTPS with local certificates
- 🚀 Zero-config for Rails developers
- 🎯 No need to manage port numbers - each app gets a unique port automatically
- 📦 Run multiple Rails apps simultaneously without port conflicts
- 🔧 Simple CLI interface
- 🐳 Docker-based proxy (Traefik)
- Ruby (stdlib only, no gems required)
- Docker
- macOS or Linux
# Install via tap
brew tap komagata/kunado
brew install kunado
# Update
brew upgrade kunadoTo automatically start Kunado when your Mac boots:
# Start Kunado service and enable auto-start
brew services start kunado
# Stop auto-start
brew services stop kunado
# Check service status
brew services list | grep kunadocurl -fsSL https://raw.githubusercontent.com/komagata/kunado/main/install.sh | sh- Initial Setup
# Start the proxy (macOS with auto-start)
brew services start kunado
# OR manually start the proxy
kunado proxy up
# Trust the certificate (eliminates HTTPS warnings)
kunado cert trust
# Add hook to shell configuration
echo 'eval "$(kunado hook)"' >> ~/.zshrc # or ~/.bashrc
exec $SHELL- Per Rails Project
cd my-rails-app
kunado add # Register the app
bin/rails s # Start Rails (PORT is set automatically)
kunado open # Open https://my-rails-app.localhostkunado proxy up- Start the proxy serverkunado proxy down- Stop the proxy serverkunado proxy status- Show proxy status
kunado cert trust- Install CA certificate to system (eliminates HTTPS warnings)kunado cert info- Show certificate information and trust status
kunado add- Register current directory as an appkunado delete- Remove current app from registrykunado list- List all registered appskunado open- Open current app in browser
kunado hook- Print environment variables for current appkunado version- Show versionkunado help- Show help
- Proxy Management: Kunado manages a Traefik container that listens on ports 80/443
- Certificate Generation: Creates a local CA and wildcard certificate for
*.localhost - App Registration: Each Rails app gets a unique port (3000-8999) based on its name
- Environment Variables: Sets
APP_NAME,APP_HOST, andPORTvia shell hook - Automatic Routing: Traefik routes
https://{app}.localhostto the correct port
~/.kunado/- Main configuration directory~/.kunado/routes/- Traefik route configurations~/.kunado/certs/- Local CA and certificates~/.kunado/registry.json- App registry
- Certificates are stored in user's home directory with 0600 permissions
- Local CA is only trusted for
*.localhostdomains - All traffic stays local
MIT