54 lines
1.3 KiB
Markdown
54 lines
1.3 KiB
Markdown
# Router Dash
|
|
|
|
[](https://git.freun.dev/repomaa/router-dash/actions?workflow=build.yaml)
|
|
|
|
A modern web dashboard for monitoring network interfaces, routes, and DHCP leases. Built with SvelteKit 5 and designed to work with systemd-networkd's JSON output.
|
|
|
|
## Features
|
|
|
|
- **Network Interface Monitoring** - View detailed interface information including IP addresses, routes, carrier state, and operational status
|
|
- **DHCP Lease Management** - Display active and expired DHCP leases with time remaining
|
|
- **Routing Table Visualization** - Show routing policies and network routes
|
|
- **Real-time Status** - Monitor operational states, carrier states, and address states
|
|
- **Responsive Design** - Clean, modern UI built with Tailwind CSS
|
|
|
|
## Tech Stack
|
|
|
|
- **Framework**: SvelteKit 5 with Svelte 5 runes
|
|
- **Language**: TypeScript (strict mode)
|
|
- **Styling**: Tailwind CSS 4
|
|
- **Icons**: Lucide Svelte
|
|
- **Build**: Vite
|
|
- **CI/CD**: Gitea Actions with Nix
|
|
|
|
## Development
|
|
|
|
```sh
|
|
# Install dependencies
|
|
npm install
|
|
|
|
# Start development server
|
|
npm run dev
|
|
|
|
# Type check
|
|
npm run check
|
|
|
|
# Lint and format
|
|
npm run lint
|
|
npm run format
|
|
```
|
|
|
|
## Building
|
|
|
|
```sh
|
|
# Create production build
|
|
npm run build
|
|
|
|
# Preview production build
|
|
npm run preview
|
|
```
|
|
|
|
## License
|
|
|
|
AGPL-3.0-or-later
|