A lightweight Flask web server with an attractive landing page.
- Web Server: Basic Flask application with landing page
- Clone the repository:
git clone <repository-url>
cd simple-server- Install dependencies:
pip install flask flask-socketio python-socketioStart the Flask server:
python server.pyThe server will run on http://localhost:8080
/- Landing page with navigation to planned features
The landing page includes links to features that are planned but not yet implemented:
/index- Index page/api- JSON API endpoint/dashboard- Live traffic monitoring dashboard
The server currently logs all incoming requests and emits them via WebSocket to the /dashboard namespace, though no dashboard exists to consume these events yet.
simple-server/
├── server.py # Main Flask application
├── README.md # This file
├── html/
│ └── index.html # Landing page
└── dashboard/
└── index.html # Placeholder for traffic dashboard (not implemented)
- Flask: Web framework
- Flask-SocketIO: Real-time WebSocket communication
- HTML/CSS: Frontend landing page
This is a work-in-progress project. The server foundation is in place with traffic logging, but the dashboard and additional routes need to be implemented.
This project is open source. Feel free to use and modify as needed.