yet another dashboard for your bookmarks
lib | ||
.dockerignore | ||
.editorconfig | ||
.gitignore | ||
Dockerfile | ||
flake.lock | ||
flake.nix | ||
go.mod | ||
go.sum | ||
helpers.go | ||
icon.svg | ||
LICENSE.md | ||
main.go | ||
preview.png | ||
README.md | ||
TODO.md |
dashh
yet another dashboard for organizing your links.
- easy to configure (1 yaml file required; example)
- incredibly lightweight frontend (no react, no js, just plain html+css)
- mobile friendly
- written in go
how to run
Docker
to do...
NixOS (flake)
flake.nix
:
{
inputs = {
nixos.url = "nixpkgs/24.05";
dashh.url = "git+https://git.cyberia.club/reese/dashh";
};
outputs = { self, ... }@inputs: with inputs; rec {
nixosConfigurations = {
hostname = nixpkgs.lib.nixosSystem rec {
specialArgs = { inherit inputs self; };
system = "x86_64-linux";
modules = [
./configuration.nix
dashh.nixosModules.dashh
];
};
};
};
}
configuration.nix
:
{
services.dashh = {
enable = true;
port = 8000;
themeColors = [
"#ede4e7"
"#261f22"
"#f34396"
];
css = ''
.subtitle {
font-style: oblique;
}
'';
sections = {
Admin = {
apps = {
Router = {
subtitle = "pfSense";
href = "https://192.168.0.1";
icon = "pfsense.png";
};
"Wifi APs" = {
icon = "openwrt.png";
nodes = [
{ name = "Downstairs";
href = "http://192.168.0.2"; }
{ name = "Upstairs";
href = "http://192.168.0.3"; }
];
};
};
};
};
};
}
see flake.nix for all options
from source
- clone this repo and
cd
into it in a terminal go mod download && go build
./dashh -p 8080 -c /path/to/config.yml -s /static/dir/