Peplink-RPI-Dashboard-Svelte Svelte Themes

Peplink Rpi Dashboard Svelte

Peplink RPI Dashboard

This project is a simple web dashboard for a Peplink router.

It is built with SvelteKit and is meant to run in a browser, usually on a Raspberry Pi or another device connected to the same network as the router.

The goal is to be able to:

  • log in with your Peplink router account
  • see important router information on one screen
  • do a few common actions without digging through the router admin UI

If you are not a developer, think of this project as a custom control panel for your router.

What this dashboard can do

After logging in, the dashboard shows:

  • Access Point status
  • connected clients/devices
  • LAN profiles
  • WAN connections
  • WAN allowance information
  • a router reboot button

The page refreshes its data automatically every 5 seconds.

What you need

Minimum requirements:

  • a Peplink router with API access available on your network
  • the router username and password
  • Node.js and npm installed on the machine running this app

Recommended:

  • a Raspberry Pi if you want a dedicated always-on dashboard screen
  • a browser on the same network as the router

Quick start

If you're using a Raspberry Pi 5, run the install script which you can find under "Releases". If you're not using a Raspberry Pi 5 or would prefer to do it manually:

1. Clone the project

git clone https://github.com/Audxius/Peplink-RPI-Dashboard-Svelte.git
cd Peplink-RPI-Dashboard-Svelte

2. Install dependencies

npm install

3. Start the app

npm run dev

4. Open it in your browser

Usually:

http://localhost:5173

How to log in

Use your normal Peplink router username and password.

What you will see on the dashboard

Login

login screen

Dashboard

dashboard part 1 dashboard part2

Useful commands

Run local development server:

npm run dev

Build for production:

npm run build

Project structure

For developers, here is the short version:

Common problems

The login page loads, but login does not work

Check:

  • the router IP in vite.config.ts
  • that your machine can reach the router on the network
  • that your username and password are correct
  • that the router API endpoints are available

The browser says it cannot connect to the app

Check:

  • that npm run dev is still running
  • that you opened the correct local address, usually http://localhost:5173

The dashboard opens, then sends you back to login

This usually means the router session is missing, expired, or the API request failed.

Router reboot seems stuck

The app waits for the router to go down and come back before redirecting you. If the router takes longer than expected, stay on the restart page a bit longer and make sure the network connection has actually returned.

Top categories

Loading Svelte Themes