Skip to content
← All projects
Project

DasherControl

Listen to the audio story

One dashboard for a whole homelab · 1:57 · AI-written script, synthetic voices

Transcript

Ava: Ten browser tabs open: one for your media server, one for your downloader, one for your container manager. Your RAM is crying. What if they all lived on one page?

Andrew: That sounds like a dream for anyone with a homelab. Is that what this is?

Ava: It is. DasherControl is Antoine's dashboard for dockerized web apps, built with Vue on the front and Rust with Rocket on the back. Think of a desktop of widgets, like Windows Vista gadgets, but on the web and saved in a database.

Andrew: So how do the apps show up?

Ava: Each widget is a grid item, and he calls them applets. An applet can wrap a site in an iframe, hold a bookmark, or do a daily homelab task. Apps like Sonarr and Jellyfin sit side by side on one screen.

Andrew: Can you organize them?

Ava: Yes. You can save a workspace, switch between workspaces, and manage your applets. There's also user authentication, so the dashboard has a front door.

Andrew: And it talks to Docker?

Ava: It has a simple container controller, so you can start and manage Docker containers from the same place. The whole thing installs with Docker or Docker Compose, in keeping with the idea that everything is a web app in a container.

Andrew: What was the motivation?

Ava: Tools like Portainer or the Docker command line work, but putting a reverse proxy with SSL in front of everything takes time. Antoine wanted small applets for the things he does every day when managing his homelab.

Andrew: Anything planned next?

Ava: The roadmap lists theme and background customization, canvas applets, a web SSH terminal, OAuth login with GitHub, and a Caddy config generator for reverse proxy and SSL. Floating windows are on the list too.

Andrew: A lot of ideas for one dashboard.

Ava: It is a playground for his homelab ideas. The project page has a demo animation, and the GitHub repository has the full roadmap and install steps.

Table of contents

Another Interactive Configurable Dashboard with Customisable GridItem with IFrame and Bookmark and other cool features with basic Container Controller for Docker made with Vuejs and Rust (rocket).

License: MIT GitHub Workflow Status GitHub release (latest by date)

Why …

Everything is a web app that can be installed with a docker in a container. I want to manage all my web applications on one dashboard like Sonarr and Jellyfin without opening like 10 tabs in chrome (rip my ram). When using services like Portainer or the Docker CLI, it’s long to set up a reverse proxy with SSL to secure your homelab. So I want to write widgets (Applets) that can do all my tasks that I do on the daily when managing my homelab. Also, I want to make a simple dashboard with widgets (vuejs component) like Windows Vista, but on the web and saved in a database.

Preview Look

Preview look 0.1.5 gif Preview look 0.1.2 preview look

Roadmap

DasherControl

Finished

  • Applets with IFrame
  • Save Workspace and switch between workspaces
  • Applets Management
  • Simple Start and Manage Docker Containers
  • CI/CD
  • User Auth
  • Install App with Docker/Docker-Compose

In Progress

  • Customize Theme and Change Background
  • Logging
  • Canvas applets
  • Terminal ssh web
  • Tests

Planned work

  • Documentation
  • User Auth (OAUTH2 Github)
  • Save docker-compose/container info in the database
  • Caddy Config Generator for reverse Proxy and SSL
  • Export and import of containers and workspaces
  • Floating Windows

Issues

I use Iframe to display the other website some of the login of the website will not work because of the CSRF token or other restrictions of the iframe.

Install (Tested only on Ubuntu 20.04)

// bash scripts/rust-setup-dev.sh
// bash scripts/js-dev-setup.sh

cd frontend && npm install && npm run build && cd ..

cargo install diesel_cli --no-default-features --features postgres
// go in Rocket.toml and .env and change DATABASE_URL to your postgresql server
diesel migration run

// create admin user
cargo run --bin create_admin

// run web app
cargo run

Docker

DOCKER_BUILDKIT=1 docker build -t antoinebou13/dashercontrol .

Docker-compose

DOCKER_BUILDKIT=1 docker-compose up -d --build && docker-compose logs

Run tests

cargo test
cd frontend && npm test // no test yet on frontend