Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ravenclaw900/DietPi-Dashboard
A lightweight, standalone web dashboard for DietPi
https://github.com/ravenclaw900/DietPi-Dashboard
dietpi rust svelte typescript unocss web-dashboard
Last synced: 7 days ago
JSON representation
A lightweight, standalone web dashboard for DietPi
- Host: GitHub
- URL: https://github.com/ravenclaw900/DietPi-Dashboard
- Owner: ravenclaw900
- License: gpl-3.0
- Created: 2021-08-14T18:14:22.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T11:08:57.000Z (7 months ago)
- Last Synced: 2024-04-14T02:55:07.224Z (7 months ago)
- Topics: dietpi, rust, svelte, typescript, unocss, web-dashboard
- Language: Rust
- Homepage:
- Size: 488 MB
- Stars: 117
- Watchers: 6
- Forks: 16
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# DietPi-Dashboard
A web dashboard for DietPi## Installation
To install, use one of the [precompiled releases](#release), [nightly builds](#nightly) or [compile it yourself](#compiling)### Downloading
#### Release:```sh
curl -fL "$(curl -sSf 'https://api.github.com/repos/ravenclaw900/DietPi-Dashboard/releases/latest' | mawk -F\" "/\"browser_download_url\": \".*dietpi-dashboard-$G_HW_ARCH_NAME\"/{print \$4}")" -o dietpi-dashboard # Download latest binary for current architecture
chmod +x dietpi-dashboard # Make binary executable
./dietpi-dashboard # Run binary
```#### Nightly:
```sh
curl -fL "https://nightly.link/ravenclaw900/DietPi-Dashboard/workflows/push-build/main/dietpi-dashboard-$G_HW_ARCH_NAME.zip" -o dietpi-dashboard.zip # Download latest nightly build for current architecture
unzip dietpi-dashboard.zip # Unzip binary
rm dietpi-dashboard.zip # Remove archive
chmod +x dietpi-dashboard # Make binary executable
./dietpi-dashboard # Run binary
```### Compiling
#### Prereq:```sh
dietpi-software install 9 16 17 # Install Node.js (webpage), Build-Essential (gcc), and Git (git clone), respectively
corepack enable # Enable pnpm package manager, for node dependencies
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh # Install Rust (backend)
source ~/.cargo/env # Update $PATH
cargo install just # Install just command runner, for build file
```#### Compiling:
```sh
git clone https://github.com/ravenclaw900/DietPi-Dashboard # Download source code
cd DietPi-Dashboard # Change directories
cargo build --release # Compile binary for your platform
./target/release/dietpi-dashboard # Run binary
```Note that there will be a difference between self-compiled binaries and the nightly/release builds. The nightly/release builds are statically linked with the musl libc implementation, while self-compiled binaries will be dynamically linked with glibc. This should not affect functionality in any way.
### Open dashboard:
`http://:5252`