A simple server dashboard that displays the CPU and memory usage of the server it is running on. The server is written in Python and the client is written in Svelte.
- Nmap (install using your package manager)
- Glances (running in webserver mode, main.py should point to it's endpoints) Note: The server must be run as root to be able to scan the network.
cd server
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
chmod +x main.py
./main.py
# create a new project in the current directory
cd client
pnpm i && pnpm run dev --host
To create a production version of your app:
pnpm run build
You can preview the production build with npm run preview
.
To deploy your app, you may need to install an adapter for your target environment.