A Production-Grade Web-Based Remote Terminal for ESP8266 Control, Monitor & Manage your device directly from the browser.
WiFi Controlled Remote Terminal is a secure, web-based terminal system built for ESP8266 (NodeMCU / D1 Mini).
It allows you to:
- Execute safe predefined commands
- Monitor system information
- Scan nearby WiFi networks
- View real-time device status
- Manage your ESP8266 remotely
- Display live status on OLED screen
All without any extra components (except optional OLED).
Browser (index.html)
β
HTTP POST /execute
β
ESP8266 Command Parser
β
JSON Response
β
Terminal Output in Browser
OLED shows:
- Device Name
- IP Address
- Connected Clients
- Last Command
- Uptime
WiFi_Controlled_Remote_Terminal/
β
βββ WiFi_Controlled_Remote_Terminal.ino
βββ data/
βββ index.html
Only 2 files required.
- Dark premium terminal UI
- Smooth animations
- Command history support
- Loading animation
- JSON-based response handling
- Fully responsive design
| Command | Function |
|---|---|
help |
Show available commands |
info |
Show system information |
wifi-scan |
Scan nearby WiFi networks |
uptime |
Show device uptime |
heap |
Show free heap memory |
restart |
Restart ESP8266 |
clear |
Clear terminal screen |
Displays:
- Device Name
- IP Address
- Client Count
- Last Command
- Uptime
- Whitelisted command execution
- Structured JSON responses
- Optional password authentication
- Safe input handling
Dark Terminal Theme:
| Element | Color |
|---|---|
| Background | #0f172a |
| Card | #1e293b |
| Accent | Cyan Glow |
| Text | #e2e8f0 |
| Success | #00ff99 |
| Error | #ff4d4d |
Modern, premium, hacker-style interface.
Install in Arduino IDE:
- ESP8266WiFi
- ESP8266WebServer
- LittleFS
- ArduinoJson
- Adafruit SSD1306
- Adafruit GFX
- ESP8266mDNS (optional)
- Place
index.htmlinsidedata/ - Use LittleFS Data Upload Tool
- Open
WiFi_Controlled_Remote_Terminal.ino - Select board (NodeMCU / D1 Mini)
- Upload firmware
- Connect ESP to WiFi (or fallback AP mode)
- Open IP address in browser
- Start using the terminal
- Attempts STA connection
- If fails β starts AP mode
- AP SSID example:
ESP-Terminal
| Route | Method | Description |
|---|---|---|
/ |
GET | Load UI |
/execute |
POST | Execute command |
/info |
GET | System info |
/reboot |
GET | Restart device |
- NodeMCU ESP8266
- LOLIN D1 Mini
- ESP8266MOD
- Learn embedded web servers
- Understand secure command parsing
- Build production-style firmware
- Create reusable IoT management systems
- Improve UI/UX + firmware integration skills
- OTA Firmware Update
- Authentication system
- WebSocket real-time terminal
- Multi-device control
- Theme toggle
- Logging system
- Remote monitoring dashboard
MIT License β Free to use and modify.
Created by CODE Bangla GitHub: https://github.com/codebanglailp
β If you like this project, give it a star on GitHub!