Usage
1. HTTP Tunneling
Section titled “1. HTTP Tunneling”To forward public traffic to a local port (e.g., port 3000):
nipo http 30002. Custom Subdomains
Section titled “2. Custom Subdomains”Start a tunnel with a custom subdomain:
nipo http 3000 --subdomain myapp# Or shorthand:nipo http 3000 -s myapp3. Multi-tunnel Execution (via nipo.yml)
Section titled “3. Multi-tunnel Execution (via nipo.yml)”You can define multiple tunnels in a local configuration file named nipo.yml:
default_subdomain: "myproject"tunnels: - name: web port: 3000 # Uses default subdomain: myproject-web - name: api port: 8080 subdomain: "my-custom-api" # Overrides and uses: my-custom-api- Start all tunnels simultaneously:
Terminal window nipo start - Start specific tunnels from the config file:
Terminal window nipo start web
4. Configurations & Language Preferences
Section titled “4. Configurations & Language Preferences”Check the active configuration settings:
nipo configNipo detects your system locale, but you can change the display language dynamically:
nipo config --language vi # Switch to Vietnamesenipo config --language en # Switch to EnglishThese preferences are saved globally in ~/.nipo/config.yml.