Web Interface for a Turing Pi 2 BMC
This project was created by @PhearZero and is not affiliated with Turing Machines. turing-pi-ui
is a simplifed
interface with a heavy focus on optimizations (304kb bundle size). It leverages the turing-pi-js
library, an API client for a Turing Pi 2 BMC.
- Power Management
- USB Management
- BMC Host Information
- BMC SD Card Information
- Node Information
- UART TTY
- Allow firmware uploads
Included is a deployment shell script that will upload the assets to the appropriate directory on the BMC
git clone https://github.com/PhearZero/turing-pi-ui
cd turing-pi-ui
npm install
# Update the target to the BMC
# ./deploy.sh <target>
./deploy.sh [email protected]
Included is a simple proxy to fix the headers of the BMC Web API. Ensure that the BMC_API variable is pointing to a BMC api that is reachable.
Add the following .env
file:
# The location of the BMC API, used for proxy connections
BMC_API=http://192.168.1.36
# The location of the NGINX proxy, used for frontend connections in development
PUBLIC_SERVICE_API=http://127.0.0.1:8080
Run docker services
docker compose up
# Install dependencies
npm install
# Start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of the app:
npm run build