Public | Automated Build

Last pushed: 3 months ago
Short Description
Server Panel made with flask and reactjs
Full Description

Flask-Server-Panel and API

Server panel based on flask to show stats for a small private server.
Designed specifically with a Raspberry Pi
running Pi-Hole in mind.

The API that is queried by the front-end is located at <your_url>/api/.
For details check out the API documentation.

The back-end is based on Python Flask with a
front-end using React.js and

Note: The Raspberry Pi logo changes color along with the temperature.
Green is good, red means you have to invest in a new case with better

Getting started

Installation instruction for deployment on a linux system.

Clone the repository

git clone Flask-Server-Panel

Set up a virtual environment

cd Flask-Server-Panel
virtualenv --python=python3 venv

Activate the environment and install packages

source venv/bin/activate
pip install -r requirements.txt

Configure Flask-Server-Panel


Run tests and run app



Deploy (on x86_64, not rPi!) using Docker

In case you would like to test the panel, a docker container is available. Do note that you will get stats from within the container and not the host system. However, for trying out the app this is the quickest way to get things running.

docker pull sepro/flask-server-panel
docker run -p 80:80 -d sepro/flask-server-panel

This exposes gunicorn running in the container on port 80 to port 80 on the host system.

Developing the front-end

Install all packages through npm

npm install

Build ./serverpanel/static/js/bundle.js using webpack

webpack -p
Docker Pull Command
Source Repository