🚀 A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Go to file
2021-09-12 12:55:30 +01:00
.github 💚 Fixes file patterns, thank u @angelikatyborsk 2021-09-12 12:55:30 +01:00
docker 🐳 Updates multi-arch docker image 2021-08-15 12:10:34 +01:00
docs 📝 Adds docs for using search bangs 2021-09-11 20:37:13 +01:00
public Show loading status in init page 2021-08-27 22:56:46 +01:00
services Removes background in console art 2021-09-03 23:49:29 +01:00
src 🗃️ Adds scema doc for searchBangs 2021-09-11 21:05:32 +01:00
.dockerignore 🐳 Ignore uneeded files, to reduce container size 2021-08-19 20:12:20 +01:00
.editorconfig 🔧 Sets editor to use LF UTF-8 by default 2021-07-30 20:05:34 +01:00
.env 🔧 Adds option to enable SRI integrity, plus refactos PWA into defaults 2021-09-04 20:01:25 +01:00
.gitignore init 2019-07-19 15:07:26 +01:00
app.json 🚀 Removes the heroku/node image in app.json, fixes GCP 1-click deploy 2021-07-18 20:49:47 +01:00
CNAME 🚀 Adds domain for GH-Pages 2021-08-13 08:44:14 +01:00
docker-compose.yml 🐳 Updates docker-compose with option for tagged builds 2021-08-15 12:11:52 +01:00
Dockerfile 🐳 #136 Reverts Dockerfile, due to memory consumption 2021-08-15 11:24:04 +01:00
LICENSE ⚖️ Updates MIT X11 License 2021-07-31 14:11:09 +01:00
netlify.toml 🔨 Adds base path and headers to Netlify config 2021-08-19 20:41:43 +01:00
package.json 🔖 Bumps to V 1.7.6 and updates changelog 2021-09-11 21:09:26 +01:00
Procfile 🔨 Adds note to Heroku Procfile 2021-08-19 20:14:01 +01:00
README.md 🌐 Re: #216 - Adds Spanish lang, thanks @lu4t 2021-09-10 22:25:32 +01:00
server.js 🚚 Updates validator path, adds version checker script 2021-07-25 17:43:47 +01:00
vue.config.js 🔧 Adds option to enable SRI integrity, plus refactos PWA into defaults 2021-09-04 20:01:25 +01:00
yarn.lock ⬆️ Updates Axios to latest. Fixes CVE-2021-3749 2021-09-06 23:07:49 +01:00

Dashy

Dashy helps you organize your self-hosted services, by making them all accessible from a single place

User Showcase | Live Demo | Getting Started | Documentation | GitHub

Awesome Self-Hosted License MIT Current Version Docker Pulls GitHub Status Known Vulnerabilities

Contents

Features 🌈

  • 🔎 Instant search by name, domain and tags - just start typing + customizable keyboard shortcuts
  • 🎨 Multiple built-in color themes, with UI color editor and support for custom CSS
  • 🧸 Many options for icons, including Font-Awesome support, auto-fetching favicon, images and emojis
  • 🚦 Service status feature for each of your apps / links, for basic availability and uptime monitoring
  • 💂 Optional authentication with multi-user support, configurable privileges and SSO support
  • ☁ Optional encrypted cloud backup and restore feature available
  • 💼 A workspace view, for easily switching between multiple apps at once
  • 🛩️ A minimal view, for use as a fast-loading browser startpage
  • 🖱️ Choose how to launch apps, either new tab, same tab, a pop-up modal or in the workspace view
  • 🌎 Multi-language support, with more languages being added regularly
  • 📏 Customizable layout, sizes, text, component visibility, sort order, behavior etc
  • 🖼️ Option for full-screen background image, custom nav-bar links, html footer, title, and more
  • 🚀 Easy to setup with Docker, or on bare metal, or with 1-Click cloud deployment
  • ⚙️ Easy single-file YAML-based configuration, with option to configure app directly through the UI
  • 🤏 Small bundle size, fully responsive UI and PWA makes the app easy to use on any device
  • Under active development with improvements and new features added regularly
  • 🆓 100% free and open source
  • 🔐 Strong focus on privacy
  • 🌈 Plus lots more...

Demo

For more examples of Dashy in action, see: The Showcase

Live Demos

Demo 1Demo 2Demo 3

Spin up your own Demo

  • 1-Click Deploy: One-Click Deploy with PWD
  • Or on your own machine: docker run -p 8080:80 lissy93/dashy

Demo GIF

Demo

User Showcase

Are using Dashy? Want to share your dashboard here too - Submit your Screenshots to the Showcase!

Screenshots

⬆️ Back to Top


Getting Started 🛫

For full setup instructions, see: Deployment

Deploying from Docker Hub 🐳

You will need Docker installed on your system

docker run -p 8080:80 lissy93/dashy

Or

docker run -d \
  -p 4000:80 \
  -v /root/my-local-conf.yml:/app/public/conf.yml \
  --name my-dashboard \
  --restart=always \
  lissy93/dashy:latest

Dashy on Docker Hub

If you prefer to use Docker Compose, here is an example.

Dashy is also available through GHCR, run: docker pull ghcr.io/lissy93/dashy.

To use Dashy on an system other than amd64, then use one of these tags. There are containers for arm32-7, arm64-v8 and a multi-architecture image.

The image defaults to :latest, but you can instead specify a specific version, e.g. docker pull lissy93/dashy:release-1.5.0

Once you've got Dashy running, you can take a look at App Management Docs, for info on using health checks, provisioning assets, configuring web servers, securing your app, logs, performance and more.

Deploying from Source 🚀

You will need git, the latest or LTS version of Node.js and (optionally) Yarn installed on your system.

  • Get Code: git clone https://github.com/Lissy93/dashy.git and cd dashy
  • Configuration: Fill in you're settings in ./public/conf.yml
  • Install dependencies: yarn
  • Build: yarn build
  • Run: yarn start

See docs Full list of Dashy's commands

Deploy to the Cloud ☁️

Dashy supports 1-Click deployments on several popular cloud platforms. To spin up a new instance, just click a link below:

For more 1-click cloud deployments, see Cloud Deployment

⬆️ Back to Top


Configuring 🔧

For full configuration documentation, see: Configuring

All of Dashy's configuration is specified in a single YAML file, located at ./public/conf.yml. You can find a complete list of available options in th Configuring Docs. If you're using Docker, you'll probably want to pass this file in as a Docker volume (e.g. -v /root/my-local-conf.yml:/app/public/conf.yml).

The config can also be edited directly through the UI, with changes written to your conf.yml file. After making any modifications the app needs to be rebuilt, which will happen automatically or can be trigger with yarn build or directly through the UI.

You can check that your config is valid and matches Dashy's schema, by running: yarn validate-config.

Finally, you may find these example config helpful for getting you started.

⬆️ Back to Top


Theming 🎨

For full theming documentation, see: Theming

Example Themes

Dashy comes with a number of built-in themes, but it's also easy to make you're own. You can either use the color editor, or you're own custom CSS. All colors, and most other CSS properties are specified using CSS variables, which are documented here, so customizing the look and feel of Dashy very easy. Learn more about adding your own theme in the docs.

Example Themes

⬆️ Back to Top


Icons 🧸

For full iconography documentation, see: Icons

Both sections and items can have an icon associated with them, and defined under the icon attribute. There are many options for icons, including Font Awesome support, automatic fetching from favicon, emojis, programmatically generated icons and direct local or remote URLs.

  • Favicon: Set icon: favicon to fetch a services icon automatically from the URL of the corresponding application
  • Font-Awesome: To use any font-awesome icon, specify the category, followed by the icon name, e.g. fas fa-rocket or fab fa-monero. You can also use Pro icons if you have a license key, just set it under appConfig.fontAwesomeKey
  • Simple Icons: Use any brand/ logo icon from simpleicons.org by setting the icon to si-[icon-name]
  • Emoji: Use an emoji as a tile icon, by putting the emoji's code as the icon attribute. Emojis can be specified either as emojis (🚀), unicode ('U+1F680') or shortcode (':rocket:')
  • Generative: Setting icon: generative, will generate a unique logo for a given service, based on it's specified URL or IP
  • URL: You can also pass in a URL to an icon asset, hosted either locally or using any CDN service. E.g. icon: https://i.ibb.co/710B3Yc/space-invader-x256.png
  • Local Image: To use a local image, store it in ./public/item-icons/ (or create a volume in Docker: -v /local/image/directory:/app/public/item-icons/) , and reference it by name and extension - e.g. set icon: image.png to use ./public/item-icon/image.png. You can also use sub-folders here
  • Material Design Icons: You can also use any icon from materialdesignicons.com by setting the icon to mdi-[icon-name]

⬆️ Back to Top


Status Indicators 🚦

For full monitoring documentation, see: Status Indicators

Dashy has an optional feature that can display a small icon next to each of your running services, indicating it's current status. This is useful if you are using Dashy as your homelab's start page, as it gives you an overview of the health of each of your running services. Hovering over the indicator will show additional information, including average response time and an error message for services which are down.

By default, this feature is off, but you can enable it globally by setting appConfig.statusCheck: true, or enable/ disable it for an individual item, with item[n].statusCheck.

You can also specify an time interval in seconds under appConfig.statusCheckInterval, between checks, if this value is 0, then status is only checked on initial page load, which is the default behavior. Status checks use the url attribute, but to call a different endpoint instead, you can set statusCheckUrl. Custom headers can also be specified using statusCheckHeaders.

Status Checks demo

⬆️ Back to Top


Authentication 💂

For full authentication documentation, see: Authentication

Dashy now has full support for secure single-sign-on using Keycloak! See setup docs for a full usage guide

There is also a simple login feature for basic access control, which doesn't require any additional setup. To enable this feature, add an auth attribute under appConfig, containing an array of users, each with a username, SHA-256 hashed password and optional user type.

appConfig:
  auth:
    users:
    - user: alicia
      hash: 4D1E58C90B3B94BCAD9848ECCACD6D2A8C9FBC5CA913304BBA5CDEAB36FEEFA3
      type: admin

Guest Access: By default, when authentication is configured no user can access your dashboard without first logging in. If you would like to allow for read-only access by unauthenticated users, then you can enable guest mode, by setting appConfig.auth.enableGuestAccess: true.

Granular Controls: With basic login, it is also possible to control which sections are visible to which users. Under the displayData property of a section, you can pass an array of usernames to one of the following attributes:

  • hideForUsers - Section will be visible to all users, except for those specified in this list
  • showForUsers - Section will be hidden from all users, except for those specified in this list
  • hideForGuests - Section will be visible for all logged in users, but not for guests (if guest access is enabled)

Example login screen, using Vapourwave theme

Note: Using the above method involves access control being handled on the frontend, and therefore in security-critical situations, it is recommended to use an alternate method for authentication. Keycloak is natively supported, but you could also use Authelia, a VPN or web server and firewall rules. Instructions for all of these can be found in the docs.

⬆️ Back to Top


Opening Methods 🖱️

For full documentation on views and opening methods, see: Alternate Views

One of the primary purposes of Dashy is to make launching commonly used apps and services as quick as possible. To aid in this, there are several different options on how items can be opened. You can configure your preference by setting the target property of any item, to one of the following values:

  • sametab - The app will be launched in the current tab
  • newtab - The app will be launched in a new tab
  • modal - Launch app in a resizable/ movable popup modal on the current page
  • workspace - Changes to Workspace view, and launches app

Even if the target is not set (or is set to sametab), you can still launch any given app in an alternative method: Alt + Click will open the modal, and Ctrl + Click will open in a new tab. You can also right-click on any item to see all options (as seen in the screenshot below). This custom context menu can be disabled by setting appConfig.disableContextMenu: true.

In the workspace view, you can keep previously opened websites/ apps open in the background, by setting appConfig.enableMultiTasking: true. This comes at the cost of performance, but does mean that your session with each app is preserved, enabling you to quickly switch between your apps.

The modal and workspace views work by rendering the target application in an iframe. For this to work, the HTTP response header X-Frame-Options for a given application needs to be set to ALLOW. If you are getting a Refused to Connect error then this header is set to DENY (or SAMEORIGIN and it's on a different host). Here are instructions on how to do this with common web servers.


Alternate Views 👓

As well as the default homepage, there is also:

  • A minimal view, useful for use as a browser start page
  • A workspace view, useful for visiting many apps simultaneously

You can change the view from the UI, using the switch icon in the top-right corner, or select a default view in the config, under appConfig.startingView attribute (can be either default, minimal or workspace). Clicking the page title on any view will take you back to your default starting view.

Example of Workspace View
Workspace view demo

Example of Minimal View
Workspace view demo

⬆️ Back to Top


Searching and Shortcuts 🔎

For full documentation on searching, see: Searching & Shortcuts

Quickly finding and launching applications is the primary aim of Dashy. To that end instant search and customizable keyboard shortcuts are built-in.

To start filtering, just start typing. No need to select the search bar or use any special key. You can then use either the tab key or arrow keys to select and move between results, and hit enter to launch the currently selected application. You can also use Alt + Enter on a selected app to launch it in a popup modal, Ctrl + Enter to open in new tab, or right-click on it to see all opening methods.

You can also add custom tags to a given item, to make finding them based on keywords easier. For example, in the following example, searching for 'Movies' will show 'Plex'

  items:
  - title: Plex
    description: Media library
    icon: favicon
    url: https://plex.lab.local
    tags: [ movies, videos, music ]

For apps that you use regularly, you can set a custom keybinding. Use the hotkey parameter on a certain item to specify a numeric key, between 0 - 9. You can then launch that app, by just pressing that key, which is very useful for services you use frequently.

Example:

- title: Bookstack
  icon: far fa-books
  url: https://bookstack.local/
  hotkey: 8

To search the web directly through Dashy, just press enter after typing your query. Options for web search are set under appConfig.webSearch. There is built in support for 10+ search engines, or use your own custom provider or self-hosted instance. To disable web search all together, set: webSearch: { disableWebSearch: true }

appConfig:
  webSearch:
    searchEngine: duckduckgo
    openingMethod: newtab

Hit Esc at anytime to close any open apps, clear the search field, or hide any modals.

⬆️ Back to Top


Config Editor ⚙️

For full config documentation, see: Configuring

From the Settings Menu in Dashy, you can download, backup, edit and rest your config. The editor will tell you if you've got any validation warnings.

A full list of available config options can be found here. It's recommend to make a backup of your configuration, as you can then restore it into a new instance of Dashy, without having to set it up again. json2yaml is very useful for converting between YAML to JSON and visa versa.

Config Editor demo

Update: A new and improved drag-and-drop UI editor is in progress, and should be released within the next couple of weeks!

⬆️ Back to Top


Cloud Backup & Sync ☁

For full backup documentation, see: Cloud Backup & Sync

Dashy has an optional built-in feature for securely backing up your config to a hosted cloud service, and then restoring it on another instance. This feature is totally optional, and if you do not enable it, then Dashy will not make any external network requests.

This is useful not only for backing up your configuration off-site, but it also enables Dashy to be used without having write a YAML config file, and makes it possible to use a public hosted instance, without the need to self-host.

All data is encrypted before being sent to the backend. In Dashy, this is done in CloudBackup.js, using crypto.js's AES method, using the users chosen password as the key. The data is then sent to a Cloudflare worker (a platform for running serverless functions), and stored in a KV data store.

⬆️ Back to Top


Language Switching 🌎

For full internationalization documentation, see: Multi-Language Support

Dashy supports multiple languages and locales. When available, you're language should be automatically detected and applied on load, based on your browser or systems settings. But you can also select a language through the UI (under Config --> Switch Language), or set appConfig.language to your language (specified as a 2-digit ISO 639-1 code).

Supported Languages

  • 🇬🇧 English: en - Default
  • 🇨🇳 Chinese: cn - Contributed by @FormatToday
  • 🇳🇱 Dutch: nl - Contributed by @evroon
  • 🇲🇫 French: fr - Contributed by @EVOTk
  • 🇩🇪 German: de - Contributed by @Niklashere
  • 🇪🇸 Spanish: es - Contributed by @lu4t
  • 🇸🇮 Slovenian: sl - Contributed by @UrekD

Add your Language

I would love for Dashy to be available to everyone, without language being a barrier to entry for non-native English speakers. If you have a few minutes to sapir, you're help with translating it would be very much appreciated. It's quite a quick task, all text is in a single JSON file, and you don't have to translate it all. For more info, see the Adding a New Language Docs, and feel free to reach out if you need any support.

⬆️ Back to Top


Setting Dashboard Info 🌳

Page settings are defined under pageInfo. Here you can set things like title, sub-title, navigation links, footer text, etc. For example:

pageInfo:
  title: Home Lab
  description: Dashy
  navLinks:
  - title: Home
    path: /
  - title: Server Monitoring
    path: https://server-start.local
  - title: Start Page
    path: https://start-page.local
  footerText: 'My <b>Awesome</b> Dashboard. Built with <a href="https://dashy.to">Dashy</a>'

⬆️ Back to Top


Getting Help 🙋‍♀️

For general discussions, check out the Discussions Board

If you're having trouble getting things up and running, feel free to ask a question. The best way to do so is in the discussion, or if you think you think the issue is on Dashy's side, you can raise a ticket. It's best to check the docs and previous questions first, as you'll likely find the solution there.

⬆️ Back to Top

Raising Issues 🐛

Found a bug, or something that isn't working as you'd expect? Please raise it as an issue so that it can be resolved. Feature requests are also welcome. Similarlty, feedback is very useful, as it helps me know what areas of Dashy need some improvement.

Issue Status Resolution Time Open Issues Closed Issues GitHub Discussions

⬆️ Back to Top

Supporting Dashy 💖

For full details, and other ways you can help out, see: Contributing

If you're using Dashy, and would like to help support it's development, then that would be awesome! Contributions of any type, however small are always very much appreciated, and you will be appropriately credited for your effort.

Several areas that we need a bit of help with at the moment are:

  • Translating - Help make Dashy available to non-native English speakers by adding youre language
  • Donate a small amount, by Sponsoring @Lissy93 on GitHub and receive some extra perks!
  • Complete a short survey, to have your say about future features
  • Share your dashboard in the Showcase, to provide inspiration for others
  • Join the discussion, help answer other users questions, suggest features, share tips and ask questions
  • Spread the word, by sharing Dashy or a screenshot of your dashboard, to help new users discover it
  • Submit a PR, to add a new feature, fix a bug, update the docs, add a theme or something else
  • Star Dashy on GitHub/ DockerHub or leave an upvote / review on these platforms

Sponsor Lissy93 on GitHub

⬆️ Back to Top

Credits 🏆

For a full list of credits, and attributions to packages used within Dashy, see: Credits

Thank you so much to everyone who has helped with Dashy so far, every contribution is very much appreciated.

Sponsors

Huge thanks to the sponsors helping to support Dashy's development!

Robert-Ernst
Robert Ernst
swcarlosrj
Carlos Rufo

Contributors

Auto-generated contributors

Packages

Dashy was made possible thanks to the following packages and components. For more details on each, see Dependency Credits. Full credit to their respective authors.

⬆️ Back to Top

Developing 🧱

For full development documentation, see: Developing

Open Project in VS Code

Before getting started, you'll need Git, Node and optionally Yarn (run npm i -g yarn) installed.

To set up the development environment:

  1. Get Code: git clone https://github.com/Lissy93/dashy.git and cd dashy
  2. Install dependencies: yarn
  3. Start dev server: yarn dev

Hot reload is enabled, so changes will be automatically detected, compiled and refreshed.

Like most Git repos, we are following the Github Flow standard.

  1. Create a branch (or fork if you're not a collaborator)
  2. Code some awesome stuff, then add and commit your changes
  3. Create a Pull Request, complete the checklist and ensure the build succeeds
  4. Follow up with any reviews on your code
  5. Merge 🎉

Branch names are specified in the following format: [TYPE]/[TICKET]_[TITLE]. E.g. FEATURE/420_Awesome-feature or FIX/690_login-server-error.

Most commit messages use git commit emojis - e.g. = New feature, 🐛 = Bug fix, 💄 = UI stuff, 🚧 = Work in progress, 🌐 = Language, 🔖 = New release, and so on. Take a look at gitmoji.dev for a list of what each emoji indicates

Before you submit your pull request, please ensure you've checked off all the boxes in the template. For your PR to be merged, it must:

  • Must be backwards compatible
  • Any new features should be documented
  • The build, lint and tests (run by GH actions) should all pass (there are some exceptions)
  • There must not be any merge conflicts

If you're new to web development, I've put together a short list of resources, to help beginners get started

Repo Status: Open PRs Total PRs GitHub commit activity Last Commit Contributors

⬆️ Back to Top


Documentation 📘

For full docs, see: Documentation Contents

Running Dashy

  • 💨 Quick Start - TDLR guide on getting Dashy up and running in under 5 minutes
  • 🚀 Deployment - Full guide on setting up Dashy on various different environments
  • 🔧 Configuring - Complete list of all available options in the config file
  • 💻 Management - Managing your app, updating, security, web server configuration, etc
  • 🚒 Troubleshooting - Common errors and problems, and how to fix them

Development and Contributing

  • 🧱 Developing - Running Dashy development server locally, and general workflow
  • 🛎️ Development Guides - Common development tasks, to help new contributors
  • 💖 Contributing - How to contribute to Dashy
  • 🌟 Showcase - See how others are using Dashy, and share your dashboard
  • 🏆 Credits - Shout out to the amazing people who have contributed so far

Feature Docs

  • 🛡️ Authentication - Guide to setting up authentication to protect your dashboard
  • 🧿 Alternate Views - Outline of available pages / views and item opening methods
  • 💾 Backup & Restore - Guide to Dashy's cloud sync feature
  • 🧸 Icons - Outline of all available icon types for sections and items
  • 🌐 Language Switching - How to change language, add a language, or update text
  • 🚦 Status Indicators - Using Dashy to monitor uptime and status of your apps
  • 🔍 Searching & Shortcuts - Finding and launching your apps, and using keyboard shortcuts
  • 🎨 Theming - Complete guide to applying, writing and modifying themes and styles

Misc

  • 🔐 Privacy & Security - List of requests, potential issues, and security resources
  • 📄 License - Copy of the MIT License
  • ⚖️ Legal - Licenses of direct dependencies
  • 📏 Code of Conduct - Contributor Covenant Code of Conduct
  • 🌳 Changelog - Details of recent changes, and historical versions

⬆️ Back to Top


Roadmap 🛣️

For past and future app updates, see: Changelog

The following features and tasks are planned for the near future.

  • Widget support- cards showing live stats and interactive content from your self-hosted services
  • UI Drag & Drop editor and visual configurator
  • Conversion to TypeScript
  • Improved test coverage

⬆️ Back to Top


Alternatives 🙌

There are a few self-hosted web apps, that serve a similar purpose to Dashy. If you're looking for a dashboard, and Dashy doesn't meet your needs, I highly recommend you check these projects out!

⬆️ Back to Top


License 📜

Dashy is License under MIT X11

Copyright © 2021 Alicia Sykes <https://aliciasykes.com>

Permission is hereby granted, free of charge, to any person obtaining a copy of this
software and associated documentation files (the “Software”), to deal in the Software
without restriction, including without limitation the rights to use, copy, modify, merge,
publish, distribute, sublicense, and/or sell copies of the Software, and to permit
persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or
substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED,
INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWAREOR THE USE
OR OTHER DEALINGS IN THE SOFTWARE.

Except as contained in this notice, Dashy shall not be used in advertising or otherwise
to promote the sale, use or other dealings in this Software without prior written
authorization from the repo owner.

TDLR; You can do whatever you like with Dashy: use it in private or commercial settings, redistribute and modify it. But you must display this license and credit the author. There is no warranty that this app will work as expected, and the author cannot be held liable for anything that goes wrong. For more info, see TLDR Legal's Explanation of MIT

FOSSA Status

⬆️ Back to Top







Thank you for Visiting