dashly
v0.3.0
Published
A dashboard app to create stunning start pages
Readme
Dashly
Features
- 🛠️ Multi-customizable: Personalize your dashboard with ease. Just provide links or search fields in a simple configuration file.
- 🗜️ Single HTML Output: Everything packed in a single HTML file for simplicity and portability.
- 🎨 Multiple Themes: Switch between different themes.
- 🔍 Live Search: Quickly find what you need with a built-in search feature.
- 🔎 Customizable Search Fields: Easily add and customize search fields to find what you need with a click.
How It Works
1. Configure Your Dashboard
To get started, create a config.yaml file where you define the content and layout of your
dashboard. Here’s an example of how the configuration file might look:
title: My StartPage
theme: Emerald Tides
clock: true
liveSearch: true
sections:
- title: Work
blocks:
- title: Communication
links:
- title: Teams
href: http://teams.microsoft.com
- title: Slack
href: https://slack.com
- title: Outlook
href: http://outlook.live.com
- title: Search
searchFields:
- title: Search on google
href: https://www.google.com/search?q=[search-term]
links:
- title: Wikipedia
href: https://wikipedia.com
- title: Translate
href: https://translate.google.com/
- title: Personal
blocks:
- title: Socials
links:
- href: https://www.instagram.com
title: Instagram
- href: https://www.facebook.com
title: Facebook2. Generate the HTML Dashboard
You can use two ways to generate the HTML dashboard:
Option 1: Using npx
For a faster, one-liner setup without needing to install the project locally, simply run the following command:
npx dashly[!IMPORTANT]
Make sure your config.yaml is available in the current directory
This will automatically generate the dashboard HTML file using the provided config.yaml file and
save it to index.html.
Option 2: Build locally
If you prefer building the TypeScript script locally, follow these steps:
Clone the repository and install dependencies:
git clone https://github.com/DDaaaaann/Dashly.git cd Dashly npm install npm run build npm run linkFill out the
config.yamlfile with your desired dashboard settings.Run the script to generate the dashboard:
dashlyThe generated
index.htmlwill be available in the current folder, ready to be used.
3. Use Your Dashboard
Once the HTML is generated, you can easily open it with you browser of choice. Make sure to set it as your homepage.
Themes
You can choose between multiple pre-built themes, or create your own. The available themes are:
- Night Owl
- Emerald Tides
Night Owl
Here’s an example of a generated dashboard with Night Owl theme:
Night Owl
Emerald Tides
Here’s an example of a generated dashboard with Emerald Tides theme:
Emerald Tides
Customizable Search Fields
Need to add custom search fields? Just include them in the config.yaml file, and the app will
automatically add them to the generated dashboard.
Place [search-term] in the URL where the query should go, and Dashly will automatically replace it
whit your input.
searchFields:
- title: Search on Wikipedia
href: https://nl.wikipedia.org/w/index.php?search=[search-term]