Skip to content

Latest commit

 

History

History
59 lines (44 loc) · 1.1 KB

File metadata and controls

59 lines (44 loc) · 1.1 KB

Local Server

A simple local server for serving web projects.

Features

  • 🚀 Fast static file serving
  • 🎛️ Web Admin Panel for server control
  • 📁 Folder selection via browser dialog
  • 🌐 Auto-scan for index.html files
  • ⏱️ Server uptime tracking
  • 💻 Works with Node.js or Python

Quick Start

Option 1: Node.js (Recommended)

npm install
node server.js

Option 2: Python

python -m http.server 8080

Usage

From Batch Menu

start-server.bat
# Select 1 (Python) or 2 (Node.js)

Command Line Options

start-server.bat -p 3000              # Custom port
start-server.bat -d "C:\Projects\MySite"  # Custom folder
start-server.bat 9000 C:\site         # Port + folder

Access

Admin Panel Features

  • Start/Stop/Restart server
  • Change port and directory
  • Browse folders via dialog
  • View available sites
  • Server uptime

Tech Stack

  • Node.js or Python (whichever is available)
  • Pure JavaScript - no frameworks
  • Single HTML admin panel