● Shipped · v1.0.0 Node.js >= 18 22+ Architectures Cloudflare Tunnels Web Center :3737

AnyRun

One-click universal project runner, tunnel orchestrator & QR gateway. AnyRun inspects, configures, and launches projects across 22+ software architectures, dynamically detects listening ports, creates instant public HTTPS tunnels, and prints scannable QR codes in both your terminal and a local web dashboard.

Multi-Architecture Engine

Analyzes directory signatures to detect Next.js, Vite, Angular, Astro, SvelteKit, Python (FastAPI/Django/Flask/Streamlit/Gradio), Docker, Go, Rust, PHP, Java Spring/Gradle, or static HTML automatically.

Dynamic 3-Layer Port Sniffer

Resolves assigned dev server ports via log stream parsing, netstat socket polling on child PID trees, and automatic stale port termination with zero collision errors.

Dual-Mode QR Gateway

Generates instant zero-latency Local Wi-Fi direct links for fast local device testing alongside global public HTTPS tunnels with free SSL termination and zero account requirements.

Execution Pipeline

From project folder to mobile test in one step.

AnyRun bypasses manual port configuration, tunnel provisioning, and network lookup by orchestrating detection, execution, and proxying in a single unified pipeline.

AnyRun Core Lifecycle
1. Intake → Drag & drop folder onto any-run.bat, run CLI path, or browse Web Center 2. Detect → Scan signatures across Node, Python venv, Docker, Go, Rust, PHP, Java 3. Supervise → Spawn child process tree, clean stale ports, sniff TCP listening socket 4. Intercept → Reverse proxy captures network requests, enables request replay & WebSocket relay 5. Tunnel → Provision Cloudflare quick tunnel (trycloudflare.com) or Pinggy SSH fallback 6. Broadcast → Output ANSI half-block QR to terminal & broadcast SVG/PNG QR to Web Center :3737

Network Access

Two isolated pathways for zero-latency & global reach.

Local Wi-Fi (LAN Direct)

Zero Latency

Direct IP connection over your local Wi-Fi router (http://192.168.x.x:port).

  • • Zero DNS Delay: Not subject to ISP DNS caching, TTL resolution, or regional filters.
  • • Maximum Transfer Speed: Ideal for streaming heavy assets, videos, and full-resolution graphics.
  • • Physical Device QA: Perfect for instantaneous testing on iOS and Android devices connected to the same network.

Public HTTPS Tunnel

Worldwide Reach

Global public HTTPS URL via Cloudflare Quick Tunnels (https://<hash>.trycloudflare.com).

  • • Cellular & Remote Access: Test over 4G/5G mobile data from outside your office or home network.
  • • Automatic SSL: Clean HTTPS certificate termination out of the box with zero domain configuration.
  • • Zero Accounts: Automatically provisions temporary public endpoints with OpenSSH Pinggy fallback.

Detection Matrix

23 software architectures auto-configured.

AnyRun matches file signatures, resolves project-local virtual environments, and issues the exact startup command.

Architecture Signature Files Detection Logic & Command Default Port
Next.jspackage.json (next)npm run dev / yarn dev / pnpm dev3000
Vitepackage.json (vite), vite.configParses vite.config.{ts,js} for port overrides; npm run dev5173
Angularpackage.json (@angular/core)npm start4200
Astropackage.json (astro)npm run dev4321
SvelteKitpackage.json (@sveltejs/kit)npm run dev5173
Nuxtpackage.json (nuxt)npm run dev3000
Remixpackage.json (@remix-run/react)npm run dev3000
Create React Apppackage.json (react-scripts)npm start3000
Node.js (Backend)package.json, server.jsInspects dev, start, or falls back to node server.js3000
Python (FastAPI)main.py, app.py (fastapi)Auto-detects .venv / venv / env; uvicorn main:app --reload8000
Python (Django)manage.pypython manage.py runserver 0.0.0.0:80008000
Python (Flask)app.py, wsgi.py (flask)flask run --host 0.0.0.0 --port 50005000
Python (Streamlit)main.py (streamlit)streamlit run <file> --server.port 85018501
Python (Gradio)app.py (gradio)python <file>7860
Docker Composecompose.yaml, docker-compose.ymlParses exposed ports; docker compose up8080
DockerfileDockerfileParses EXPOSE; builds and runs container8080
Gogo.mod, main.gogo run .8080
RustCargo.tomlcargo run8080
PHP (Laravel)artisanphp artisan serve --host 0.0.0.0 --port 80008000
PHP (Built-in)index.phpphp -S 0.0.0.0:80008000
Java (Spring / Maven)pom.xmlmvn spring-boot:run8080
Java (Gradle)build.gradle, gradlew.batgradle bootRun8080
Static HTML / SPAindex.html, HTML/CSS/JSBuilt-in zero-dependency high-speed static server5000

Port Resolution

3-layer socket sniffer with zero port collisions.

Development servers often shift ports dynamically (e.g., Vite moving from 5173 to 5174 if 5173 is occupied). AnyRun resolves the true port without manual guesswork.

Layer 1

Log Stream Parsing

Captures explicit port announcements (Local: http://...:PORT, listening on port PORT, Uvicorn running on ...) while discarding "in use" collision noise.

Layer 2

Process Socket Tracking

Queries child process PID trees via netstat (Windows) or lsof (Unix) to find open listening TCP sockets belonging directly to the spawned process.

Layer 3

Stale Zombie Cleanup

If a previous crashed process leaves target ports locked, AnyRun automatically terminates stale zombie processes holding that socket before initiating launch.

Capabilities

Built for developer velocity and friction-free testing.

Drag & Drop

Zero-Install Windows Batch

Drag any project folder directly onto any-run.bat to launch dependencies, configure ports, create tunnels, and print QR codes in one click.

Dashboard

Web Control Center (:3737)

Local browser dashboard with multi-drive file browser, recent project quick-launch chips, live metrics, and real-time terminal log search.

Traffic Proxy

Live Request Ledger

In-memory reverse proxy logging HTTP method, status codes, request duration, header inspection, and bidirectional WebSocket relay for Vite HMR.

Inspection

Interactive Request Replay

Click Replay on any captured HTTP request to re-fire against your local service with modified headers or body, plus one-click Copy as cURL.

Simulator

Mobile Device Simulator

Interactive iframe modal with realistic device frames (iPhone 15 Pro, iPhone SE, Pixel 7, iPad Mini), orientation toggle, and hard refresh.

Silent Runner

Background Runner (VBS)

Silent Windows VBScript launcher (any-run.vbs) running without keeping terminal windows open, with automatic cleanup on tab close.

Resilience

Stale Port Terminator

Automatically detects and terminates abandoned zombie processes holding target ports from previous crashes before launching.

Security

Hardened Boundary Controls

Strict path traversal interception, SSRF prevention binding request replay to 127.0.0.1, and rotating in-memory ring buffers for memory discipline.

CLI Controls

Interactive Terminal Hotkeys

Single-key interactive controls in any TTY terminal to open links, copy tunnel URLs, restart processes, or cleanly terminate all subprocesses.

Keyboard Controls

Interactive terminal hotkeys.

When running AnyRun in a TTY terminal, single-key commands provide instant control without typing arguments.

Key Action Description
oOpen Public TunnelOpens the public HTTPS tunnel link in your default browser
lOpen Control CenterOpens the local Web Control Center (http://localhost:3737)
rRestart ApplicationStops current process tree and re-executes the launch sequence
cCopy Tunnel URLCopies the public trycloudflare.com URL directly to clipboard
wCopy Wi-Fi URLCopies the direct local LAN IP URL (http://192.168.x.x:port)
hShow HelpDisplays the shortcut hotkey reference manual in terminal
qQuitGracefully terminates child processes, tunnels, and exits cleanly

Quick Start & CLI

Three ways to launch any project.

PowerShell / Command Prompt
# Method A: Drag & Drop or Double-Click (Windows) # Double-click any-run.bat or drag any folder directly onto the script   # Method B: Global CLI Usage npm install -g any-run any-run ./my-react-app any-run D:\backend\fastapi --port 8000 --tunnel cloudflare   # Method C: Interactive Web Control Center npm start # → Open http://localhost:3737 to browse drives and monitor traffic   # Run Automated Verification Suite npm test
Automated Verification: Multi-architecture detection, port sniffing, QR generation, reverse proxy replay, and security hardening tests. npm test → All Passed
CLI Option Type / Values Description
--port <number>NumberTarget application dev server port override
--tunnel <provider>cloudflare | pinggy | autoTunnel provider strategy (default: auto)
--web-port <number>NumberWeb Control Center dashboard port (default: 3737)
--no-openFlagDo not automatically launch default browser on startup
--auto-exitFlagTerminate AnyRun when the Web Control Center browser tab closes
--help, -hFlagDisplay comprehensive CLI reference and usage manual

Integration API

REST API & Server-Sent Events specification.

The Web Control Center exposes a clean JSON API and live event stream for headless integrations.

Endpoint Method Description
/api/eventsGETServer-Sent Events (SSE) stream for status, logs, requests, and telemetry
/api/statusGETReturns current runner state, URLs, ports, and system metrics
/api/logsGETReturns rolling terminal log buffer (up to 2,000 entries)
/api/requestsGETReturns rolling intercepted network request history (up to 500 entries)
/api/scanPOSTInspects directory { "path": "/path/to/project" } and returns detected config
/api/runPOSTStarts execution for { "path": "...", "port": 3000, "tunnel": "auto" }
/api/stopPOSTStops all active processes, tunnels, and reverse proxies
/api/restartPOSTPerforms graceful teardown and re-executes the current project
/api/browseGETFile system navigator (?dir=/path or ?dir=drives)
/api/locate-folderPOSTFinds matching folder path from a dropped folder name
/api/replayPOSTReplays HTTP request { "method": "GET", "path": "/api", "headers": {} }
/api/shutdownPOSTShuts down the background AnyRun control server cleanly

Inspection & Debugging

In-memory reverse proxy with live request replay.

AnyRun sits transparently between incoming tunnel/LAN traffic and your local development server, providing full observability without installing browser extensions.

Telemetry

Live Request Ledger

Logs HTTP method, URL path, color-coded status codes, client IP, millisecond duration, and timestamps into a high-speed rolling buffer.

Protocol

WebSocket & HMR Relay

Full bidirectional streaming proxy support for Vite Hot Module Replacement, Next.js Fast Refresh, and persistent socket connections.

Replay

Interactive Request Replay

Re-fire any captured HTTP request with custom headers or payloads directly against your local service, with one-click Copy as cURL export.

Security & Resilience

Engineered with defensive boundaries and leak guards.

AnyRun treats untrusted network traffic and local process boundaries with zero assumptions.

Boundary Security

Protected
  • • Path Traversal Interception: Blocks directory traversal probes (/../../etc/passwd or %c0%af) with 403 Forbidden.
  • • SSRF Prevention: The request replay engine is strictly bound to 127.0.0.1 and validated ports, preventing internal network scanning.
  • • Memory Discipline: Capped in-memory ring buffers limit logs to 2,000 entries and requests to 500 entries to prevent memory bloat.

Process Management

Zero Orphans
  • • Tree Teardown: Uses taskkill /pid <PID> /f /t on Windows and detached process groups on Unix to eliminate zombie subprocesses.
  • • Atomic Provisioning: Cloudflared binaries download to isolated temporary files with checksum verification before atomic placement.
  • • Silent Backgrounding: Windows VBS launcher (any-run.vbs) provides zero-window execution with browser-tab-close auto-cleanup.

Downloads & Releases

Production binaries for Windows, macOS & Linux.

Every desktop binary is compiled with Electron Builder, bundling the architecture detector, socket sniffer, and Cloudflare tunnel orchestrator into a zero-dependency standalone application.

Windows 10 / 11 · x64 107 MB

AnyRun for Windows (.exe)

Official NSIS desktop installer with Start Menu integration, desktop shortcut, and background service runner.

Download Setup (.exe) ↓ Portable Standalone (.exe) · 106 MB
macOS 12+ · Universal 122 MB

AnyRun for Mac (.dmg)

Packaged disk image for macOS. Native Apple Silicon (M1/M2/M3/M4) and Intel x64 architectures.

Apple Silicon (ARM64) ↓ Intel x64 (.dmg) · 126 MB
Linux · x64 120 MB

AnyRun for Linux

Standalone AppImage executable for all distributions, or Debian/Ubuntu native package with system service.

Download AppImage ↓ Debian / Ubuntu (.deb) · 95 MB

SHA-256 Checksums & Package Verification

Verified build artifacts
Package / Filename Format Target SHA-256 Digest
AnyRun.Setup.1.0.0.exe .exe Windows x64 1145d439480c81a8c4bc74cc4...
AnyRun.1.0.0.exe .exe Windows Portable dae43f1cfa319611814f01203...
AnyRun-1.0.0-arm64.dmg .dmg macOS Apple Silicon 67de4ac2c69e3ec82b0d5a00c...
AnyRun-1.0.0.dmg .dmg macOS Intel x64 543dcdb54db6cf2c6c69f88c1...
AnyRun-1.0.0.AppImage .AppImage Linux x64 30af02f7c4ee8ff629579a7de...
any-run_1.0.0_amd64.deb .deb Debian / Ubuntu 1ea2f31dc9444c4ff3b0eda71...
Terminal / Shell — Run From Source
# 1. Clone & install dependencies git clone https://github.com/thesatyamjain/AnyRun.git cd AnyRun && npm install   # 2. Launch any project with automatic port detection & tunnel node bin/any-run.js /path/to/project   # 3. Or launch Desktop GUI Control Center npm start

Operating Flow

Zero setup from start to scan.

01 · Intake

Drop or Point

Drag any folder onto any-run.bat or run any-run <dir> from your terminal.

02 · Detect

Auto Detection

Signatures detect frameworks, configure virtualenvs, and resolve ports dynamically.

03 · Tunnel

Instant HTTPS

Cloudflare quick tunnel establishes a public HTTPS URL with free SSL termination.

04 · Scan & Test

Scan QR & Inspect

Scan the QR on your phone, inspect live traffic, and replay requests in Web Center.