GithubHelp home page GithubHelp logo

lissy93 / dashy Goto Github PK

View Code? Open in Web Editor NEW
15.9K 15.9K 1.2K 649.07 MB

πŸš€ A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!

Home Page: https://dashy.to

License: MIT License

JavaScript 18.46% HTML 1.15% Vue 71.02% SCSS 9.00% Dockerfile 0.14% Shell 0.03% Procfile 0.01% CSS 0.20%
awesome dashboard docker hacktoberfest homelab homepage mit nodejs organization productivity pwa self-hosted startpage vue

dashy's Introduction

πŸ‘‹ π™·πšŽπš•πš•πš˜! 𝙸'πš–β€€π™°πš•πš’πšŒπš’πšŠ

alicia at omg dot lol β”‚ FEDB 68F5 5C02 83A7 β”‚ @lissy93:matrix.org

↕️ Expand for more!
πŸ‘€ About

Alicia Sykes

I software engineer based in London UK. And I love writing code!

I care a lot about privacy and security, and have carried out several audits and have made numerous submissions to various bug bounty programs.

I also enjoy attending (and sometimes winning) hackathons and coding competitions, as it's a great opportunity to try out new technologies, meet new people and consume a lot of free caffeine.

I have a small homelab, which I'm using to learn more about system administration, and host my own services.

When I'm not at the keyboard, I like sports, astronomy and hanging out with friends.


πŸ“° Latest Blog Posts

Alicia Sykes Blog

➑️ More Posts


πŸ› οΈ Tech Stack

Category Technologies
Frontend Vue.js Svelte React Astro
Angular D3.js
Core TypeScript JavaScript Dart Python
Java PHP Rust Go Node.js
Mobile Flutter Android Kotlin Swift
Cloud Azure Heroku Netlify Google Cloud
DevOps Docker Ansible CircleCI
Testing Selenium Cypress Jest
Misc Linux Bash Markdown
Editors Vim VS Code

See ➑️ Full Tech Stack, for a list of projects using each of the above technologies


πŸ“Š Metrics

General Stats Coding Habits


➑️ More Metrics

⚑ Recent Activity

Astro Dab

  1. πŸŽ‰ Merged PR #38 in xray-web/web-check-api
  2. πŸŽ‰ Merged PR #37 in xray-web/web-check-api
  3. πŸŽ‰ Merged PR #34 in xray-web/web-check-api
  4. πŸŽ‰ Merged PR #35 in xray-web/web-check-api
  5. πŸŽ‰ Merged PR #22 in xray-web/web-check-api
  6. πŸŽ‰ Merged PR #254 in Lissy93/personal-security-checklist
  7. πŸŽ‰ Merged PR #27 in xray-web/web-check-api
  8. πŸ’ͺ Opened PR #27 in xray-web/web-check-api
  9. πŸŽ‰ Merged PR #26 in xray-web/web-check-api
  10. πŸŽ‰ Merged PR #25 in xray-web/web-check-api

➑️ More Activity


010000010110110001101001011000110110100101100001.com

dashy's People

Contributors

albcp avatar alhazmy13 avatar altearius avatar aviolaris avatar azerioxal avatar cereal916 avatar crazywolf13 avatar dimitridr avatar evotk avatar evroon avatar github-actions[bot] avatar imjimmeh avatar jammo2k5 avatar josuablejeru avatar kashif-se avatar liss-bot avatar lissy93 avatar lordpansar avatar m42e avatar marekful avatar pinarruiz avatar remygrandin avatar snyk-bot avatar toddejohnson avatar totto16 avatar urekd avatar walkxcode avatar wozboz avatar z3r0l1nk avatar zcq100 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dashy's Issues

[BUG] Config editor "Code" mouse click inaccuracy

When trying to edit the config via web settings "Edit config" in type "Code" mouse click and the cursor position don't match 99% of the time, making it really hard to edit code fast and effectively. See GIFs below. Tested in Edge, Firefox (outdated), Brave and Chrome.

WdkW7NmDWF
ptAaWnuq6f

[BUG] Connection not work, if the expiration is set to "Never"

If applicable to your issue, please include:
- A description of the bug, including actual behavior and if applicable, expected behavior
Connection not work, if the expiration is set to "Never"
If an expiration time is chosen the connection works

If I choose "Never" then "Logging in ..." appears but nothing happens
2021-06-27 00_26_28-Dashy

- Info about your system (device, OS, browser and browser version)

System Info
Dashy Version: V 1.3.6
Browser: Firefox
Is Mobile? No
OS: Windows

[FEATURE_REQUEST] Stay connected (when auth activated), 2FA auth, log file for connection attempt

Hello,
I would like to propose some feature request.

  • When I choose an authentification with auth and a sha256 hash, I get disconnected after a too short delay (somes minutes) : I see that when I refresh the page after some minutes without activity.
    So, could you add a checkbox to stay connected ?

  • Could you add a 2FA authentification ?

  • Could you add a log file in a mounted folder in order to store any failed authentification attempt with IP, time etc... I want to use fail2ban to ban after some retries...
    For now, I can't expose the service with a domain name because of the lack of security...

I hope those would be implemented soon πŸ˜ƒ
Thanks for reading and considering those features 😊

some error message when I build the docker image

Hi there!

I am receiving some error message when I tried to build the docker image. I am following the instruction docker build -t lissy93/dashy .

Step 7/13 : RUN yarn install
 ---> Running in bd7dc922e3d6
yarn install v1.22.5
warning package.json: No license field
warning [email protected]: No license field
[2/4] Fetching packages...
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
info [email protected]: The platform "linux" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
warning " > [email protected]" has incorrect peer dependency "[email protected]".
warning " > @vue/[email protected]" has incorrect peer dependency "eslint@>= 1.6.0 < 7.0.0".
warning "@vue/cli-plugin-eslint > [email protected]" has incorrect peer dependency "eslint@>=1.6.0 <7.0.0".
warning " > [email protected]" has unmet peer dependency "eslint-plugin-import@^2.22.1".
warning " > [email protected]" has unmet peer dependency "eslint-plugin-jsx-a11y@^6.4.1".
warning " > [email protected]" has unmet peer dependency "eslint-plugin-react@^7.21.5".
warning " > [email protected]" has unmet peer dependency "eslint-plugin-react-hooks@^4 || ^3 || ^2.3.0 || ^1.7.0".
warning "eslint-config-airbnb > [email protected]" has unmet peer dependency "eslint-plugin-import@^2.22.1".
warning " > [email protected]" has unmet peer dependency "webpack@^3.0.0 || ^4.0.0".

I am still able to run the container with the following instruction: docker run -it -p 8080:80 --rm --name my-dashboard lissy93/dashy but those messages might be a problem.

[BUG] Favicon not present

Hello,

I use the docker version : the favicon does not appear (on chrome and edge). Is it a problem from my side ?

[BUG] Display issue

Hello,

I currently have two concerns,

1- when I click on the "Update Configuration" key, the page that appears is white, you have to choose a menu to have a display! Is it not possible to have the Configuration menu displayed directly by default?

2021-08-04 22_38_57-Window

2021-08-04 22_38_48-Window

2 - The "backup-note" does not move when you scroll, so it stays in front of the menus.

2021-08-04 22_36_00-Window

2021-08-04 22_36_10-Window

I'm use Firefox, Dashy 1.5.1

Thx

[FEEDBACK] Add Authelia as an eventual security frontend to Dashy

Hello @Lissy93

I just stumbled upon your authentication implementation, nice work !
You also mention some alternatives, I could not enough recommend you to give a word about Authelia.
It allows access-control based on IP, path, users, etc... with a better fine-grained set of rules than base Nginx (it comes on top of Nginx, HAProxy or Caddy afaik).
You can set 2FA, simple password access or bypass policies for your domains.
Runs in Docker and is free.

Great alternative to mention imho. VPN access is quite too much restrictive sometimes (e.g. I can't use VPN at work).

[BUG] troublesome bottom copyright

Hello,

On mobile, the bar at the bottom with the copyright prevents re-opening a menu that has been closed.
Troublesome bottom copyright because it overlaps with other elements.

If I try to click on "Gestions Fichiers" to open it, instead, I go to the site https://aliciasykes.com/.

Thx you.

[QUESTION] Deploying with prebuilt config

Hello!

I am trying to deploy the software via copying the dist folder over to my web host after building with yarn build and it works, just not reading in the configuration file, and all updates trigger a 404, it is just showing the default startup header with 4 links. Is there any way for me to solve this?

Thank you!

[BUG] A new version of sass-loader is available, and some others warnings

Hello,
I'm trying Dashy witch seems very great πŸ˜ƒ

I'm using Docker on a Synology DS920+, and it runs great after a docker-compose install with Portainer.
But in the log I've got some warnings (see the log at the end of this message).

  • The first warning I get is : WARN A new version of sass-loader is available. Please upgrade for best experience.
    How can I upgrade if I'm already using the last version of Dashy ?

  • Other warnings concerns the file size limit. Would it be a problem ?

Thanks for your help.

✍🏻 The LOGs :

*******************************************************************************************
Welcome to Dashy! πŸš€
Your new dashboard is now up and running in container ID 5b4daa1cb9c6
After updating your config file, run  'docker exec -it 5b4daa1cb9c6 yarn build' to rebuild
*******************************************************************************************


-  Building for production...
 WARN  A new version of sass-loader is available. Please upgrade for best experience.
 WARNING  Compiled with 2 warnings5:07:30 PM

 warning

asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
  fonts/Raleway-Variable.3b5635ac.ttf (302 KiB)
  js/chunk-vendors.34f36476.js (1.73 MiB)
  item-icons/synology/vpn_plus_server.png (264 KiB)
  web-icons/screenshots/dashy-scrsht-1.png (367 KiB)
  web-icons/windows10/LargeTile.scale-400.png (307 KiB)
  web-icons/windows10/SplashScreen.scale-400.png (307 KiB)

 warning

entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.
Entrypoints:
  dashy (1.93 MiB)
      css/chunk-vendors.64811416.css
      js/chunk-vendors.34f36476.js
      css/dashy.a007dae4.css
      js/dashy.e0767cd2.js


  File                                      Size             Gzipped

  dist/js/chunk-vendors.34f36476.js         1767.30 KiB      516.49 KiB
  dist/js/dashy.e0767cd2.js                 109.53 KiB       32.45 KiB
  dist/precache-manifest.0a625fb1a654f0b    23.92 KiB        4.47 KiB
  e40100d1328f7aa9b.js
  dist/js/about.a7162e78.js                 4.48 KiB         1.99 KiB
  dist/service-worker.js                    1.04 KiB         0.61 KiB
  dist/css/dashy.a007dae4.css               94.05 KiB        14.44 KiB
  dist/css/chunk-vendors.64811416.css       4.38 KiB         1.47 KiB
  dist/css/about.a64c098d.css               1.04 KiB         0.34 KiB

  Images and other types of assets omitted.

 DONE  Build complete. Watching for changes...

✍🏻 For those who want my docker-compose.yml file :

##==============================================================================================
##                                                                                            ##
##                              Fichier docker-compose.yml Dashy                              ##
##                                                                                            ##
##                              https://github.com/Lissy93/dashy                              ##
##                                                                                            ##
##==============================================================================================



---
  # Welcome to Dashy! To get started, run `docker compose up`
version: "2.4"
services:
  Dashy:
    # To build from source, replace 'image: lissy93/dashy' with 'build: .'
    # build: .
    image: lissy93/dashy      # https://github.com/Lissy93/dashy
    container_name: Dashy

    # Pass in your config file below, by specifying the path on your host machine
    volumes:
      - /volume1/docker/dashy/dashy-config.yml:/app/public/conf.yml
      - /volume1/docker/dashy/images:/app/public/item-icons/
    
    ports:
      - 4000:80
    
    # Set any environmental variables
    environment:
      - NODE_ENV=production
    # Specify your user ID and group ID. You can find this by running `id -u` and `id -g`
      - UID=1000
      - GID=1000
    
    # ###############
    # Le label ci-dessous permet Γ  Watchtower de faire les mises Γ  jour automatiquement
    # Cela peut-Γͺtre supprimΓ© si Watchtower n'est pas utilisΓ©.
    labels:
      - "com.centurylinklabs.watchtower.enable=true"
    # ###############

    # Specify restart policy
    restart: unless-stopped
    
    # Configure healthchecks
    healthcheck:
      test: ['CMD', 'node', '/app/services/healthcheck']
      interval: 1m30s
      timeout: 10s
      retries: 3
      start_period: 40s

Make pageInfo.footerText allow html

Is your feature request related to a problem? If so, please describe.
In my use case, there are multiple users of Dashy who may not be familiar with how it is deployed or run. As such, I'd like to update the footerText to link to Dashy and my deployment configuration repository so that users have an easier time discovering how to update the Dashy config. The issue today is that for me to add those links, the only place I can do that is either in navLinks (too prominent to dedicate that much space) or as a section (which I believe would be violating consistency of sections).

Describe the solution you'd like
Add the v-html directive to footer.

My closest work-around today is to use navLinks and custom CSS to decrease their prominence.

Priority:
Low

Dashy reaching out to google for favicons?

First of all thank you for Dashy, so far I am really loving it! But...

I have been unable to get favicons to work properly for self-hosted (only locally available) sites and so in looking at the source I am seeing this for the img tag, I've replaced the domain=url for this posting...

img src="https://s2.googleusercontent.com/s2/favicons?domain=https://locallyhostedapp.mydomain.com" class="tile-icon medium "

This doesn't appear that it would function for self-hosted sites that are not avaialble externally and I would prefer that my self-hosted dashboard not reach out to google to display each icon, do I just have this wrong?

[FEATURE_REQUEST] Increase verbosity of releases change logs

Is your feature request related to a problem? If so, please describe.
It's kinda hard to follow the last changes you made to Dashy's image.

Describe the solution you'd like
We could have a list of last changes within the Releases tab, with incremental versions ?

Priority:
Medium: Would be useful

[SECURITY] Major vulnerability in dependency - Prism.js

Issue

Snyk recently reported that one of Dashy's dependencies, Prism.js (which is used for syntax highlighting) has a critical vulnerability, in the form of Regular Expression Denial of Service (ReDoS) - re CVE-2021-32723 and CVE-400. The Snyk report can be found here.

This was fixed by the Prism team in d85e30da6755fdbe7f8559f8e75d122297167018 and PR 2774. The results of which can be seen under Prism's Security Advisories.

Solution

Dashy's Prism dependency needs to be updated from 1.23.0 to the latest version (currently 1.24.1).

Before submitting, please ensure that:

  • This issue has not already been raised
  • You are using the latest version of Dashy
  • You've included the relevant information above

Configuration dependant on URL

Hello,

I'm working of my personal dashboard for some days now, and I have spotted a strange behaviour.
Dashy is atm running backend behind my reverse proxy, e.g. I'm reaching it through dashy.ndd.tld
Until now I was using Dashmachine on www.ndd.tld, and I'd like to make dashy my primary dashboard from now on.

When I tweak Nginx to switch subdomains, I'm getting back to the initial configuration, see dashy.ndd.tld here :

dashy_rp_1

www.ndd.tld :

dashy_rp_2

Context :

  • Container restart doesn't affect this behaviour.
  • If I NAT container's port 80 to host (instead of using https to access dashy), I also get the default page.

So it seems that the configuration is related to the URL. But I thought that in any case, it should load the conf.yml file in the container.
So I tried to check conf.yml in the container, I felt upset when I saw that my conf.yml file is the default one :

docker exec -it dashy cat /usr/share/nginx/html/conf.yml

dashy_rp_3

My guess is that when I edit my config through the UI, changes are saved elsewhere than in the conf.yml file. Not the best way to ensure data persistance.

If it can help you, here is my docker-compose file :

version: '2.1'
services:

   dashy:
      image: lissy93/dashy
      container_name: dashy
      networks:
         - net-proxy
      # for testing purpose only
      ports:
         - 22080:80
      volumes:
         - icons:/usr/share/nginx/html/item-icons
         - config:/usr/share/nginx/html
      labels:
#         - "diun.enable=true"
         - "com.centurylinklabs.watchtower.enable=true"
      restart: unless-stopped

volumes:

   icons:
   config:

networks:

   net-proxy:
      external: true

Another thing that disturbs me is the backup/restore config tool. Besides it is a rather cool feature, I can't find any mention of WHERE my data is saved. This stands as a real privacy concern imho.

Staying available if you need further details.

[FEATURE_REQUEST] CVE that should be fixed

Hi,

After a security scan, two CVEs have been found on node modules:

  • CVE-2020-28469: This affects the package glob-parent before 5.1.2. The enclosure regex used to check for strings ending in enclosure containing path separator
  • CVE-2021-33502: The normalize-url package before 4.5.1, 5.x before 5.3.1, and 6.x before 6.0.1 for Node.js has a ReDoS (regular expression denial of service) issue because it has exponential performance for data: URLs.

These modules should be upgraded.

[FEATURE_REQUEST] Option for removing Google Fonts

Is your feature request related to a problem? If so, please describe.
externaldependencies
I'm using uMatrix and it shows that font.googleapis.com and gstatic.com are getting called from my own server. Since we care about privacy this is not acceptable for us. We don't care much about the font quality. Any standard font would be fine. Is there any option yet to simply disable all calls towards Google?

Describe the solution you'd like
Implement an option to disable calls for Fonts to Google. Just default to any standard font instead.

Priority:
Medium: Would be useful

Configuration frame stucked

Hello (again),

When I'm cliking on the wrench, I end up on the config menu but I can't navigate between tabs in the upper part of the frame.
Plus, of the six buttons on the landing config page only download config and reset local settings are effective.

I tried with Chrome and Firefox, normal and private mode. Same behaviour.
Using a reverse proxy to access dashy URL, I'll use an IP to see if it behaves differently.

[QUESTION] statusCheck refresh ?

Hello,
With the help of the following documentation, I set up "statusCheck " : https://github.com/Lissy93/dashy/blob/master/docs/status-indicators.md

Dashy is installed in docker (via docker-compose) on a Debian 10.

However, I have some questions about how it works.

  • For example, on Jackett it does not work, the ping returns:
    {"successStatus":false,"message":"Γ’οΏ½Ε’ Service Unavailable: Server resulted in ERR_FR_TOO_MANY_REDIRECTS "}
    My adress to Jackett is : http://192.168.2.42:9117/UI/Dashboard
    Do you know how to solve this problem?

  • I also have a problem for pinging the proxmox interface which is in https but for which I do not have a certificate because I use the local address: https://192.168.2.40:8006
    The ping returns: {"successStatus":false,"message":"Γ’οΏ½Ε’ Service Unavailable: Server resulted in UNABLE_TO_VERIFY_LEAF_SIGNATURE "}
    Is it possible to disable certificate verification?

  • If the dashboard is already open and a service becomes unavailable, the status light does not change. There is no automatic refresh?

Thank you very much for your work, I discovered Dashy and I found him really good!

Is the docker image published?

Hey @Lissy93 ! Just curious if this image has been published to any registry? I’d be interested to use Dashy, but in my use case I’ll need to be pulling the image. While I can certainly publish it, I’d hate to build the automation around that (or plant a flag in a registry) if this is already done or on your radar.

Thanks for the awesome project!

[QUESTION] Download Config

Hello,
I understand correctly that the modifications made from the browser are not saved in the conf.yml file. and so I thought that this otpions was used to download the current configuration in Config > Backup Config > Actions > Downloads Config to save it in the event that we would have made changes from the browser. (Config> Edit Sections for example)

But this is not the case, in any case, this action downloads the original conf.yml file, present in the container.

Is this the normal behavior?

Exemple :

My conf.yml in contener : ( originaly )

appConfig:
  theme: "material-dark"
  fontAwesomeKey: "0821c65656"
pageInfo:
  title: "EVOServ - Dashy"
  navLinks:
    - title: "Accueil"
      path: "/"
    - title: "Code Source"
      path: "https://github.com/Lissy93/dashy"
  description: ""
  footerText: ""
sections:
  - name: "Serveur"
    items:
      - title: "Proxmox"
        description: ""
        url: "https://192.168.2.40:8006"
      - title: "Synology"
        description: ""
        url: "http://192.168.2.42:999"
      - title: "Portainer"
        description: ""
        url: "http://192.168.2.42:9000"

In WebBrowser : Config > Edit Sections, add statusCheck for Proxmox, Synology and Portainer : statusCheck: true
In WebBrowser : Backup Config, I can see this:

appConfig:
  theme: "material-dark"
  fontAwesomeKey: "0821c65656"
pageInfo:
  title: "EVOServ - Dashy"
  navLinks:
    - title: "Accueil"
      path: "/"
    - title: "Code Source"
      path: "https://github.com/Lissy93/dashy"
  description: ""
  footerText: ""
sections:
  - name: "Serveur"
    items:
      - title: "Proxmox"
        description: ""
        url: "https://192.168.2.40:8006"
        statusCheck: true
      - title: "Synology"
        description: ""
        url: "http://192.168.2.42:999"
        statusCheck: true
      - title: "Portainer"
        description: ""
        url: "http://192.168.2.42:9000"
        statusCheck: true

By cons, if clicked Donwload Config I download the file conf.yml without the addition of statusCheck, i'm download the originaly conf.yml

displayData ignored

Hello, first let me thank you for this shiny dashboard, I really love the whole feeling.
I'm struggling with how to customize frames with displayData. Here is my config tree :

dashy_disp_bug_1

The YAML version :

dashy_disp_bug_2

I would expect the "Informations" frame to have a 4x1 format with large icons, but nothing changes when I save the config :

dashy_disp_bug_3

PS : Btw there is a wording mistake, the message says "Changes seved successfully"

[FEATURE_REQUEST] Add a dropdown list for theme in the UI config editor

Hello again πŸ˜„
It would be nice to have a dropdown list for the theme in the UI config editor, like the one for iconesize :
image

Because guessing the right font case for the name is tricky πŸ˜†
For example, I set manually the theme to Nord, but it didn't work, because it should be nord.

It may be great to list them in github doc 😊

Thanks again βœ‹πŸ»

[QUESTION] too long translation ?

Hello,

I started a French translation, I have a question about the layout:

For example, in the configuration menu, when the text is too long, this one finds shifted and centered it is not very nice.

2021-08-03 13_07_05-Window

2021-08-03 13_06_56-Window

Do I have to use an abbreviation like for example:
"Infos on the application" instead of "Information on the applications" or should we rather provide a modification of the script so that the boxes adapt to the size of the text?

Thank you

[QUESTION] 2x environment in example docker-compose

Hello, it's me again
In exemple of docker-compose :

    # Set any environmental variables
    environment:
      NODE_ENV: production

the environment variable is duplicated with this example :

    # Specify your user ID and group ID. You can find this by running `id -u` and `id -g`
    # environment:
    #  - UID=1000
    #  - GID=1000

The environment variable is therefore present twice, and moreover the arguments are not written in the same way. Why not have indicated in the form : NODE_ENV: production or not - NODE_ENV=production ?

This would not be simpler if the example is:

---
# Welcome to Dashy! To get started, run `docker compose up`
version: "3.8"
services:
  dashy:
    # Set any environmental variables
    environment:
      - NODE_ENV=production
    # Specify your user ID and group ID. You can find this by running `id -u` and `id -g`
    #  - UID=1000
    #  - GID=1000
    # To build from source, replace 'image: lissy93/dashy' with 'build: .'
    # build: .
    image: lissy93/dashy
    container_name: Dashy
    # Pass in your config file below, by specifying the path on your host machine
    # volumes:
      # - /root/my-config.yml:/app/public/conf.yml
    ports:
      - 4000:80
    # Specify restart policy
    restart: unless-stopped
    # Configure healthchecks
    healthcheck:
      test: ['CMD', 'node', '/app/services/healthcheck']
      interval: 1m30s
      timeout: 10s
      retries: 3
      start_period: 40s

Thx you, again ! :)

Is setting BASE_URL supported?

I want to run dashy on a subpath on my domain (and also behind a reverse proxy) but I can't figure out how to set the vue BASE_URL or publicPath. I want to deploy the production build to a nginx server.

Does dashy support running from a subpath instead of /?

[BUG] Service worker is hard-caching website

After updating app settings, sometimes multiple refreshes are required for changes to take effect. This is caused by the service worker (which is meant to speed up load times, and provide basic offline functionality) hard-caching the app. It also means that after pushing out updates to the app, users don't always get the most up-to-date code.

Before submitting, please ensure that:

  • This issue has not already been raised
  • You are using the latest version of Dashy
  • You've included the relevant information above

[SHOWCASE] Seft-Hosted Ground Control

  • Title of Dashboard: Ground Control
  • Link to Screenshot: Dashboard
  • Would you like your name/ username included: dtctek

Either attach your screenshot here, or include a link to the CDN / image hosting service.
20210708-firefox_Hdu8GFmF2S
)

[BUG] StatusCheck not working/recognized

When I try to use the statuscheck in the config I get error saying "should NOT have additional property: statusCheck".

I'm running this on a fresh VM on Photon OS in VMware Workstation/ESXi. I tried cloning via git clone and manual dl and ftp. I'm using docker-compose to build it , I have tried running the default config and editing it. I tried importing my config into docker playground and it worked there.

brave_rnyidfxiCz

Also the clone command in the instructions doesn't work.
cmd_JPuYh6zojG

[SHOWCASE_REQUEST] Shadowking001

Complete the Following

  • Shadowking's Dashy
  • shadowking_dashboard
  • Would you like your name/ username included: Yes
  • Homelab & VPS dashboard (optional)

[Mobile] Layout tab not showing in portrait

When I open up Dashy on my mobile (Pixel 4a) in portrait view, I can't see the layout config menu :

dashy_config_tab

Portrait view :

Screenshot_20210608-153052

If I click on the "+", nothing happens, only the icon is changing :

Screenshot_20210608-153037

Landscape view :

Screenshot_20210608-152935

When I click on it the tab is correctly being displayed :

Screenshot_20210608-153003

[TEST] - Translator Bot

δΈ–η•Œζ‚¨ε₯½

ε¦‚ζžœθΏ™ζ˜―θ‹±ζ–‡ηš„οΌŒι‚£δΉˆζœΊε™¨δΊΊζ­£εœ¨ε·₯δ½œγ€‚γ€‚γ€‚

[FEEDBACK] text not translatable

Hello,
It is not possible to translate some parts of dashy like for example:

Update Configuration :
2021-08-07 01_33_18-EVOServ - Dashy

Sign Out :
2021-08-07 01_33_26-EVOServ - Dashy

The "Logging In..." at the time of connection :
2021-08-07 01_41_58-Dashy

The "Logged Out" at the time of Sign Out :
2021-08-07 01_43_22-EVOServ - Dashy

Do you think it would be possible to integrate this into the language file?
Thank you

Edit : I think it will have been more appropriate in "Feature Request", sorry

[FEATURE_REQUEST] Support ARMv7 Docker containers

When trying to run the docker container on a Raspberry Pi 4 with the default docker-compose.yml, the following is outputted in the logs:

standard_init_linux.go:228: exec user process caused: exec format error

This is most likely because the docker container is not built for ARM architectures.
So I now got Dashy working by building from source (after manually installing nodejs and yarn, because the Raspbian packages ship old versions).

Describe the solution you'd like
It would be nice to provide docker containers for ARM platforms.
I have never tried it, but I see that there is a runs_on option for Github Actions which you can use to run on ARM platforms.

Priority:
Low: Nice to have

[BUG] basic login page not display correctly on the Material-dark theme

Hello,
I'm use Material-dark theme and I just configured a user.

the login page has a problem, the color of the text in the login fields is the same as the background! So the text is not visible (unless it is highlighted with the cursor).

2021-06-21 22_22_02-Window

In Login I wrote "ilovedashy" but it is not visible, only "dashy" that I have highlighted

The writing in the button is also invisible.

Thx

Yarn build not working

Hello,

When I try to run yarn build as indicated in the instructions, I am presented with an [Errno 2] No such file or directory: 'build'

[QUESTION] hideComponents

Hello @Lissy93

Still rocking dashboard !
I tried to add the hideComponents object, but it seems like I'm not doing it as expected :

dashy_hidecomponents_1

Any clue about what I did wrong ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.