Skip to content

nitin-999-code/DevTunnel-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

115 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DevTunnel+ - Local Developer Tunneling Solution

This repository contains the full source code for DevTunnel+, a powerful alternative to ngrok for exposing local servers to the internet.

Project Structure

The project is split into two main standalone folders:

Folder Description Tech Stack
frontend/ The Dashboard UI React, Vite, Tailwind CSS
backend/ The Gateway Server & CLI Node.js, Express, WebSocket

๐Ÿš€ Getting Started

You will need two terminal windows to run the full application.

1. Start the Backend (Gateway Server)

This runs the core server that handles all tunnel connections.

cd backend
npm install
npm run dev

Server runs at: http://localhost:3000

2. Start the Frontend (Dashboard)

This runs the UI for inspecting requests and managing tunnels.

cd frontend
npm install
npm run dev

Dashboard runs at: http://localhost:3002


๐Ÿ’ป Using the CLI

To start a tunnel for your local app, use the included CLI tool from the backend directory.

# In inside the backend folder
npm run cli -- start 8080

(Replace 8080 with the port of your local application)


Features

  • HTTP & WebSocket Tunneling: Seamlessly forward traffic to localhost.
  • Request Inspector: View headers, body, and timing for every request.
  • Replay & Diff: Replay requests and compare responses side-by-side.
  • Traffic Control: Throttle speeds, inject latency, or block IPs for testing.
  • Security: IP Whitelisting/Blacklisting and API Key authentication.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages