Skip to content

tm4a/dashfetch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dashfetch

Minimal web dashboard for monitoring a single Linux host. Data is read directly from /proc and /sys and streamed over SSE. No background activity — data is collected only while a browser tab is connected.

Build and run

go build -o dashfetch ./cmd/dashfetch
./dashfetch -addr :47000

Open http://localhost:47000/

Install as a systemd service

Runs under a dedicated system user dashfetch on port 47000.

# build
go build -o dashfetch ./cmd/dashfetch

# create the system user (one time)
sudo useradd --system --no-create-home --shell /usr/sbin/nologin dashfetch

# install binary and unit file
sudo install -m 755 dashfetch /usr/local/bin/
sudo install -m 644 systemd/dashfetch.service /etc/systemd/system/

# enable and start
sudo systemctl daemon-reload
sudo systemctl enable --now dashfetch

Check status and logs:

systemctl status dashfetch
journalctl -u dashfetch -f

Update

go build -o dashfetch ./cmd/dashfetch
sudo install -m 755 dashfetch /usr/local/bin/
sudo systemctl restart dashfetch

Uninstall

# stop and disable
sudo systemctl disable --now dashfetch

# remove unit and binary
sudo rm /etc/systemd/system/dashfetch.service
sudo rm /usr/local/bin/dashfetch
sudo systemctl daemon-reload

# remove the system user
sudo userdel dashfetch

About

dashfetch - minimal web dashboard for linux

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors