A lightweight web application designed to run on your Raspberry Pi, providing real-time monitoring of system metrics including CPU usage, temperature, RAM, and storage.
This app is designed to work alongside the hardware info API, which provides the system metrics.
- Next.js
- TypeScript
- shadcn/ui
- Tailwind CSS
- Docker
- Any Raspberry Pi model
- Docker and Git installed on the Raspberry Pi
Note: To run the aplication, you also need hardware info API, which provides endpoints with system metrics.
-
Clone the repository:
git clone https://github.com/michalges/raspberrypi-web-app cd raspberrypi-web-app
-
Run the Docker script:
./docker.sh
This script builds and runs the web app in a Docker container. It also ensures the app will automatically restart and keep running on each boot.
-
Create
.env
fileNEXT_PUBLIC_API_URL=URL_TO_YOUR_API
-
Open http://localhost:8000 in your browser to access the web interface.