Features of the new DietPi-Dashboard

F

With DietPi 7.8, DietPi-Dashboard was initially added. This lightweight web dashboard allows you to take advantage of some features offered by your DietPi system, all from your browser.

Main features

The main features of the DietPi Dashboard are

  • Display the load (CPU, RAM, disk, network) and show a time series line chart
  • Display and control the services and running processes
  • Installation and removal of software packages (like dietpi-software)
  • Have a terminal session
  • System information with shutdown and restart control
  • File browser
  • Dark/Light theme
  • Viewing of multiple devices on the same page

Statistics

The main page shown to you by the dashboard, it lets you see many basic statistics about your system, including swap, RAM, CPU, disk, and network usage.

DietPi-Dashboard statistics page

Processes

This page lets you view, sort, and control currently running processes.

DietPi-Dashboard processes page

Services

This page lets you view and control running and stopped services.

DietPi-Dashboard services page

Software

This page lets you install and uninstall software (like dietpi-software). Note that, currently, only software that can be installed without interaction can be installed through the software page. If you need to install software that does require interaction, open the Terminal page and run dietpi-software from there.

DietPi-Dashboard software page

Terminal

This page gives you access to a root terminal from your browser.

DietPi Dashboard Terminal page

File Browser

This page lets you edit, rename, delete, and create files and directories.

DietPi Dashboard file browser page

DARK/LIGHT MODE

DietPi Dashboard has a dark and a light mode.

DietPi Dashboard dark mode

Multiple Nodes

You can also use the dashboard for multiple different devices, on the same page. This requires the other instance to be installed as “backend only”, which can be selected from DietPi v8.0 on, currently in beta: https://github.com/MichaIng/DietPi/issues/5137

DietPi Dashboard multi node selection

Password protection

Since DietPi v7.9, password protection was added to the DietPi Dashboard.

DietPi Dashboard password prompt

About the author

Avatar of ravenclaw900
ravenclaw900

Source code contributor, creator of the DietPi-Dashboard and many software implementations.

26 comments

    • Sure, in /opt/dietpi-dashboard/config.toml change “pass = true” to “pass = false” and restart the service “systemctl restart dietpi-dashboard”.

  • Very nice. I like the dark template (y)
    I have 2 additional storage devices attached to my pi.
    Would be nice, seeing all drives besides / ๐Ÿ˜‰

    • Thanks for your kind feedback. Jep, a dark mode was one of the first things I asked for as well, being probably a little crazy on dark modes in general, being sad that this blog doesn’t have one :(.

      You should find your mounts in /mnt or /media, depending on where you mounted them? Unlike on Windows, all drives are mounted somewhere belog root /.

  • I dont know if its me or what but my graphs all reset every time i reload the page. Is that normal?

    • That is expected. There is usually no need to reload the page, which also is not done when navigating through the pages. Probably there would be the possibility to store the measurement points in browser storage to be reloaded when reloading or revisiting the page. But you would have a gap (since we do not want to keep obtaining data while you are on a different page) and that would mean a potentially huge amount of data in browser storage when having that page opened on some kiosk mode LCD screen or such, for persistent monitoring. At least we’d need to have a max age to drop old data then.

  • oh… my network is also crossed off. i am going to make a guess that this is because i am using a pc instead of a pi. would it help if i compiled it from source on my machine?

    • Not sure what you mean by “crossed off”? DietPi-Dashboard is installed for whatever architecture the system is, so on your PC you’ll have the x86_64 build installed, on a Pi an ARM build. There is no benefit of compiling it yourself unless you want to set custom flags, change the source code or so.

      • I thought they had a line through them in de ledgend at the top of the statistics graph. They do not but they don’t show on the graph either. I installed dietpi using the script after installing debian 11 on the machine. I was wondering if compilimg from source would help because the system is not a standard dietpi image.

  • Thanks for your hard work! Is there any way to set up the graph to show the remaining space on other mounted drives?

    • Not currently, the root drive is hard-coded in. However, this shouldn’t be too hard to implement, I’ll add it to the 1.0.0 roadmap.

  • I can’t see network usage.
    Dietpi version 8.3.1
    Dietpi-dashboard version 0.5.1
    Board: RockPi S

    • Is it probably just close to zero, so that it’s hidden below e.g. the swap size at the horizontal axis, like or similar to the screenshot above?

      Would be an idea to allow hiding individual graphs and/or using different vertical axis scale for RAM/swap usage and network/disk I/O.

  • A really nice app. I am new here and would like to ask if it is possible to configure nginx to act as reverse proxy and access the dashboard by the url http:///dashboard

  • Very cool project, I would like to use this ! I was wondering how I could use this with letsencrypt. Because of letsencrypt, I can’t connect on http but only on https. Hence, I am not able to acces this web dashboard.

  • Is it possible to implement this Dashboard in a Docker Container?
    So there would be no outgoing Ports and the SSL Certs could deploy the Reverse Proxy from Traefik or Nginx Proxy Manager.

    • This is currently not possible: The dashboard directly executes commands and DietPi scripts from its host system, so it would require a DietPi system inside the container, and you would monitor and manage the container, not the container’s host ;). You could use a firewall to block all requests but from localhost to the port, and then use a reverse proxy. I just opened a feature request for subnet binding, so no firewall would be required anymore: https://github.com/ravenclaw900/DietPi-Dashboard/issues/221

      Another issue is that you cannot currently use sub directory for accessing the dashboard from the reverse proxy, but a sub domain would be required: https://github.com/ravenclaw900/DietPi-Dashboard/issues/113

  • Thanks, this is a handy little app,

    maybe it’s possible to add vcgencmd measure_temp to “System Stats”

  • It’s a very nice app!

    There’s little info about it though. I finally saw that it could be accessed through port 5252.
    Now I see that part of the config is in the application’s Cargo.toml file (which is strange). What login’s password does it use? I changed a few defaults but it doesn’t seem to change the “dietpi” default password for this app.

    I recommend enabling TLS for this.

    • The config.toml contains the password hash only + instructions about how to generate it from the plain text password. Depending on with which version you installed the dashboard the first time, related comments might be missing. Please have a look here: https://github.com/ravenclaw900/DietPi-Dashboard/blob/main/config.toml#L16-L25

      Yes TLS is definitely recommended for a remote admin interface like this, at least if you make it accessible to www or have no strict LAN firewall, strong WiFi keys, no or separate guest network and such ;).

About Author

Avatar of MichaIng

ravenclaw900

Source code contributor, creator of the DietPi-Dashboard and many software implementations.

DietPi Blog

DietPi is an extremely lightweight Debian-based OS, optimised for minimal resource usage, ensuring your SBC runs at its maximum potential!