Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>TunnelAPINew to Visual Studio Code? Get it now.
TunnelAPI

TunnelAPI

TunnelAPI

|
1 install
| (0) | Free
Expose your local development server to the internet with TunnelAPI
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

  1. Open VS Code
  2. Go to Extensions (Ctrl+Shift+X)
  3. Search for "TunnelAPI"
  4. Click Install

Or install from the command line:

code --install-extension tunnelapi.tunnelapi-vscode

Quick Start

  1. Open Command Palette (Ctrl+Shift+P)
  2. Type "TunnelAPI: Login" and enter your token
  3. Type "TunnelAPI: Start Tunnel"
  4. Enter your local port (e.g., 3000)
  5. 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

Sidebar

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

  1. Visit TunnelAPI
  2. Sign up or log in
  3. Go to Account → API Tokens
  4. Create a new token
  5. 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

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft