Overview Version History Q & A Rating & Review
TunnelAPI for VS Code
Expose your local development server to the internet directly from VS Code.
Features
One-click tunnels - Start tunnels from the command palette or sidebar
Live request logs - See incoming requests in real-time
Multiple tunnels - Run multiple tunnels simultaneously
Status bar integration - Quick access to tunnel status
Auto-start - Optionally start tunnels when workspace opens
Installation
Open VS Code
Go to Extensions (Ctrl+Shift+X)
Search for "TunnelAPI"
Click Install
Or install from the command line:
code --install-extension tunnelapi.tunnelapi-vscode
Quick Start
Open Command Palette (Ctrl+Shift+P)
Type "TunnelAPI: Login" and enter your token
Type "TunnelAPI: Start Tunnel"
Enter your local port (e.g., 3000)
Your public URL is ready!
Commands
Command
Description
TunnelAPI: Start Tunnel
Create a new tunnel
TunnelAPI: Stop Tunnel
Stop a specific tunnel
TunnelAPI: Stop All Tunnels
Stop all active tunnels
TunnelAPI: List Tunnels
Show all active tunnels
TunnelAPI: Copy Tunnel URL
Copy tunnel URL to clipboard
TunnelAPI: Open Tunnel in Browser
Open tunnel URL in browser
TunnelAPI: Login
Authenticate with TunnelAPI
TunnelAPI: Logout
Clear stored credentials
TunnelAPI: View Logs
Show request logs
The TunnelAPI sidebar shows:
Active Tunnels - All running tunnels with quick actions
Recent Requests - Live feed of incoming requests
Settings
Setting
Description
Default
tunnelapi.apiUrl
TunnelAPI server URL
https://api.free-tunnelapi.app
tunnelapi.tunnelServerUrl
WebSocket server URL
wss://tunnel.free-tunnelapi.app
tunnelapi.defaultPort
Default local port
3000
tunnelapi.autoStart
Auto-start tunnel on workspace open
false
tunnelapi.showNotifications
Show tunnel notifications
true
Getting Your Token
Visit TunnelAPI
Sign up or log in
Go to Account → API Tokens
Create a new token
Use it with "TunnelAPI: Login"
Development
# Clone the repo
git clone https://github.com/tunnelapi/vscode-extension
# Install dependencies
npm install
# Compile
npm run compile
# Run in development
# Press F5 in VS Code to launch Extension Development Host
License
MIT