{"id":13468690,"url":"https://github.com/krestaino/my-dash","last_synced_at":"2025-04-13T06:42:15.934Z","repository":{"id":36331248,"uuid":"199583631","full_name":"krestaino/my-dash","owner":"krestaino","description":"🔢 A developer friendly dashboard for monitoring your self-hosted services with a clean and modern UI.","archived":false,"fork":false,"pushed_at":"2023-01-07T04:17:36.000Z","size":3018,"stargazers_count":243,"open_issues_count":20,"forks_count":15,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-24T11:45:51.199Z","etag":null,"topics":["dashboard","docker","docker-compose","netdata","nodejs","plex","react","seafile","tailwindcss","unifi","uptime-robot"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/krestaino.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-30T05:50:52.000Z","updated_at":"2024-12-28T08:35:05.000Z","dependencies_parsed_at":"2023-01-17T00:45:48.264Z","dependency_job_id":null,"html_url":"https://github.com/krestaino/my-dash","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krestaino%2Fmy-dash","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krestaino%2Fmy-dash/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krestaino%2Fmy-dash/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/krestaino%2Fmy-dash/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/krestaino","download_url":"https://codeload.github.com/krestaino/my-dash/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248675439,"owners_count":21143763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dashboard","docker","docker-compose","netdata","nodejs","plex","react","seafile","tailwindcss","unifi","uptime-robot"],"created_at":"2024-07-31T15:01:16.795Z","updated_at":"2025-04-13T06:42:15.912Z","avatar_url":"https://github.com/krestaino.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# My Dash\n\n\u003cp align=\"left\"\u003e\n  \u003ca href=\"https://travis-ci.org/krestaino/my-dash\"\u003e\n    \u003cimg src=\"https://api.travis-ci.org/krestaino/my-dash.svg?branch=master\" alt=\"Build Status\" style=\"max-width:100%;\"\u003e\n  \u003c/a\u003e\n  \u003cimg src=\"https://camo.githubusercontent.com/9a140a4c68e7c178bc660bee7675f4f25ff7ade3/68747470733a2f2f696d672e736869656c64732e696f2f6e706d2f6c2f7675652e737667\" alt=\"License\" style=\"max-width:100%;\"\u003e\n\u003c/p\u003e\n\n![Screenshot](https://raw.githubusercontent.com/krestaino/my-dash/master/screenshot.png)\n\n## Requirements\n\n- Node 10.x\n- Yarn 1.x\n\n## Quick Start\n\n### Environmental Variables\n\nFirst, create an `.env` file at the root of the project. Follow the template file at [.env.template](.env.template) as an example.\n\n### Development\n\n**Install dependencies**\n\n```\n$ yarn setup\n```\n\n**Start development servers**\n\n```\n$ yarn start\n```\n\n### Production\n\n**Install dependencies**\n\n```\n$ yarn setup\n```\n\n**Build API and UI**\n\n```\n$ yarn build\n```\n\n**Serve API and UI**\n\n```\n$ yarn serve\n```\n\n**Note:** The API listens on http://localhost:3000 and the UI listens on http://localhost:4000. This is true for both development and production. Feel free to change these in the `.env` file.\n\n## Docker\n\n**Build and serve the API and UI**\n\n```\n$ docker-compose up -d\n\n# or\n$ yarn docker\n```\n\n**Rebuild and update the container after code changes**\n\n```\n$ docker-compose build --no-cache my-dash\n$ docker-compose up -d\n\n# or\n$ yarn docker:build\n```\n\n## API\n\nThe API fetches data and contains all the credentials to the various services you want to monitor.\n\n### Environmental Variables\n\n**`API_KEY`**\n\nThis can be anything you want. The key is used by the UI as a form of authentication. Each request to the API contains this key as a parameter.\n\nUpon first load of the UI, you will be prompted to enter this key. It is stored in `localStorage` so you don't need to enter it every time. If for some reason you need to update it, just delete the key using your browser's dev tools or by clearing the site data.\n\nIf the API rejects the key, the UI will automatically delete the invalid key in `localStorage` and ask you to reauthenticate.\n\n**`UI_ORIGIN`**\n\n`CORS` is also enabled on the API. For local development, this is `http://localhost:3000`, unless you changed the port number. For production environments, remember to set the correct origin as `http://localhost:3000` is probably not what you want.\n\n## UI\n\nThe UI fetches data gathered by the API and renders the content. Styling is all handled by [Tailwind CSS](https://tailwindcss.com/), head over there to learn more about it.\n\n### Environmental Variables\n\n`REACT_APP_API_URL`\n\nThe URL of your API server. For local development, this is `http://localhost:4000`, unless you changed `API_PORT` in the `.env` file. For production environments, remember to set the correct URL as `http://localhost:4000` is probably not what you want.\n\n## Adding your own services\n\nI recommend you check out the two folders [api/src/routes](api/src/routes) and [ui/src/components/services](ui/src/components/services) to see how the existing services are implemented.\n\nBut as a _very_ brief walk-through:\n\n1. Add endpoints and/or credentials to the `.env` file.\n2. Create a new route in [api/src/routes](api/src/routes) with the name of your new service. All files in the routes folder are automatically imported.\n3. Create a new component in the [ui/src/components/services](ui/src/components/services) folder and import it into the main services component at [ui/src/components/Services.js](ui/src/components/Services.js).\n4. Render the data however you want.\n\n## FAQ\n\n### How do I get my Uptime Robot API key?\n\nhttps://uptimerobot.com/api\n\n### You want me to add my Unifi username and password, are you insane?\n\nI agree, but we can mitigate the security vulnerability by creating a new `admin` with `Read Only` access.\n\nHead over to `YOUR_UNIFI_URL/manage/site/default/settings/admins/list` and create a new admin with those limited privileges.\n\n### Where are the Netdata API docs?\n\nhttps://docs.netdata.cloud/web/api/\n\n### How do I get my Seafile API token?\n\nhttps://download.seafile.com/published/web-api/home.md\n\n### How do I get my Plex API token?\n\nLogin to your Plex application, open up your dev tools and inspect any of the `XHR` requests. Look for the parameter `X-Plex-Token`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrestaino%2Fmy-dash","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkrestaino%2Fmy-dash","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkrestaino%2Fmy-dash/lists"}