diff --git a/.github/ISSUE_TEMPLATE/add-your-dashboard-to-the-showcase----.md b/.github/ISSUE_TEMPLATE/add-your-dashboard-to-the-showcase----.md new file mode 100644 index 00000000..d6cf344c --- /dev/null +++ b/.github/ISSUE_TEMPLATE/add-your-dashboard-to-the-showcase----.md @@ -0,0 +1,20 @@ +--- +name: "Add your Dashboard to the Showcase \U0001F5BC๏ธ" +about: Share a screenshot of your dashboard to the Readme showcase! +title: "[SHOWCASE_REQUEST]" +labels: '' +assignees: '' + +--- + +Please read the instructions here first: +https://github.com/Lissy93/dashy/blob/master/docs/showcase.md#submitting-your-dashboard + +### Complete the Following +- **Title of Dashboard**: +- **Link to Screenshot**: +- **Would you like your name/ username included**: Yes/ No +- **Link to your Website/ Profile/ Twitter** (optional) +- **Description** (optional) + +Either attach your screenshot here, or include a link to the CDN / image hosting service. diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 3e80d1ec..6041f6e0 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,27 +1,20 @@ -**Thank you for contributing to Dashy! So that your PR can be handled effectively, please populate the following fields (delete sections that are not applicable)** +*Thank you for contributing to Dashy! So that your PR can be handled effectively, please populate the following fields (delete sections that are not applicable)* -### Category -> Please indicate the type of change your PR introduces +**Category**: +> One of: Bugfix / Feature / Code style update / Refactoring Only / Build related changes / Documentation / Other (please specify) -Bugfix / Feature / Code style update / Refactoring Only / Build related changes / Documentation / Other (please specify) - - -### Overview +**Overview** > Briefly outline your new changes... +**Issue Number** _(if applicable)_ #00 -### Issue Number _(if applicable)_ -#00 - -### New Vars _(if applicable)_ +**New Vars** _(if applicable)_ > If you've added any new build scripts, environmental variables, config file options, dependency or devDependency, please outline here - -### Screenshot _(if applicable)_ +**Screenshot** _(if applicable)_ > If you've introduced any significant UI changes, please include a screenshot - -### Code Quality Checklist _(Please complete)_ +**Code Quality Checklist** _(Please complete)_ - [ ] All changes are backwards compatible - [ ] All lint checks and tests are passing - [ ] There are no (new) build warnings or errors diff --git a/README.md b/README.md index ba1c96eb..b2d97bbc 100644 --- a/README.md +++ b/README.md @@ -9,40 +9,47 @@ [![Awesome Self-Hosted](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/awesome-selfhosted/awesome-selfhosted#personal-dashboards) ![Docker Pulls](https://img.shields.io/docker/pulls/lissy93/dashy?logo=docker&style=flat-square) ![Stars](https://flat.badgen.net/github/stars/lissy93/dashy?icon=github) -![Current Version](https://img.shields.io/github/package-json/v/lissy93/dashy?style=flat-square&logo=azurepipelines&color=00af87) ![GitHub Status](https://flat.badgen.net/github/status/lissy93/dashy?icon=github) -![App Size](https://img.shields.io/github/languages/code-size/lissy93/dashy?style=flat-square) -![Code Quality](https://app.codacy.com/project/badge/Grade/3be23a4a3a8a4689bd47745b201ecb74) +![License MIT](https://img.shields.io/badge/License-MIT-09be48?style=flat-square&logo=opensourceinitiative) +![Current Version](https://img.shields.io/github/package-json/v/lissy93/dashy?style=flat-square&logo=azurepipelines&color=00af87) ## Features ๐ - Instant search by name, domain and tags - just start typing - Full keyboard shortcuts for navigation, searching and launching - Multiple color themes, with easy method for adding more -- Customizable layout options, and item sizes -- Quickly preview a website, by holding down the Alt key while clicking, to open it in a resizable pop-up modal +- Easy to customize every part of your dashboard, layout, icon sizes and colors etc - Many options for icons, including full Font-Awesome support and the ability to auto-fetch icon from URLs favicon - Option to show service status for each of your apps / links, for basic availability and uptime monitoring -- Additional info for each item visible on hover (including opening method icon and description as a tooltip) -- Option for full-screen background image, custom nav-bar links, and custom footer text +- Multiple ways of opening apps, either in your browser, a pop-up modal or workspace view +- Option for full-screen background image, custom nav-bar links, html footer, title, and more - Encrypted cloud backup and restore feature available - Optional authentication, requiring user to log in - Easy single-file YAML-based configuration - Small bundle size, fully responsive UI and PWA makes the app easy to use on any device - Plus lots more... -**Live Demos**: [Demo 1](https://dashy-demo-1.as93.net) โ [Demo 2](https://dashy-demo-2.as93.net) โ [Demo 3](https://dashy-demo-3.as93.net) +## Demo โก -**Spin up your own demo**: [![One-Click Deploy with PWD](https://img.shields.io/badge/Play--with--Docker-Deploy-2496ed?style=flat-square&logo=docker)](https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/Lissy93/dashy/master/docker-compose.yml) +> For more examples of Dashy in action, see: [**The Showcase**](./docs/showcase.md) -**Screenshots** -![Screenshots](https://i.ibb.co/r5T3MwM/dashy-screenshots.png) +#### Live Demos +[Demo 1](https://dashy-demo-1.as93.net) โ [Demo 2](https://dashy-demo-2.as93.net) โ [Demo 3](https://dashy-demo-3.as93.net) -**Recording** +#### Spin up your own Demo +- 1-Click Deploy: [![One-Click Deploy with PWD](https://img.shields.io/badge/Play--with--Docker-Deploy-2496ed?style=flat-square&logo=docker)](https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/Lissy93/dashy/master/docker-compose.yml) +- Or on your own machine: `docker run -p 8080:80 lissy93/dashy` + +#### Recording <p align="center"> <img width="800" src="https://i.ibb.co/L8YbNNc/dashy-demo2.gif" alt="Demo"> </p> +#### User Showcase +Are using Dashy? Want to share your dashboard here too - [Submit your Screenshots to the Showcase](./docs/showcase.md#submitting-your-dashboard)! + +![Screenshots](https://i.ibb.co/r5T3MwM/dashy-screenshots.png) + **[โฌ๏ธ Back to Top](#dashy)** --- @@ -69,8 +76,8 @@ docker run -d \ --restart=always \ lissy93/dashy:latest ``` -Healthchecks are pre-configured to monitor the uptime and response times of Dashy, and the status of which can be seen in the container logs, e.g. `docker inspect --format "{{json .State.Health }}" [container-id]`. +You can also build the Docker container from source, by cloning the repo, cd'ing into it and running `docker build .` and `docker compose up`. #### Deploying from Source ๐ You will need both [git](https://git-scm.com/downloads) and the latest or LTS version of [Node.js](https://nodejs.org/) installed on your system @@ -83,18 +90,15 @@ You will need both [git](https://git-scm.com/downloads) and the latest or LTS ve #### Deploy to the Cloud -Dashy supports 1-Click deployments on several popular cloud platforms (with more on the way!). To get started, just click a link below: +Dashy supports 1-Click deployments on several popular cloud platforms. To get started, just click a link below: - [Deploy to Netlify](https://app.netlify.com/start/deploy?repository=https://github.com/lissy93/dashy) - [Deploy to Heroku](https://heroku.com/deploy?template=https://github.com/Lissy93/dashy) - [Deploy with Vercel](https://vercel.com/new/project?template=https://github.com/lissy93/dashy) - [Deploy with PWD](https://labs.play-with-docker.com/?stack=https://raw.githubusercontent.com/Lissy93/dashy/master/docker-compose.yml) -**[โฌ๏ธ Back to Top](#dashy)** - #### Basic Commands -The following commands can be run on Dashy. If you are using Docker, than precede each command with `docker exec -it [container-id]`, where container id can be found by running `docker ps`, e.g. `docker exec -it 92490c12baff yarn build`. -If you prefer [`NPM`](https://docs.npmjs.com), then just replace `yarn` with `npm run` in the following commands. +The following commands can be run on Dashy. - `yarn build` - Builds the project for production, and outputs it into `./dist` - `yarn start` - Starts a web server, and serves up the production site from `./dist` @@ -106,6 +110,13 @@ If you prefer [`NPM`](https://docs.npmjs.com), then just replace `yarn` with `np - `yarn test` - Runs tests, and outputs results - `yarn install` - Install all dependencies +If you are using Docker, than precede each command with `docker exec -it [container-id]`, where container id can be found by running `docker ps`, e.g. `docker exec -it 92490c12baff yarn build`. +If you prefer [`NPM`](https://docs.npmjs.com), then just replace `yarn` with `npm run` in the following commands. + +In Docker, [healthchecks](https://docs.docker.com/engine/reference/builder/#healthcheck) are pre-configured to monitor the uptime and response times of Dashy, and the status of which will show in your Docker monitoring app, or the `docker ps` command, or the container logs, using: `docker inspect --format "{{json .State.Health }}" [container-id]`. + +**[โฌ๏ธ Back to Top](#dashy)** + --- ## Configuring ๐ง @@ -118,7 +129,7 @@ In the production environment, the app needs to be rebuilt in order for changes You can check that your config matches Dashy's [schema](https://github.com/Lissy93/dashy/blob/master/src/utils/ConfigSchema.json) before deploying, by running `yarn validate-config.` -It is now possible to update Dashy's config directly through the UI, and have changes written to disk. You can disable this feature by setting: `appConfig.allowConfigEdit: false`. If you are using users within Dashy, then you need to be logged in to a user of `type: admin` in order to modify the configuration globally. You can also trigger a rebuild of the app through the UI (Settings --> Rebuild). The current theme, and other visual preferences are only stored locally, unless otherwise specified in the config file. The option to only apply config changes locally is still available, and can be used in conjunction with the cloud backup feature to sync data between instances. +It is now possible also possible to update Dashy's config directly through the UI, and have changes written to disk. You can disable this feature by setting: `appConfig.allowConfigEdit: false`. If you are using users within Dashy, then you need to be logged in to a user of `type: admin` in order to modify the configuration globally. You can also trigger a rebuild of the app through the UI (Settings --> Rebuild). You may find these [example config](https://gist.github.com/Lissy93/000f712a5ce98f212817d20bc16bab10) helpful for getting you started @@ -132,7 +143,7 @@ You may find these [example config](https://gist.github.com/Lissy93/000f712a5ce9 <p align="center"> <a href="https://i.ibb.co/BVSHV1v/dashy-themes-slideshow.gif"> - <img alt="Example Themes" src="/docs/assets/theme-slideshow.gif" width="400"> + <img alt="Example Themes" src="https://raw.githubusercontent.com/Lissy93/dashy/master/docs/assets/theme-slideshow.gif" width="400"> </a> </p> @@ -157,6 +168,7 @@ Both sections and items can have an icon associated with them, and defined under - **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` - **Generative**: Setting `icon: generative`, will generate a unique for a given service, based on it's URL or IP +- **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:'`). - **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 if you have a lot of icons, to keep them organized. @@ -200,10 +212,51 @@ At present, access control is handled on the frontend, and therefore in security > For full monitoring documentation, see: [**Status Indicators**](./docs/status-indicators.md) -Dashy has an optional feature that can display a small icon ([like this](./docs/assets/status-check-demo.gif)) 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. +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`, which will determine how often to recheck services, if this value is `0`, then status is only checked on initial page load, this is default behavior. +<p align="center"> + <img alt="Status Checks demo" src="https://raw.githubusercontent.com/Lissy93/dashy/master/docs/assets/status-check-demo.gif" width="600"> +</p> + +**[โฌ๏ธ Back to Top](#dashy)** + +--- + +## Opening Methods ๐ฑ๏ธ + +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`. + +<p align="center"> + <img width="500" src="https://i.ibb.co/vmZdSRt/dashy-context-menu-2.png" /> +</p> + +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`](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/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's a quick demo of the workspace view: +<p align="center"> + <img alt="Workspace view demo" src="https://raw.githubusercontent.com/Lissy93/dashy/master/docs/assets/workspace-demo.gif" width="600"> +</p> + +**[โฌ๏ธ Back to Top](#dashy)** + +--- + +## Config Editor โ๏ธ + +From the Settings Menu in Dashy, you can download, backup, edit and rest your config. An interactive editor makes editing the config file easy, it will tell you if you've got any errors. After making your changes, you can either apply them locally, or export into your main config file. After saving to the config file to the disk, the app will need to be rebuilt. This will happen automatically, but may take a few minutes. You can also manually trigger a rebuild from the Settings Menu. A full list of available config options can be found [here](./docs/configuring.md). 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](https://www.json2yaml.com/) is very useful for converting between YAML to JSON and visa versa. + +<p align="center"> + <img alt="Workspace view demo" src="https://raw.githubusercontent.com/Lissy93/dashy/master/docs/assets/config-editor-demo.gif" width="600"> +</p> + **[โฌ๏ธ Back to Top](#dashy)** --- @@ -230,7 +283,7 @@ If you are new to Vue.js or web development and want to learn more, [here are so Pull requests are welcome, and would by much appreciated! -Some ideas for PRs include: bug fixes, improve the docs, add new themes, implement a new widget, add or improve the display options, improve or refactor the code, or implement a new feature. +Some ideas for PRs include: bug fixes, improve the docs, submit a screenshot of your dashboard to the showcase, add new themes, implement a new widget, add or improve the display options, improve or refactor the code, or implement a new feature. Before you submit your pull request, please ensure the following: - Must be backwards compatible @@ -240,18 +293,12 @@ Before you submit your pull request, please ensure the following: - Your pull request will need to be up-to-date with master, and the PR template must be filled in ### Repo Status -![Open Issues](https://flat.badgen.net/github/open-issues/lissy93/dashy?icon=github) -![Closed Issues](https://flat.badgen.net/github/closed-issues/lissy93/dashy?icon=github) + ![Open PRs](https://flat.badgen.net/github/open-prs/lissy93/dashy?icon=github) ![Total PRs](https://flat.badgen.net/github/prs/lissy93/dashy?icon=github) ![GitHub commit activity](https://img.shields.io/github/commit-activity/m/lissy93/dashy?style=flat-square) ![Last Commit](https://flat.badgen.net/github/last-commit/lissy93/dashy?icon=github) ![Contributors](https://flat.badgen.net/github/contributors/lissy93/dashy?icon=github) -![GitHub Status](https://flat.badgen.net/github/status/lissy93/dashy?icon=github) -![Stars](https://flat.badgen.net/github/stars/lissy93/dashy?icon=github) -![Docker Pulls](https://img.shields.io/docker/pulls/lissy93/dashy?logo=docker&style=flat-square) -![Total Lines](https://img.shields.io/tokei/lines/github/lissy93/dashy?style=flat-square) -![Maintenance](https://img.shields.io/maintenance/yes/2021?style=flat-square) **[โฌ๏ธ Back to Top](#dashy)** @@ -268,6 +315,9 @@ If you've found a bug, or something that isn't working as you'd expect, please r - [Ask a Question ๐คทโโ๏ธ](https://github.com/Lissy93/dashy/issues/new?assignees=Lissy93&labels=%F0%9F%A4%B7%E2%80%8D%E2%99%82%EF%B8%8F+Question&template=question------.md&title=%5BQUESTION%5D) - [Share Feedback ๐](https://github.com/Lissy93/dashy/issues/new?assignees=&labels=%F0%9F%8C%88+Feedback&template=share-feedback---.md&title=%5BFEEDBACK%5D) +[**Issue Status**](https://isitmaintained.com/project/lissy93/dashy) ![Resolution Time](http://isitmaintained.com/badge/resolution/lissy93/dashy.svg) ![Open Issues](http://isitmaintained.com/badge/open/lissy93/dashy.svg) ![Closed Issues](https://badgen.net/github/closed-issues/lissy93/dashy) + + For more general questions about any of the technologies used, [StackOverflow](https://stackoverflow.com/questions/) may be more helpful first port of info If you need to get in touch securely with the author (me, Alicia Sykes), drop me a message at: @@ -280,16 +330,18 @@ For more general questions about any of the technologies used, [StackOverflow](h ## Documentation ๐ -- [Getting Started](/docs/deployment.md) +- [Deployment](/docs/deployment.md) - [Configuring](/docs/configuring.md) - [Developing](/docs/developing.md) - [Contributing](/docs/contributing.md) - [User Guide](/docs/user-guide.md) - [Troubleshooting](/docs/troubleshooting.md) - [Backup & Restore](/docs/backup-restore.md) +- [Status Indicators](/docs/status-indicators.md) - [Theming](/docs/theming.md) - [Icons](/docs/icons.md) - [Authentication](/docs/authentication.md) +- [Showcase](/docs/showcase.md) **[โฌ๏ธ Back to Top](#dashy)** @@ -332,7 +384,8 @@ The 1-Click deploy demo uses [Play-with-Docker Labs](https://play-with-docker.co ### 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! Including, but not limited to: [HomeDash2](https://lamarios.github.io/Homedash2), [Homer](https://github.com/bastienwirtz/homer) (`Apache License 2.0`), [Organizr](https://organizr.app/) (`GPL-3.0 License`) and [Heimdall](https://github.com/linuxserver/Heimdall) (`MIT License`) +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! +[HomeDash2](https://lamarios.github.io/Homedash2), [Homer](https://github.com/bastienwirtz/homer) (`Apache License 2.0`), [Organizr](https://organizr.app/) (`GPL-3.0 License`) and [Heimdall](https://github.com/linuxserver/Heimdall) (`MIT License`) **[โฌ๏ธ Back to Top](#dashy)** @@ -362,8 +415,8 @@ OR OTHER DEALINGS IN THE SOFTWARE. **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 MIT Explanation of the MIT License](https://tldrlegal.com/license/mit-license) +_liable for anything that goes wrong._ +For more info, see TLDR Legal's [Explanation of MIT](https://tldrlegal.com/license/mit-license) ![Octocat](https://github.githubassets.com/images/icons/emoji/octocat.png?v8) diff --git a/docs/assets/config-editor-demo.gif b/docs/assets/config-editor-demo.gif new file mode 100644 index 00000000..09fcd584 Binary files /dev/null and b/docs/assets/config-editor-demo.gif differ diff --git a/docs/assets/workspace-demo.gif b/docs/assets/workspace-demo.gif new file mode 100644 index 00000000..c6e186ae Binary files /dev/null and b/docs/assets/workspace-demo.gif differ diff --git a/docs/configuring.md b/docs/configuring.md index 6018730f..47bc101a 100644 --- a/docs/configuring.md +++ b/docs/configuring.md @@ -1,4 +1,4 @@ -## Configuring +# Configuring All app configuration is specified in [`/public/conf.yml`](https://github.com/Lissy93/dashy/blob/master/public/conf.yml) which is in [YAML Format](https://yaml.org/) format. @@ -11,17 +11,17 @@ There's a couple of things to remember, before getting started: - You can check that your config file fits the schema, by running `yarn validate-config` - Any which are only saved locally through the UI need to be exported into this file, in order for them to persist across devices -#### Config Saving Methods +### Config Saving Methods When updating the config through the JSON editor in the UI, you have two save options: **Local** or **Write to Disk**. Changes saved locally will only be applied to the current user through the browser, and to apply to other instances, you either need to use the cloud sync feature, or manually update the conf.yml file. On the other-hand, if you choose to write changes to disk, then your main `conf.yml` file will be updated, and changes will be applied to all users, and visible across all devices. -#### Preventing Changes being Written to Disk +### Preventing Changes being Written to Disk To disallow any changes from being written to disk, then set `appConfig.allowConfigEdit: false`. If you are using users, and have setup `auth` within Dashy, then only users with `type: admin` will be able to write config changes to disk. It is recommended to make a backup of your config file. All fields are optional, unless otherwise stated. -#### Top-Level Fields +### Top-Level Fields **Field** | **Type** | **Required**| **Description** --- | --- | --- | --- @@ -31,7 +31,7 @@ All fields are optional, unless otherwise stated. **[โฌ๏ธ Back to Top](#configuring)** -#### `PageInfo` +### `PageInfo` **Field** | **Type** | **Required**| **Description** --- | --- | --- | --- @@ -42,7 +42,7 @@ All fields are optional, unless otherwise stated. **[โฌ๏ธ Back to Top](#configuring)** -#### `pageInfo.navLinks` _(optional)_ +### `pageInfo.navLinks` _(optional)_ **Field** | **Type** | **Required**| **Description** --- | --- | --- | --- @@ -51,7 +51,7 @@ All fields are optional, unless otherwise stated. **[โฌ๏ธ Back to Top](#configuring)** -#### `appConfig` _(optional)_ +### `appConfig` _(optional)_ **Field** | **Type** | **Required**| **Description** --- | --- | --- | --- @@ -61,6 +61,7 @@ All fields are optional, unless otherwise stated. **`enableFontAwesome`** | `boolean` | _Optional_ | Where `true` is enabled, if left blank font-awesome will be enabled only if required by 1 or more icons **`fontAwesomeKey`** | `string` | _Optional_ | If you have a font-awesome key, then you can use it here and make use of premium icons. It is a 10-digit alpha-numeric string from you're FA kit URL (e.g. `13014ae648`) **`faviconApi`** | `string` | _Optional_ | Which service to use to resolve favicons. Set to `local` to do this locally, without using an API. Available options are: `local`, `faviconkit`, `google`, `clearbit`, `webmasterapi` and `allesedv`. Defaults to `faviconkit`. See [Icons](/docs/icons.md#favicons) for more info +**`auth`** | `array` | _Optional_ | An array of objects containing usernames and hashed passwords. If this is not provided, then authentication will be off by default, and you will not need any credentials to access the app. Note authentication is done on the client side, and so if your instance of Dashy is exposed to the internet, it is recommend to configure your web server to handle this. See [`auth`](#appconfigauth-optional) **`layout`** | `string` | _Optional_ | App layout, either `horizontal`, `vertical`, `auto` or `sidebar`. Defaults to `auto`. This specifies the layout and direction of how sections are positioned on the home screen. This can also be modified from the UI. **`iconSize`** | `string` | _Optional_ | The size of link items / icons. Can be either `small`, `medium,` or `large`. Defaults to `medium`. This can also be set directly from the UI. **`theme`** | `string` | _Optional_ | The default theme for first load (you can change this later from the UI) @@ -68,13 +69,13 @@ All fields are optional, unless otherwise stated. **`externalStyleSheet`** | `string` or `string[]` | _Optional_ | Either a URL to an external stylesheet or an array or URLs, which can be applied as themes within the UI **`customCss`** | `string` | _Optional_ | Raw CSS that will be applied to the page. This can also be set from the UI. Please minify it first. **`showSplashScreen`** | `boolean` | _Optional_ | Should display a splash screen while the app is loading. Defaults to false, except on first load -**`auth`** | `array` | _Optional_ | An array of objects containing usernames and hashed passwords. If this is not provided, then authentication will be off by default, and you will not need any credentials to access the app. Note authentication is done on the client side, and so if your instance of Dashy is exposed to the internet, it is recommend to configure your web server to handle this. See [`auth`](#appconfigauth-optional) **`allowConfigEdit`** | `boolean` | _Optional_ | Should prevent / allow the user to write configuration changes to the conf.yml from the UI. When set to `false`, the user can only apply changes locally using the config editor within the app, whereas if set to `true` then changes can be written to disk directly through the UI. Defaults to `true`. Note that if authentication is enabled, the user must be of type `admin` in order to apply changes globally. **`disableServiceWorker`** | `boolean` | _Optional_ | Service workers cache web applications to improve load times and offer basic offline functionality, and are enabled by default in Dashy. The service worker can sometimes cause older content to be cached, requiring the app to be hard-refreshed. If you do not want SW functionality, or are having issues with caching, set this property to `true` to disable all service workers. +**`disableContextMenu`** | `boolean` | _Optional_ | If set to `true`, the custom right-click context menu will be disabled. Defaults to `false`. **[โฌ๏ธ Back to Top](#configuring)** -#### `appConfig.auth` _(optional)_ +### `appConfig.auth` _(optional)_ **Field** | **Type** | **Required**| **Description** --- | --- | --- | --- @@ -84,7 +85,7 @@ All fields are optional, unless otherwise stated. **[โฌ๏ธ Back to Top](#configuring)** -#### `section` +### `section` **Field** | **Type** | **Required**| **Description** --- | --- | --- | --- @@ -95,7 +96,7 @@ All fields are optional, unless otherwise stated. **[โฌ๏ธ Back to Top](#configuring)** -#### `section.item` +### `section.item` **Field** | **Type** | **Required**| **Description** --- | --- | --- | --- @@ -103,14 +104,16 @@ All fields are optional, unless otherwise stated. **`description`** | `string` | _Optional_ | Additional info about an item, which is shown in the tooltip on hover, or visible on large tiles **`url`** | `string` | Required | The URL / location of web address for when the item is clicked **`icon`** | `string` | _Optional_ | The icon for a given item. Can be a font-awesome icon, favicon, remote URL or local URL. See [`item.icon`](#sectionicon-and-sectionitemicon) -**`target`** | `string` | _Optional_ | The opening method for when the item is clicked, either `newtab`, `sametab` or `iframe`. Where `newtab` will open the link in a new tab, `sametab` will open it in the current tab, and `iframe` will open a pop-up modal with the content displayed within that iframe. Note that for the iframe to load, you must have set the CORS headers to either allow `*` ot allow the domain that you are hosting Dashy on, for some websites and self-hosted services, this is already set. +**`target`** | `string` | _Optional_ | The opening method for when the item is clicked, either `newtab`, `sametab`, `modal` or `workspace`. Where `newtab` will open the link in a new tab, `sametab` will open it in the current tab, and `modal` will open a pop-up modal with the content displayed within that iframe. Note that for the iframe to load, you must have set the CORS headers to either allow `*` ot allow the domain that you are hosting Dashy on, for some websites and self-hosted services, this is already set. **`statusCheck`** | `boolean` | _Optional_ | When set to `true`, Dashy will ping the URL associated with the current service, and display its status as a dot next to the item. The value here will override `appConfig.statusCheck` so you can turn off or on checks for a given service. Defaults to `appConfig.statusCheck`, falls back to `false` +**`statusCheckUrl`** | `string` | _Optional_ | If you've enabled `statusCheck`, and want to use a different URL to what is defined under the item, then specify it here +**`statusCheckHeaders`** | `object` | _Optional_ | If you're endpoint requires any specific headers for the status checking, then define them here **`color`** | `string` | _Optional_ | An optional color for the text and font-awesome icon to be displayed in. Note that this will override the current theme and so may not display well **`backgroundColor`** | `string` | _Optional_ | An optional background fill color for the that given item. Again, this will override the current theme and so might not display well against the background **[โฌ๏ธ Back to Top](#configuring)** -#### `section.displayData` _(optional)_ +### `section.displayData` _(optional)_ **Field** | **Type** | **Required**| **Description** --- | --- | --- | --- @@ -126,7 +129,7 @@ All fields are optional, unless otherwise stated. **[โฌ๏ธ Back to Top](#configuring)** -#### `section.icon` and `section.item.icon` +### `section.icon` and `section.item.icon` **Field** | **Type** | **Required**| **Description** --- | --- | --- | --- @@ -134,7 +137,7 @@ All fields are optional, unless otherwise stated. **[โฌ๏ธ Back to Top](#configuring)** -#### Example +### Example ```yaml --- diff --git a/docs/icons.md b/docs/icons.md index e7d7b0dc..8cac264f 100644 --- a/docs/icons.md +++ b/docs/icons.md @@ -3,14 +3,15 @@ Both sections and items can have an icon, which is specified using the `icon` attribute. Using icons improves the aesthetics of your UI and makes the app more intuitive to use. There are several options when it comes to setting icons, and this article outlines each of them - [Font Awesome Icons](#font-awesome) -- [Favicons](#favicons) +- [Auto-Fetched Favicons](#favicons) - [Generative Icons](#generative-icons) +- [Emoji Icons](#emoji-icons) - [Icons by URL](#icons-by-url) - [Local Icons](#local-icons) - [No Icon](#no-icon) <p align="center"> - <img width="400" src="https://i.ibb.co/GTVmZnc/dashy-example-icons.png" /> + <img width="500" src="https://i.ibb.co/GTVmZnc/dashy-example-icons.png" /> </p> ### Font Awesome @@ -18,10 +19,17 @@ You can use any [Font Awesome Icon](https://fontawesome.com/icons) simply by spe Font-Awesome has a wide variety of free icons, but you can also use their pro icons if you have a membership. To do so, you need to specify your license key under: `appConfig.fontAwesomeKey`. This is usually a 10-digit string, for example `13014ae648`. +<p align="center"> + <img width="580" src="https://i.ibb.co/pdrw8J4/fontawesome-icons2.png" /> +</p> ### Favicons Dashy can auto-fetch the favicon for a given service using it's URL. Just set `icon: favicon` to use this feature. If the services URL is a local IP, then Dashy will attempt to find the favicon from `http://[ip]/favicon.ico`. This has two issues, favicons are not always hosted at the same location for every service, and often the default favicon is a low resolution. Therefore to fix this, for remote services an API is used to return a high-quality icon for any online service. +<p align="center"> + <img width="580" src="https://i.ibb.co/k6wyhnB/favicon-icons.png" /> +</p> + The default favicon API is [Favicon Kit](https://faviconkit.com/), a free and reliable service for returning images from any given URL. However several other API's are supported. To change the API used, under `appConfig`, set `faviconApi` to one of the following values: - `faviconkit` - [faviconkit.com](https://faviconkit.com/) (Recommend) @@ -35,6 +43,29 @@ You can also force Dashy to always get favicons from the root of the domain, and ### Generative Icons Uses a unique and programmatically generated icon for a given service. This is particularly useful when you have a lot of similar services with a different IP or port, and no specific icon. These icons are generated with [ipsicon.io](https://ipsicon.io/). To use this option, just set an item's to: `icon: generative`. +<p align="center"> + <img width="400" src="https://i.ibb.co/qrNNNcm/generative-icons.png" /> +</p> + +### Emoji Icons +You can use almost any emoji as an icon for items or sections. You can specify the emoji either by pasting it directly, using it's unicode ( e.g. `'U+1F680'`) or shortcode (e.g. `':rocket:'`). You can find these codes for any emoji using [Emojipedia](https://emojipedia.org/) (near the bottom of emoji each page), or for a quick reference to emoji shortcodes, check out [emojis.ninja](https://emojis.ninja/) by @nomanoff. + +<p align="center"> + <img width="580" src="https://i.ibb.co/YLwgTf9/emoji-icons-1.png" /> +</p> + +The following example shows the unicode options available, all three will render the ๐ emoji. + +```yaml +items: +- title: Shortcode + icon: ':rocket:' +- title: Unicode + icon: 'U+1F680' +- title: Emoji + icon: ๐ +``` + ### Icons by URL You can also set an icon by passing in a valid URL pointing to the icons location. For example `icon: https://i.ibb.co/710B3Yc/space-invader-x256.png`, this can be in .png, .jpg or .svg format, and hosted anywhere- so long as it's accessible from where you are hosting Dashy. The icon will be automatically scaled to fit, however loading in a lot of large icons may have a negative impact on performance, especially if you visit Dashy from new devices often. @@ -44,4 +75,4 @@ You may also want to store your icons locally, bundled within Dashy so that ther You can also use sub-folders within the `item-icons` directory to keep things organised. You would then specify an icon with it's folder name slash image name. For example: `networking/monit.png` ### No Icon -If you don't wish for a given item or section to have an icon, just leave out the `icon` attribute. \ No newline at end of file +If you don't wish for a given item or section to have an icon, just leave out the `icon` attribute. diff --git a/docs/showcase.md b/docs/showcase.md new file mode 100644 index 00000000..5d93b66e --- /dev/null +++ b/docs/showcase.md @@ -0,0 +1,72 @@ +# *Dashy Showcase* ๐ + +| ๐ Do you use Dashy? Got a sweet dashboard? Submit it to the showcase! ๐ [See How](#submitting-your-dashboard) | +|-| + +### Home Lab 2.0 + +![screenshot-homelab](https://raw.githubusercontent.com/Lissy93/dashy/master/docs/showcase/1-home-lab-material.png) + +--- + +### Networking Services +> By [@Lissy93](https://github.com/lissy93) + +![screenshot-networking-services](https://raw.githubusercontent.com/Lissy93/dashy/master/docs/showcase/2-networking-services-minimal-dark.png) + +--- + +### NAS Home Dashboard +> By [@cerealconyogurt](https://github.com/cerealconyogurt) + +![screenshot-networking-services](https://raw.githubusercontent.com/Lissy93/dashy/master/docs/showcase/6-nas-home-dashboard.png) + +--- + +### CFT Toolbox + +![screenshot-cft-toolbox](https://raw.githubusercontent.com/Lissy93/dashy/master/docs/showcase/3-cft-toolbox.png) + +--- + +### Bookmarks + +![screenshot-bookmarks](https://raw.githubusercontent.com/Lissy93/dashy/master/docs/showcase/4-bookmarks-colourful.png) + +--- + +### Project Management + +![screenshot-project-managment](https://raw.githubusercontent.com/Lissy93/dashy/master/docs/showcase/5-project-managment.png) + +--- + +## Submitting your Dashboard + +#### How to Submit +- [Open an Issue](https://git.io/Jceik) +- [Open a PR](https://github.com/Lissy93/dashy/compare) + +#### What to Include +Please include the following information: +- A single high-quality screenshot of your Dashboard +- A short title (it doesn't have to be particularly imaginative) +- An optional description, you could include details on anything interesting or unique about your dashboard, or say how you use it, and why it's awesome +- Optionally leave your name or username, with a link to your GitHub, Twitter or Website + +#### Template + +If you're submitting a pull request, please use a format similar to this: + +``` +### [Dashboard Name] (required) + +> Submitted by [@username](https://github.com/user) (optional) + +![dashboard-screenshot](/docs/showcase/screenshot-name.jpg) (required) + +[An optional text description, or any interesting details] (optional) + +--- + +``` \ No newline at end of file diff --git a/docs/showcase/1-home-lab-material.png b/docs/showcase/1-home-lab-material.png new file mode 100644 index 00000000..605a520c Binary files /dev/null and b/docs/showcase/1-home-lab-material.png differ diff --git a/docs/showcase/2-networking-services-minimal-dark.png b/docs/showcase/2-networking-services-minimal-dark.png new file mode 100644 index 00000000..6986f60c Binary files /dev/null and b/docs/showcase/2-networking-services-minimal-dark.png differ diff --git a/docs/showcase/3-cft-toolbox.png b/docs/showcase/3-cft-toolbox.png new file mode 100644 index 00000000..a728a8a9 Binary files /dev/null and b/docs/showcase/3-cft-toolbox.png differ diff --git a/docs/showcase/4-bookmarks-colourful.png b/docs/showcase/4-bookmarks-colourful.png new file mode 100644 index 00000000..a29563f4 Binary files /dev/null and b/docs/showcase/4-bookmarks-colourful.png differ diff --git a/docs/showcase/5-project-managment.png b/docs/showcase/5-project-managment.png new file mode 100644 index 00000000..e8567f5f Binary files /dev/null and b/docs/showcase/5-project-managment.png differ diff --git a/docs/showcase/6-nas-home-dashboard.png b/docs/showcase/6-nas-home-dashboard.png new file mode 100644 index 00000000..01bb57ff Binary files /dev/null and b/docs/showcase/6-nas-home-dashboard.png differ diff --git a/docs/status-indicators.md b/docs/status-indicators.md index 1e91af06..8f2a8469 100644 --- a/docs/status-indicators.md +++ b/docs/status-indicators.md @@ -48,10 +48,29 @@ appConfig: statusCheckInterval: 20 ``` +## Using a Different Endpoint +By default, the status checker will use the URL of each application being checked. In some situations, you may want to use a different endpoint for status checking. Similarly, some services provide a dedicated path for uptime monitoring. + +You can set the `statusCheckUrl` property on any given item in order to do this. The status checker will then ping that endpoint, instead of the apps main `url` property. + +## Setting Custom Headers +If your service is responding with an error, despite being up and running, it is most likely because custom headers for authentication, authorization or encoding are required. You can define these headers under the `statusCheckHeaders` property for any service. It should be defined as an object format, with the name of header as the key, and header content as the value. +For example, `statusCheckHeaders: { 'X-Custom-Header': 'foobar' }` + +## Troubleshooting Failing Status Checks +If the status is always returning an error, despite the service being online, then it is most likely an issue with access control, and should be fixed with the correct headers. Hover over the failing status to see the error code and response, in order to know where to start with addressing it. +If your service requires requests to include any authorization in the headers, then use the `statusCheckHeaders` property, as described above. +If you are still having issues, it may be because your target application is blocking requests from Dashy's IP. This is a [CORS error](https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS), and can be fixed by setting the headers on your target app, to include: +``` +Access-Control-Allow-Origin: https://location-of-dashy/ +Vary: Origin +``` +For further troubleshooting, use an application like [Postman](https://postman.com) to diagnose the issue. + ## How it Works When Dashy is loaded, items with `statusCheck` enabled will make a request, to `https://[your-host-name]/ping?url=[address-or-servce]`, which in turn will ping that running service, and respond with a status code. Response time is calculated from the difference between start and end time of the request. -An indicator will display next to each item, and will be yellow while waiting for the response to return, green if request was successful, red if it failed, and grey if it was unable to make the request all together. +When the response completes, an indicator will display next to each item. The color denotes the status: Yellow while waiting for the response to return, green if request was successful, red if it failed, and grey if it was unable to make the request all together. -All requests are made straight from your server, there is no intermediary. So providing you are hosting Dashy yourself, and are checking the status of other self-hosted services, there shouldn't be any privacy concerns. +All requests are made straight from your server, there is no intermediary. So providing you are hosting Dashy yourself, and are checking the status of other self-hosted services, there shouldn't be any privacy concerns. Requests are made asynchronously, so this won't have any impact on page load speeds. However recurring requests (using `statusCheckInterval`) may run more slowly if the interval between requests is very short. diff --git a/docs/theming.md b/docs/theming.md index 462dd71a..cb7233e0 100644 --- a/docs/theming.md +++ b/docs/theming.md @@ -129,8 +129,9 @@ You can target specific elements on the UI with these variables. All are optiona - `--status-check-tooltip-color` - Text color for the status check tooltips. Defaults to `--primary` - `--code-editor-color` - Text color used within raw code editors. Defaults to `--black` - `--code-editor-background` - Background color for raw code editors. Defaults to `--white` - - +- `--context-menu-color` - Text color for right-click context menu over items. Defaults to `--primary` +- `--context-menu-background` - Background color of right-click context menu. Defaults to `--background` +- `--context-menu-secondary-color` - Border and outline color for context menu. Defaults to `--background-darker` #### Non-Color Variables - `--outline-color` - Used to outline focused or selected elements diff --git a/package.json b/package.json index a324a147..79d3d615 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "Dashy", - "version": "1.2.5", + "version": "1.3.6", "license": "MIT", "main": "server", "scripts": { @@ -86,4 +86,4 @@ "> 1%", "last 2 versions" ] -} +} \ No newline at end of file diff --git a/src/assets/interface-icons/open-workspace.svg b/src/assets/interface-icons/open-workspace.svg new file mode 100644 index 00000000..b0a186ca --- /dev/null +++ b/src/assets/interface-icons/open-workspace.svg @@ -0,0 +1,20 @@ +<svg + aria-hidden="true" + focusable="false" + data-prefix="far" + data-icon="browser" + class="svg-inline--fa fa-browser fa-w-16" + role="img" + xmlns="http://www.w3.org/2000/svg" + viewBox="0 0 512 512" +> + <path + transform = "rotate(-90 250 250)" + fill="currentColor" + d="M464 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 + 48-48V80c0-26.5-21.5-48-48-48zM48 92c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 + 12v24c0 6.6-5.4 12-12 12H60c-6.6 0-12-5.4-12-12V92zm416 334c0 3.3-2.7 6-6 + 6H54c-3.3 0-6-2.7-6-6V168h416v258zm0-310c0 6.6-5.4 12-12 12H172c-6.6 + 0-12-5.4-12-12V92c0-6.6 5.4-12 12-12h280c6.6 0 12 5.4 12 12v24z"> + </path> + </svg> \ No newline at end of file diff --git a/src/components/LinkItems/Collapsable.vue b/src/components/LinkItems/Collapsable.vue index 0e6dd567..d33db09b 100644 --- a/src/components/LinkItems/Collapsable.vue +++ b/src/components/LinkItems/Collapsable.vue @@ -42,11 +42,6 @@ export default { components: { Icon, }, - data() { - return { - isOpen: !this.collapsed, - }; - }, methods: { /* Check that row & column span is valid, and not over the max */ checkSpanNum(span, classPrefix) { diff --git a/src/components/LinkItems/ContextMenu.vue b/src/components/LinkItems/ContextMenu.vue new file mode 100644 index 00000000..3e8de908 --- /dev/null +++ b/src/components/LinkItems/ContextMenu.vue @@ -0,0 +1,116 @@ +<template> + <transition name="slide"> + <div class="context-menu" v-if="show && menuEnabled" + :style="posX && posY ? `top:${posY}px;left:${posX}px;` : ''"> + <ul> + <li @click="launch('sametab')"> + <SameTabOpenIcon /> + <span>Open in Current Tab</span> + </li> + <li @click="launch('newtab')"> + <NewTabOpenIcon /> + <span>Open in New Tab</span> + </li> + <li @click="launch('modal')"> + <IframeOpenIcon /> + <span>Open in Pop-Up Modal</span> + </li> + <li @click="launch('workspace')"> + <WorkspaceOpenIcon /> + <span>Open in Workspace View</span> + </li> + </ul> + </div> + </transition> +</template> + +<script> +// Import icons for each element +import SameTabOpenIcon from '@/assets/interface-icons/open-current-tab.svg'; +import NewTabOpenIcon from '@/assets/interface-icons/open-new-tab.svg'; +import IframeOpenIcon from '@/assets/interface-icons/open-iframe.svg'; +import WorkspaceOpenIcon from '@/assets/interface-icons/open-workspace.svg'; + +export default { + name: 'ContextMenu', + inject: ['config'], + components: { + SameTabOpenIcon, + NewTabOpenIcon, + IframeOpenIcon, + WorkspaceOpenIcon, + }, + props: { + posX: Number, // The X coordinate for positioning + posY: Number, // The Y coordinate for positioning + show: Boolean, // Should show or hide the menu + }, + data() { + return { + menuEnabled: !this.isMenuDisabled(), // Specifies if the context menu should be used + }; + }, + methods: { + /* Called on item click, emits an event up to Item */ + /* in order to launch the current app to a given target */ + launch(target) { + this.$emit('contextItemClick', target); + }, + /* Checks if the user as disabled context menu in config */ + isMenuDisabled() { + if (this.config && this.config.appConfig) { + return !!this.config.appConfig.disableContextMenu; + } + return false; + }, + }, +}; +</script> + +<style lang="scss"> + +div.context-menu { + position: absolute; + margin: 0; + padding: 0; + z-index: 8; + background: var(--context-menu-background); + color: var(--context-menu-color); + border: 1px solid var(--context-menu-secondary-color); + border-radius: var(--curve-factor); + box-shadow: var(--context-menu-shadow); + opacity: 0.98; + + ul { + list-style-type: none; + margin: 0; + padding: 0; + li { + cursor: pointer; + padding: 0.5rem 1rem; + display: flex; + flex-direction: row; + font-size: 1rem; + &:not(:last-child) { + border-bottom: 1px solid var(--context-menu-secondary-color); + } + &:hover { + background: var(--context-menu-secondary-color); + } + svg { + width: 1rem; + margin-right: 0.5rem; + path { fill: currentColor; } + } + } + } +} + +// Define enter and leave transitions +.slide-enter-active { animation: slide-in .1s; } +.slide-leave-active { animation: slide-in .1s reverse; } +@keyframes slide-in { + 0% { transform: scaleY(0.5) scaleX(0.8) translateY(-50px); } + 100% { transform: scaleY(1) translateY(0) translateY(0); } +} +</style> diff --git a/src/components/LinkItems/Item.vue b/src/components/LinkItems/Item.vue index e75e9c69..02fd719c 100644 --- a/src/components/LinkItems/Item.vue +++ b/src/components/LinkItems/Item.vue @@ -1,6 +1,9 @@ <template ref="container"> + <div class="item-wrapper"> <a @click="itemOpened" - :href="target !== 'iframe' ? url : '#'" + @mouseup.right="openContextMenu" + @contextmenu.prevent + :href="target !== 'modal' ? url : '#'" :target="target === 'newtab' ? '_blank' : ''" :class="`item ${!icon? 'short': ''} size-${itemSize}`" v-tooltip="getTooltipOptions()" @@ -19,6 +22,7 @@ <!-- Small icon, showing opening method on hover --> <ItemOpenMethodIcon class="opening-method-icon" :isSmall="!icon" :openingMethod="target" :position="itemSize === 'medium'? 'bottom right' : 'top right'"/> + <!-- Status indicator dot (if enabled) showing weather srevice is availible --> <StatusIndicator class="status-indicator" v-if="enableStatusCheck" @@ -26,13 +30,24 @@ :statusText="statusResponse ? statusResponse.message : undefined" /> </a> + <ContextMenu + :show="contextMenuOpen" + v-click-outside="closeContextMenu" + :posX="contextPos.posX" + :posY="contextPos.posY" + :id="`context-menu-${id}`" + @contextItemClick="contextItemClick" + /> + </div> </template> <script> import axios from 'axios'; +import router from '@/router'; import Icon from '@/components/LinkItems/ItemIcon.vue'; import ItemOpenMethodIcon from '@/components/LinkItems/ItemOpenMethodIcon'; import StatusIndicator from '@/components/LinkItems/StatusIndicator'; +import ContextMenu from '@/components/LinkItems/ContextMenu'; export default { name: 'Item', @@ -45,40 +60,63 @@ export default { color: String, // Optional text and icon color, specified in hex code backgroundColor: String, // Optional item background color url: String, // URL to the resource, optional but recommended - target: { // Where resource will open, either 'newtab', 'sametab' or 'iframe' + target: { // Where resource will open, either 'newtab', 'sametab' or 'modal' type: String, default: 'newtab', - validator: (value) => ['newtab', 'sametab', 'iframe'].indexOf(value) !== -1, + validator: (value) => ['newtab', 'sametab', 'modal', 'workspace'].indexOf(value) !== -1, }, itemSize: String, enableStatusCheck: Boolean, + statusCheckHeaders: Object, + statusCheckUrl: String, statusCheckInterval: Number, }, data() { return { + contextMenuOpen: false, getId: this.id, customStyles: { color: this.color, background: this.backgroundColor, }, statusResponse: undefined, + contextPos: { + posX: undefined, + posY: undefined, + }, }; }, components: { Icon, ItemOpenMethodIcon, StatusIndicator, + ContextMenu, }, methods: { - /* Called when an item is clicked, manages the opening of iframe & resets the search field */ + /* Called when an item is clicked, manages the opening of modal & resets the search field */ itemOpened(e) { - if (e.altKey || this.target === 'iframe') { + if (e.altKey || this.target === 'modal') { e.preventDefault(); this.$emit('triggerModal', this.url); } else { this.$emit('itemClicked'); } }, + /* Open custom context menu, and set position */ + openContextMenu(e) { + this.contextMenuOpen = !this.contextMenuOpen; + if (e && window) { + // Calculate placement based on cursor and scroll position + this.contextPos = { + posX: e.clientX + window.pageXOffset, + posY: e.clientY + window.pageYOffset, + }; + } + }, + /* Closes the context menu, called when user clicks literally anywhere */ + closeContextMenu() { + this.contextMenuOpen = false; + }, /* Returns configuration object for the tooltip */ getTooltipOptions() { return { @@ -97,15 +135,18 @@ export default { switch (this.target) { case 'newtab': return '"\\f360"'; case 'sametab': return '"\\f24d"'; - case 'iframe': return '"\\f2d0"'; + case 'modal': return '"\\f2d0"'; default: return '"\\f054"'; } }, + /* Checks if a given service is currently online */ checkWebsiteStatus() { this.statusResponse = undefined; const baseUrl = process.env.VUE_APP_DOMAIN || window.location.origin; - const endpoint = `${baseUrl}/ping?url=${this.url}`; - axios.get(endpoint) + const urlToCheck = this.statusCheckUrl || this.url; + const headers = this.statusCheckHeaders || {}; + const endpoint = `${baseUrl}/ping?url=${urlToCheck}`; + axios.get(endpoint, { headers }) .then((response) => { if (response.data) this.statusResponse = response.data; }) @@ -116,9 +157,31 @@ export default { }; }); }, + /* Handle navigation options from the context menu */ + contextItemClick(method) { + const { url } = this; + this.contextMenuOpen = false; + switch (method) { + case 'newtab': + window.open(url, '_blank'); + break; + case 'sametab': + window.open(url, '_self'); + break; + case 'modal': + this.$emit('triggerModal', url); + break; + case 'workspace': + router.push({ name: 'workspace', query: { url } }); + break; + default: window.open(url, '_blank'); + } + }, }, mounted() { + // If ststus checking is enabled, then check service status if (this.enableStatusCheck) this.checkWebsiteStatus(); + // If continious status checking is enabled, then start ever-lasting loop if (this.statusCheckInterval > 0) { setInterval(this.checkWebsiteStatus, this.statusCheckInterval * 1000); } @@ -128,6 +191,10 @@ export default { <style lang="scss"> +.item-wrapper { + flex-grow: 1; +} + .item { flex-grow: 1; color: var(--item-text-color); @@ -147,6 +214,7 @@ export default { &:hover { box-shadow: var(--item-hover-shadow); background: var(--item-background-hover); + color: var(--item-text-color-hover); position: relative; .tile-title span.text { white-space: pre-wrap; @@ -211,24 +279,29 @@ export default { /* Specify layout for alternate sized icons */ .item { + /* Small Tile Specific Themes */ &.size-small { display: flex; flex-direction: row-reverse; justify-content: flex-end; align-items: center; height: 2rem; + padding-top: 4px; div img, div svg.missing-image { width: 2rem; } .tile-title { height: fit-content; min-height: 1.2rem; + text-align: left; + max-width:140px; span.text { text-align: left; padding-left: 10%; } } } + /* Medium Tile Specific Themes */ &.size-medium { display: flex; flex-direction: column; @@ -243,14 +316,42 @@ export default { max-width: 160px; } } + /* Large Tile Specific Themes */ &.size-large { - height: 100px; + display: flex; + flex-direction: row-reverse; + justify-content: flex-end; + text-align: left; + overflow: hidden; + align-items: center; + max-height: 6rem; + margin: 0.2rem; + padding: 0.5rem; + img { + padding: 0.1rem 0.25rem; + } + .tile-title { + height: auto; + padding: 0.1rem 0.25rem; + span.text { + position: relative; + font-weight: bold; + font-size: 1.1rem; + width: 100%; + } + p.description { + display: block; + margin: 0; + white-space: pre-wrap; + font-size: .9em; + text-overflow: ellipsis; + } + } } - p.description { - display: none; + display: none; // By default, we don't show the description } - &:before { + &:before { // Certain themes (e.g. material) show css animated fas icon on hover display: none; font-family: FontAwesome; content: var(--open-icon, "\f054") !important; diff --git a/src/components/LinkItems/ItemGroup.vue b/src/components/LinkItems/ItemGroup.vue index 87805055..276c762c 100644 --- a/src/components/LinkItems/ItemGroup.vue +++ b/src/components/LinkItems/ItemGroup.vue @@ -27,6 +27,8 @@ :target="item.target" :color="item.color" :backgroundColor="item.backgroundColor" + :statusCheckUrl="item.statusCheckUrl" + :statusCheckHeaders="item.statusCheckHeaders" :itemSize="newItemSize" :enableStatusCheck="shouldEnableStatusCheck(item.statusCheck)" :statusCheckInterval="getStatusCheckInterval()" diff --git a/src/components/LinkItems/ItemIcon.vue b/src/components/LinkItems/ItemIcon.vue index fe2a756b..3e4ca928 100644 --- a/src/components/LinkItems/ItemIcon.vue +++ b/src/components/LinkItems/ItemIcon.vue @@ -1,6 +1,7 @@ <template> <div class="item-icon"> <i v-if="iconType === 'font-awesome'" :class="`${icon} ${size}`" ></i> + <i v-else-if="iconType === 'emoji'" :class="`emoji-icon ${size}`" >{{getEmoji(iconPath)}}</i> <img v-else-if="icon" :src="iconPath" @error="imageNotFound" :class="`tile-icon ${size} ${broken ? 'broken' : ''}`" /> @@ -12,6 +13,8 @@ import BrokenImage from '@/assets/interface-icons/broken-icon.svg'; import ErrorHandler from '@/utils/ErrorHandler'; import { faviconApi as defaultFaviconApi, faviconApiEndpoints } from '@/utils/defaults'; +import EmojiUnicodeRegex from '@/utils/EmojiUnicodeRegex'; +import emojiLookup from '@/utils/emojis.json'; export default { name: 'Icon', @@ -52,6 +55,27 @@ export default { if (splitPath.length >= 1) return validImgExtensions.includes(splitPath[1]); return false; }, + /* Determins if a given string is an emoji, and if so what type it is */ + isEmoji(img) { + if (EmojiUnicodeRegex.test(img) && img.match(/./gu).length) { // Is a unicode emoji + return { isEmoji: true, emojiType: 'glyph' }; + } else if (new RegExp(/^:.*:$/).test(img)) { // Is a shortcode emoji + return { isEmoji: true, emojiType: 'shortcode' }; + } else if (img.substring(0, 2) === 'U+' && img.length === 7) { + return { isEmoji: true, emojiType: 'unicode' }; + } + return { isEmoji: false, emojiType: '' }; + }, + /* Formats and gets emoji from unicode or shortcode */ + getEmoji(emojiCode) { + const { emojiType } = this.isEmoji(emojiCode); + if (emojiType === 'shortcode') { + if (emojiLookup[emojiCode]) return emojiLookup[emojiCode]; + } else if (emojiType === 'unicode') { + return String.fromCodePoint(parseInt(emojiCode.substr(2), 16)); + } + return emojiCode; // Emoji is a glyph already, just return + }, /* Get favicon URL, for items which use the favicon as their icon */ getFavicon(fullUrl) { if (this.shouldUseDefaultFavicon(fullUrl)) { // Check if we should use local icon @@ -85,6 +109,7 @@ export default { case 'favicon': return this.getFavicon(url); case 'generative': return this.getGenerativeIcon(url); case 'svg': return img; + case 'emoji': return img; default: return ''; } }, @@ -98,6 +123,7 @@ export default { else if (img.includes('fa-')) imgType = 'font-awesome'; else if (img === 'favicon') imgType = 'favicon'; else if (img === 'generative') imgType = 'generative'; + else if (this.isEmoji(img).isEmoji) imgType = 'emoji'; else imgType = 'none'; return imgType; }, @@ -144,7 +170,17 @@ export default { fill: currentColor; } } - + i.emoji-icon { + font-style: normal; + font-size: 2rem; + margin: 0.2rem; + &.small { + font-size: 1.5rem; + } + &.large { + font-size: 2.5rem; + } + } .missing-image { width: 3.5rem; path { diff --git a/src/components/LinkItems/ItemOpenMethodIcon.vue b/src/components/LinkItems/ItemOpenMethodIcon.vue index 2610ad72..b9270123 100644 --- a/src/components/LinkItems/ItemOpenMethodIcon.vue +++ b/src/components/LinkItems/ItemOpenMethodIcon.vue @@ -2,19 +2,24 @@ <div :class="makeClass(position, isSmall, isTransparent)"> <NewTabOpenIcon v-if="openingMethod === 'newtab'" /> <SameTabOpenIcon v-else-if="openingMethod === 'sametab'" /> - <IframeOpenIcon v-else-if="openingMethod === 'iframe'" /> + <IframeOpenIcon v-else-if="openingMethod === 'modal'" /> + <WorkspaceOpenIcon v-else-if="openingMethod === 'workspace'" /> </div> </template> <script> +/* This component displays a small icon, indicating opening method */ + +// Import Icons import NewTabOpenIcon from '@/assets/interface-icons/open-new-tab.svg'; import SameTabOpenIcon from '@/assets/interface-icons/open-current-tab.svg'; import IframeOpenIcon from '@/assets/interface-icons/open-iframe.svg'; +import WorkspaceOpenIcon from '@/assets/interface-icons/open-workspace.svg'; export default { name: 'ItemOpenMethodIcon', props: { - openingMethod: String, // newtab | sametab | iframe + openingMethod: String, // newtab | sametab | modal | workspace isSmall: Boolean, // If true, will apply small class position: String, // Position classes: top, bottom, left, right isTransparent: Boolean, // If true, will apply opacity @@ -32,6 +37,7 @@ export default { NewTabOpenIcon, SameTabOpenIcon, IframeOpenIcon, + WorkspaceOpenIcon, }, }; </script> diff --git a/src/components/PageStrcture/Footer.vue b/src/components/PageStrcture/Footer.vue index c235f77f..77529692 100644 --- a/src/components/PageStrcture/Footer.vue +++ b/src/components/PageStrcture/Footer.vue @@ -36,7 +36,7 @@ footer { text-align: center; color: var(--medium-grey); opacity: var(--dimming-factor); - background: var(--background-darker); + background: var(--footer-background); margin-top: 1.5rem; border-top: 1px solid var(--outline-color); @include tablet-down { diff --git a/src/components/Settings/SearchBar.vue b/src/components/Settings/SearchBar.vue index 7b38f902..0083c21f 100644 --- a/src/components/Settings/SearchBar.vue +++ b/src/components/Settings/SearchBar.vue @@ -83,7 +83,7 @@ export default { background: var(--search-container-background); label { display: inline; - color: var(--settings-text-color); + color: var(--search-label-color); margin: 0.5rem; display: inline; } diff --git a/src/main.js b/src/main.js index c4e7361c..ca08f56d 100644 --- a/src/main.js +++ b/src/main.js @@ -7,16 +7,18 @@ import VSelect from 'vue-select'; // Select dropdown component import VTabs from 'vue-material-tabs'; // Tab view component, used on the config page import Toasted from 'vue-toasted'; // Toast component, used to show confirmation notifications -import { toastedOptions } from './utils/defaults'; -import Dashy from './App.vue'; -import router from './router'; -import registerServiceWorker from './registerServiceWorker'; +import { toastedOptions } from '@/utils/defaults'; +import Dashy from '@/App.vue'; +import router from '@/router'; +import registerServiceWorker from '@/registerServiceWorker'; +import clickOutside from '@/utils/ClickOutside'; Vue.use(VTooltip); Vue.use(VModal); Vue.use(VTabs); Vue.use(Toasted, toastedOptions); Vue.component('v-select', VSelect); +Vue.directive('clickOutside', clickOutside); Vue.config.productionTip = false; diff --git a/src/styles/color-palette.scss b/src/styles/color-palette.scss index 2acf6a25..7b0f0497 100644 --- a/src/styles/color-palette.scss +++ b/src/styles/color-palette.scss @@ -42,6 +42,7 @@ --nav-link-border-color: transparent; --nav-link-border-color-hover: var(--primary); --item-text-color: var(--primary); + --item-text-color-hover: var(--item-text-color); --item-group-outer-background: var(--primary); --item-group-heading-text-color: var(--item-group-background); --item-group-heading-text-color-hover: var(--background); @@ -49,8 +50,10 @@ --settings-text-color: var(--primary); --search-container-background: var(--background-darker); --search-field-background: var(--background); + --search-label-color: var(--settings-text-color); --footer-text-color: var(--medium-grey); --footer-text-color-link: var(--primary); + --footer-background: var(--background-darker); --welcome-popup-background: var(--background-darker); --welcome-popup-text-color: var(--primary); --config-code-background: #fff; @@ -78,4 +81,8 @@ --status-check-tooltip-color: var(--primary); --code-editor-color: var(--black); --code-editor-background: var(--white); + + --context-menu-background: var(--background); + --context-menu-color: var(--primary); + --context-menu-secondary-color: var(--background-darker); } diff --git a/src/styles/color-themes.scss b/src/styles/color-themes.scss index 24ef8c23..57ad1afa 100644 --- a/src/styles/color-themes.scss +++ b/src/styles/color-themes.scss @@ -88,9 +88,46 @@ html[data-theme='matrix'] { --font-body: 'Cutive Mono', monospace; --font-headings: 'VT323', monospace; --about-page-background: var(--background); + --context-menu-secondary-color: var(--primary); .prism-editor-wrapper.my-editor { border: 1px solid var(--primary); } + div.context-menu ul li:hover { + color: var(--background); + } +} + +html[data-theme='blue-purple'] { + --primary: #54dbf8; + --background: #e5e8f5; + --background-darker: #5346f3; + --font-headings: 'Sniglet', cursive; + + --dimming-factor: 0.8; + --curve-factor: 6px; + + --settings-text-color: var(--background-darker); + --item-text-color: var(--background-darker); + --item-background: var(--white); + --item-background-hover: var(--primary); + + --item-group-heading-text-color: var(--background-darker); + --item-group-background: var(--background); + --footer-text-color: var(--white); + --context-menu-background: var(--white); + --context-menu-color: var(--background-darker); + --context-menu-secondary-color: var(--primary); + + .item { + box-shadow: none; + border: 1px solid var(--background-darker); + } + section.filter-container form label { + color: var(--primary); + } + footer { + color: var(--white); + } } html[data-theme='hacker-girl'] { @@ -184,6 +221,12 @@ html[data-theme='material-original'] { --about-page-accent: #000; --about-page-color: var(--background-darker); --about-page-background: var(--background); + --context-menu-background: var(--white); + --context-menu-secondary-color: var(--white); + div.context-menu ul li:hover { + background: var(--primary); + color: var(--white); + } } html[data-theme='material-dark-original'] { @@ -222,6 +265,13 @@ html[data-theme='material-dark-original'] { &::-webkit-scrollbar-thumb { border-left: 1px solid #131a1f; } + div.context-menu { + border: none; + background: #131a1f; + ul li:hover { + background: #333c43; + } + } } html[data-theme='colorful'] { @@ -234,14 +284,14 @@ html[data-theme='colorful'] { --item-group-outer-background: #05070e; --item-group-heading-text-color: #e8eae1; --item-group-heading-text-color-hover: #fff; - .item:nth-child(1n) { color: #eb5cad; border: 1px solid #eb5cad; } - .item:nth-child(2n) { color: #985ceb; border: 1px solid #985ceb; } - .item:nth-child(3n) { color: #5c90eb; border: 1px solid #5c90eb; } - .item:nth-child(4n) { color: #5cdfeb; border: 1px solid #5cdfeb; } - .item:nth-child(5n) { color: #5ceb8d; border: 1px solid #5ceb8d; } - .item:nth-child(6n) { color: #afeb5c; border: 1px solid #afeb5c; } - .item:nth-child(7n) { color: #ebb75c; border: 1px solid #ebb75c; } - .item:nth-child(8n) { color: #eb615c; border: 1px solid #eb615c; } + .item-wrapper:nth-child(1n) { .item { color: #eb5cad; border: 1px solid #eb5cad; } } + .item-wrapper:nth-child(2n) { .item { color: #985ceb; border: 1px solid #985ceb; } } + .item-wrapper:nth-child(3n) { .item { color: #5c90eb; border: 1px solid #5c90eb; } } + .item-wrapper:nth-child(4n) { .item { color: #5cdfeb; border: 1px solid #5cdfeb; } } + .item-wrapper:nth-child(5n) { .item { color: #5ceb8d; border: 1px solid #5ceb8d; } } + .item-wrapper:nth-child(6n) { .item { color: #afeb5c; border: 1px solid #afeb5c; } } + .item-wrapper:nth-child(7n) { .item { color: #ebb75c; border: 1px solid #ebb75c; } } + .item-wrapper:nth-child(8n) { .item { color: #eb615c; border: 1px solid #eb615c; } } .item:hover, .item:focus { opacity: 0.85; outline: none; @@ -253,12 +303,20 @@ html[data-theme='colorful'] { h1, h2, h3, h4 { font-weight: normal; } + div.context-menu { + border-color: var(--primary); + } } html[data-theme='minimal-light'], html[data-theme='minimal-dark'], html[data-theme='vaporware'] { --font-body: 'Courier New', monospace; --font-headings: 'Courier New', monospace; + --footer-height: 94px; + .item.size-medium .tile-title { + max-width: 100px; + } + label.lbl-toggle h3 { font-size: 1.8rem; } @@ -449,6 +507,7 @@ html[data-theme='material'] { --welcome-popup-text-color: #f5f5f5; --footer-text-color: #f5f5f5cc; // --login-form-background-secondary: #f5f5f5cc; + --context-menu-secondary-color: #f5f5f5; header { background: #4285f4; @@ -467,6 +526,14 @@ html[data-theme='material'] { .prism-editor-wrapper { background: #f5f5f5; } + .item:focus { + outline-color: #4285f4cc; + } + div.context-menu { + border: none; + background: var(--white); + ul li:hover { svg path { fill: var(--background-darker); }} + } } html[data-theme='material-dark'] { @@ -521,6 +588,13 @@ html[data-theme='material-dark'] { background: #131a1f !important; } } + div.context-menu { + border: none; + background: var(--background); + ul li:hover { + background: #131a1f; + } + } } html[data-theme='minimal-light'] { @@ -547,7 +621,8 @@ html[data-theme='minimal-light'] { --login-form-color: #101931; --about-page-background: var(--background); --about-page-color: var(--background-darker); - + --context-menu-color: var(--background-darker); + --context-menu-secondary-color: var(--primary); section.filter-container { background: #fff; border-bottom: 1px dashed #00000038; @@ -592,6 +667,10 @@ html[data-theme='minimal-dark'] { border: 1px solid #fff; } } + + div.context-menu { + border-color: var(--primary); + } } html[data-theme='vaporware'] { @@ -613,7 +692,8 @@ html[data-theme='vaporware'] { --curve-factor: 2px; --curve-factor-navbar: 6px; --login-form-color: #09bfe6; - + --config-settings-background: #100e2c; + .home { background: linear-gradient(180deg, rgba(16,14,44,1) 10%, rgba(27,24,79,1) 40%, rgba(16,14,44,1) 100%); } @@ -674,4 +754,30 @@ html[data-theme='vaporware'] { // background-size: cover; // div.home { background: none; } // } +} + +html[data-theme='cyberpunk'] { +--pink: #ff2a6d; +--pale: #d1f7ff; +--aqua: #05d9e8; +--teal: #005678; +--blue: #01012b; +--gold: #ebeb0f; + +--primary: var(--gold); +--background: var(--blue); +--background-darker: var(--pink); +--heading-text-color: var(--blue); +--nav-link-background-color-hover: var(--blue); +--nav-link-text-color-hover: var(--pink); +--nav-link-border-color-hover: var(--blue); +--config-settings-background: var(--blue); +--config-settings-color: var(--pink); +--search-label-color: var(--blue); +--item-group-background: var(--blue); +--item-text-color: var(--pale); +--scroll-bar-color: var(--aqua); +--scroll-bar-background: var(--teal); +--footer-background: var(--aqua); +--font-headings: 'Audiowide', cursive; } \ No newline at end of file diff --git a/src/styles/dimensions.scss b/src/styles/dimensions.scss index 13eed42a..442cfb7d 100644 --- a/src/styles/dimensions.scss +++ b/src/styles/dimensions.scss @@ -19,6 +19,7 @@ --item-icon-transform: drop-shadow(2px 4px 6px var(--transparent-50)) saturate(0.65); --item-icon-transform-hover: drop-shadow(4px 8px 3px var(--transparent-50)) saturate(2); --item-group-shadow: var(--item-shadow); + --context-menu-shadow: var(--item-shadow); /* Settings and config menu */ --settings-container-shadow: none; diff --git a/src/styles/typography.scss b/src/styles/typography.scss index 539a5f5e..1888a754 100644 --- a/src/styles/typography.scss +++ b/src/styles/typography.scss @@ -42,7 +42,6 @@ html { font-weight: normal; } } - /* Optional fonts for specific themes */ /* These fonts are loaded from ./public and therefore not bundled within the apps source */ @font-face { // Used by Dracula. Credit to Matt McInerney @@ -73,3 +72,9 @@ html { font-family: 'VT323'; src: url('/fonts/VT323-Regular.ttf'); } + +@font-face { // Used by cyberpunk theme. Credit to Astigmatic + font-family: 'Audiowide'; + src: url('/fonts/Audiowide-Regular.ttf'); +} + diff --git a/src/utils/Auth.js b/src/utils/Auth.js index 563c5e13..57e519f8 100644 --- a/src/utils/Auth.js +++ b/src/utils/Auth.js @@ -1,8 +1,18 @@ import sha256 from 'crypto-js/sha256'; import { cookieKeys, localStorageKeys } from './defaults'; +/** + * Generates a 1-way hash, in order to be stored in local storage for authentication + * @param {String} user The username of user + * @returns {String} The hashed token + */ const generateUserToken = (user) => sha256(user.toString()).toString().toLowerCase(); +/** + * Checks if the user is currently authenticated + * @param {Array[Object]} users An array of user objects pulled from the config + * @returns {Boolean} Will return true if the user is logged in, else false + */ export const isLoggedIn = (users) => { const validTokens = users.map((user) => generateUserToken(user)); let userAuthenticated = false; @@ -20,6 +30,15 @@ export const isLoggedIn = (users) => { return userAuthenticated; }; +/** + * Checks credentials entered by the user against those in the config + * Returns an object containing a boolean indicating success/ failure + * along with a message outlining what's not right + * @param {String} username The username entered by the user + * @param {String} pass The password entered by the user + * @param {String[]} users An array of valid user objects + * @returns {Object} An object containing a boolean result and a message + */ export const checkCredentials = (username, pass, users) => { let response; if (!username) { @@ -40,12 +59,24 @@ export const checkCredentials = (username, pass, users) => { return response || { correct: false, msg: 'User not found' }; }; -export const login = (username, pass) => { +/** + * Sets the cookie value in order to login the user locally + * @param {String} username - The users username + * @param {String} pass - Password, not yet hashed + * @param {Number} timeout - A desired timeout for the session, in ms + */ +export const login = (username, pass, timeout) => { + const now = new Date(); + const expiry = new Date(now.setTime(now.getTime() + timeout)).toGMTString(); const userObject = { user: username, hash: sha256(pass).toString().toLowerCase() }; - document.cookie = `authenticationToken=${generateUserToken(userObject)}; max-age=600`; + document.cookie = `authenticationToken=${generateUserToken(userObject)};` + + `${timeout > 0 ? `expires=${expiry}` : ''}`; localStorage.setItem(localStorageKeys.USERNAME, username); }; +/** + * Removed the browsers cookie, causing user to be logged out + */ export const logout = () => { document.cookie = 'authenticationToken=null'; localStorage.removeItem(localStorageKeys.USERNAME); @@ -57,8 +88,8 @@ export const logout = () => { * But if auth is configured, then will verify user is correctly * logged in and then check weather they are of type admin, and * return false if any conditions fail - * @param users[] : Array of users - * @returns Boolean : True if admin privileges + * @param {String[]} - Array of users + * @returns {Boolean} - True if admin privileges */ export const isUserAdmin = (users) => { if (!users || users.length === 0) return true; // Authentication not setup diff --git a/src/utils/ClickOutside.js b/src/utils/ClickOutside.js new file mode 100644 index 00000000..83bb4bbc --- /dev/null +++ b/src/utils/ClickOutside.js @@ -0,0 +1,37 @@ +/** + * A simple Vue directive to trigger an event when the user + * clicks anywhere other than the specified element. + * Used to close context menu's popup menus and tips. + */ + +const instances = []; + +function onDocumentClick(e, el, fn) { + const { target } = e; + if (el !== target && !el.contains(target)) { + fn(e); + } +} + +export default { + bind(element, binding) { + const el = element; + el.dataset.outsideClickIndex = instances.length; + + const fn = binding.value; + const click = (e) => { + onDocumentClick(e, el, fn); + }; + + document.addEventListener('click', click); + document.addEventListener('touchstart', click); + instances.push(click); + }, + unbind(el) { + if (!el.dataset) return; + const index = el.dataset.outsideClickIndex; + const handler = instances[index]; + document.removeEventListener('click', handler); + instances.splice(index, 1); + }, +}; diff --git a/src/utils/ConfigSchema.json b/src/utils/ConfigSchema.json index 1416d2c9..b47d82c5 100644 --- a/src/utils/ConfigSchema.json +++ b/src/utils/ConfigSchema.json @@ -56,8 +56,31 @@ }, "theme": { "type": "string", - "default": "Callisto", - "description": "A theme to be applied by default on first load" + "default": "callisto", + "description": "A theme to be applied by default on first load", + "examples": [ + "callisto", + "thebe", + "dracula", + "material", + "material-dark", + "colorful", + "nord", + "nord-frost", + "minimal-dark", + "minimal-light", + "matrix", + "matrix-red", + "hacker-girl", + "raspberry-jam", + "bee", + "tiger", + "material-original", + "material-dark-original", + "vaporware", + "high-contrast-dark", + "high-contrast-light" + ] }, "enableFontAwesome": { "type": "boolean", @@ -176,7 +199,12 @@ "disableServiceWorker": { "type": "boolean", "default": false, - "description": "If set to true, then service worker will not be used" + "description": "If set to true, then service workers will not be used to cache page contents" + }, + "disableContextMenu": { + "type": "boolean", + "default": false, + "description": "If set to true, custom right-click context menu will be disabled" } }, "additionalProperties": false @@ -295,7 +323,8 @@ "enum": [ "newtab", "sametab", - "iframe" + "modal", + "workspace" ], "default": "newtab", "description": "Opening method, when item is clicked" @@ -312,6 +341,14 @@ "type": "boolean", "default": false, "description": "Whether or not to display online/ offline status for this service. Will override appConfig.statusCheck" + }, + "statusCheckUrl": { + "type": "string", + "description": "If you've enabled statusCheck, and want to use a different URL to what is defined under the item, then specify it here" + }, + "statusCheckHeaders": { + "type": "object", + "description": " If you're endpoint requires any specific headers for the status checking, then define them here" } } } diff --git a/src/utils/EmojiUnicodeRegex.js b/src/utils/EmojiUnicodeRegex.js new file mode 100644 index 00000000..b6384c34 --- /dev/null +++ b/src/utils/EmojiUnicodeRegex.js @@ -0,0 +1 @@ +module.exports = /(?:[\u2700-\u27bf]|(?:\ud83c[\udde6-\uddff]){2}|[\ud800-\udbff][\udc00-\udfff]|[\u0023-\u0039]\ufe0f?\u20e3|\u3299|\u3297|\u303d|\u3030|\u24c2|\ud83c[\udd70-\udd71]|\ud83c[\udd7e-\udd7f]|\ud83c\udd8e|\ud83c[\udd91-\udd9a]|\ud83c[\udde6-\uddff]|[\ud83c[\ude01-\ude02]|\ud83c\ude1a|\ud83c\ude2f|[\ud83c[\ude32-\ude3a]|[\ud83c[\ude50-\ude51]|\u203c|\u2049|[\u25aa-\u25ab]|\u25b6|\u25c0|[\u25fb-\u25fe]|\u00a9|\u00ae|\u2122|\u2139|\ud83c\udc04|[\u2600-\u26FF]|\u2b05|\u2b06|\u2b07|\u2b1b|\u2b1c|\u2b50|\u2b55|\u231a|\u231b|\u2328|\u23cf|[\u23e9-\u23f3]|[\u23f8-\u23fa]|\ud83c\udccf|\u2934|\u2935|[\u2190-\u21ff])/; diff --git a/src/utils/defaults.js b/src/utils/defaults.js index 370d8971..7e39e47a 100644 --- a/src/utils/defaults.js +++ b/src/utils/defaults.js @@ -31,8 +31,10 @@ module.exports = { 'raspberry-jam', 'bee', 'tiger', + 'blue-purple', 'material-original', 'material-dark-original', + 'cyberpunk', 'vaporware', 'high-contrast-dark', 'high-contrast-light', diff --git a/src/utils/emojis.json b/src/utils/emojis.json new file mode 100644 index 00000000..c268e82c --- /dev/null +++ b/src/utils/emojis.json @@ -0,0 +1,1919 @@ +{ + ":family_mothers_two_girls:": "๐ฉโ๐ฉโ๐งโ๐ง", + ":family_mothers_children:": "๐ฉโ๐ฉโ๐งโ๐ฆ", + ":family_mothers_two_boys:": "๐ฉโ๐ฉโ๐ฆโ๐ฆ", + ":family_two_girls:": "๐จโ๐ฉโ๐งโ๐ง", + ":family_children:": "๐จโ๐ฉโ๐งโ๐ฆ", + ":family_two_boys:": "๐จโ๐ฉโ๐ฆโ๐ฆ", + ":family_fathers_two_girls:": "๐จโ๐จโ๐งโ๐ง", + ":family_fathers_children:": "๐จโ๐จโ๐งโ๐ฆ", + ":family_fathers_two_boys:": "๐จโ๐จโ๐ฆโ๐ฆ", + ":family_mothers_one_girl:": "๐ฉโ๐ฉโ๐ง", + ":family_mothers_one_boy:": "๐ฉโ๐ฉโ๐ฆ", + ":single_mother_two_girls:": "๐ฉโ๐งโ๐ง", + ":single_mother_two_children:": "๐ฉโ๐งโ๐ฆ", + ":single_mother_two_boys:": "๐ฉโ๐ฆโ๐ฆ", + ":family_one_girl:": "๐จโ๐ฉโ๐ง", + ":family_fathers_one_girl:": "๐จโ๐จโ๐ง", + ":family_fathers_one_boy:": "๐จโ๐จโ๐ฆ", + ":single_father_two_girls:": "๐จโ๐งโ๐ง", + ":single_father_with_children:": "๐จโ๐งโ๐ฆ", + ":single_father_two_boys:": "๐จโ๐ฆโ๐ฆ", + ":single_mother_one_girl:": "๐ฉโ๐ง", + ":single_mother_one_boy:": "๐ฉโ๐ฆ", + ":single_father_one_girl:": "๐จโ๐ง", + ":single_father_one_boy:": "๐จโ๐ฆ", + ":joy:": "๐", + ":rolling_on_the_floor_laughing:": "๐คฃ", + ":heart:": "โค๏ธ", + ":hearts:": "โฅ", + ":heart_eyes:": "๐", + ":sob:": "๐ญ", + ":blush:": "๐", + ":unamused:": "๐", + ":kissing_heart:": "๐", + ":two_hearts:": "๐", + ":smiling:": "โบ๏ธ", + ":weary:": "๐ฉ", + ":ok_hand_dark_skin_tone:": "๐๐ฟ", + ":ok_hand_medium_dark_skin_tone: ": "๐๐พ", + ":ok_hand_medium_skin_tone:": "๐๐ฝ", + ":ok_hand_medium_light_skin_tone:": "๐๐ผ", + ":ok_hand_light_skin_tone:": "๐๐ป", + ":ok_hand:": "๐", + ":pensive:": "๐", + ":smirk:": "๐", + ":grin:": "๐", + ":recycle:": "โป๏ธ", + ":wink:": "๐", + ":thumbsup_dark_skin_tone:": "๐๐ฟ", + ":thumbsup_medium_dark_skin_tone:": "๐๐พ", + ":thumbsup_medium_skin_tone:": "๐๐ฝ", + ":thumbsup_medium_light_skin_tone:": "๐๐ผ", + ":thumbsup_light_skin_tone:": "๐๐ป", + ":thumbsup:": "๐", + ":pray_dark_skin_tone:": "๐๐ฟ", + ":pray_medium_dark_skin_tone:": "๐๐พ", + ":pray_medium_skin_skin_tone:": "๐๐ฝ", + ":pray_medium_light_skin_skin_tone:": "๐๐ผ", + ":pray_light_skin_skin_tone:": "๐๐ป", + ":pray:": "๐", + ":relieved:": "๐", + ":notes:": "๐ถ", + ":flushed:": "๐ณ", + ":raised_hands_medium_dark_skin_tone:": "๐๐พ", + ":raised_hands_medium_skin_tone:": "๐๐ฝ", + ":raised_hands_medium_light_skin_tone:": "๐๐ผ", + ":raised_hands_light_skin_tone:": "๐๐ป", + ":raised_hands:": "๐", + ":see_no_evil:": "๐", + ":cry:": "๐ข", + ":sunglasses:": "๐", + ":v_dark_skin_tone:": "โ๐ฟ", + ":v_medium_dark_skin_tone:": "โ๐พ", + ":v_medium_skin_tone:": "โ๐ฝ", + ":v_medium_light_skin_tone:": "โ๐ผ", + ":v_light_skin_tone:": "โ๐ป", + ":v:": "โ๏ธ", + ":eyes:": "๐", + ":sweat_smile:": "๐ ", + ":sparkles:": "โจ", + ":sleeping:": "๐ด", + ":smile:": "๐", + ":purple_heart:": "๐", + ":broken_heart:": "๐", + ":100:": "๐ฏ", + ":expressionless:": "๐", + ":sparkling_heart:": "๐", + ":blue_heart:": "๐", + ":confused:": "๐", + ":man_tip_hand_dark_skin_tone:": "๐๐ฟโโ", + ":man_tip_hand_medium_dark_skin_tone:": "๐๐พโโ", + ":man_tip_hand_medium_skin_tone:": "๐๐ฝโโ", + ":man_tip_hand_medium_light_skin_tone:": "๐๐ผโโ", + ":man_tip_hand_light_skin_tone:": "๐๐ปโโ", + ":person_tip_hand:": "๐โโ", + ":information_desk_person_dark_skin_tone:": "๐๐ฟ", + ":information_desk_person_medium_dark_skin_tone:": "๐๐พ", + ":information_desk_person_medium_skin_tone:": "๐๐ฝ", + ":information_desk_person_medium_light_skin_tone:": "๐๐ผ", + ":information_desk_person_light_skin_tone:": "๐๐ป", + ":information_desk_person:": "๐", + ":stuck_out_tongue_winking_eye:": "๐", + ":disappointed:": "๐", + ":yum:": "๐", + ":neutral_face:": "๐", + ":sleepy:": "๐ช", + ":clap_dark_skin_tone:": "๐๐ฟ", + ":clap_medium_dark_skin_tone:": "๐๐พ", + ":clap_medium_skin_tone:": "๐๐ฝ", + ":clap_medium_light_skin_tone:": "๐๐ผ", + ":clap_light_skin_tone:": "๐๐ป", + ":clap:": "๐", + ":cupid:": "๐", + ":heartpulse:": "๐", + ":revolving_hearts:": "๐", + ":arrow_left:": "โฌ ๏ธ", + ":speak_no_evil:": "๐", + ":raised_hand_dark_skin_tone:": "โ๐ฟ", + ":raised_hand_medium_dark_skin_tone:": "โ๐พ", + ":raised_hand_medium_skin_tone:": "โ๐ฝ", + ":raised_hand_medium_light_skin_tone:": "โ๐ผ", + ":raised_hand_light_skin_tone:": "โ๐ป", + ":raised_hand:": "โ", + ":kiss:": "๐", + ":point_right_dark_skin_tone:": "๐๐ฟ", + ":point_right_medium_dark_skin_tone:": "๐๐พ", + ":point_right_medium_skin_tone:": "๐๐ฝ", + ":point_right_medium_light_skin_tone:": "๐๐ผ", + ":point_right_light_skin_tone:": "๐๐ป", + ":point_right:": "๐", + ":cherry_blossom:": "๐ธ", + ":scream:": "๐ฑ", + ":fire:": "๐ฅ", + ":rage:": "๐ก", + ":smiley:": "๐", + ":part_popper:": "๐", + ":punch_dark_skin_tone:": "๐๐ฟ", + ":punch_medium_dark_skin_tone:": "๐๐พ", + ":punch_medium_skin_tone:": "๐๐ฝ", + ":punch_medium_light_skin_tone:": "๐๐ผ", + ":punch_light_skin_tone:": "๐๐ป", + ":punch:": "๐", + ":tired_face:": "๐ซ", + ":camera:": "๐ท", + ":rose:": "๐น", + ":stuck_out_tongue_closed_eyes:": "๐", + ":muscle_dark_skin_tone:": "๐ช๐ฟ", + ":muscle_medium_dark_skin_tone:": "๐ช๐พ", + ":muscle_medium_skin_tone:": "๐ช๐ฝ", + ":muscle_medium_light_skin_tone:": "๐ช๐ผ", + ":muscle_light_skin_tone:": "๐ช๐ป", + ":muscle:": "๐ช", + ":skull:": "๐", + ":sunny:": "โ๏ธ", + ":yellow_heart:": "๐", + ":triumph:": "๐ค", + ":new_moon_with_face:": "๐", + ":laughing:": "๐", + ":sweat:": "๐", + ":point_left_dark_skin_tone:": "๐๐ฟ", + ":point_left_medium_dark_skin_tone:": "๐๐พ", + ":point_left_medium_skin_tone:": "๐๐ฝ", + ":point_left_medium_light_skin_tone:": "๐๐ผ", + ":point_left_light_skin_tone:": "๐๐ป", + ":point_left:": "๐", + ":heavy_check_mark:": "โ๏ธ", + ":heart_eyes_cat:": "๐ป", + ":grinning:": "๐", + ":mask:": "๐ท", + ":green_heart:": "๐", + ":wave_dark_skin_tone:": "๐๐ฟ", + ":wave_medium_dark_skin_tone:": "๐๐พ", + ":wave_medium_skin_tone:": "๐๐ฝ", + ":wave_medium_light_skin_tone:": "๐๐ผ", + ":wave_light_skin_tone:": "๐๐ป", + ":wave:": "๐", + ":persevere:": "๐ฃ", + ":heartbeat:": "๐", + ":arrow_forward:": "โถ๏ธ", + ":arrow_backward:": "โ๏ธ", + ":arrow_right_hook:": "โช๏ธ", + ":leftwards_arrow_with_hook:": "โฉ๏ธ", + ":crown:": "๐", + ":kissing_closed_eyes:": "๐", + ":stuck_out_tongue:": "๐", + ":disappointed_relieved:": "๐ฅ", + ":innocent:": "๐", + ":headphones:": "๐ง", + ":white_check_mark:": "โ ", + ":confounded:": "๐", + ":arrow_right:": "โก๏ธ", + ":angry:": "๐ ", + ":grimacing:": "๐ฌ", + ":star2:": "๐", + ":gun:": "๐ซ", + ":man_raising_hand_dark_skin_tone:": "๐๐ฟโโ", + ":man_raising_hand_medium_dark_skin_tone:": "๐๐พโโ", + ":man_raising_hand_medium_skin_tone:": "๐๐ฝโโ", + ":man_raising_hand_medium_light_skin_tone:": "๐๐ผโโ", + ":man_raising_hand_light_skin_tone:": "๐๐ปโโ", + ":man_raising_hand:": "๐โโ", + ":person_raising_hand_dark_skin_tone:": "๐๐ฟ", + ":person_raising_hand_medium_dark_skin_tone:": "๐๐พ", + ":person_raising_hand_medium_skin_tone:": "๐๐ฝ", + ":person_raising_hand_medium_light_skin_tone:": "๐๐ผ", + ":person_raising_hand_light_skin_tone:": "๐๐ป", + ":person_raising_hand:": "๐", + ":thumbsdown_dark_skin_tone:": "๐๐ฟ", + ":thumbsdown_medium_dark_skin_tone:": "๐๐พ", + ":thumbsdown_medium_skin_tone:": "๐๐ฝ", + ":thumbsdown_medium_light_skin_tone:": "๐๐ผ", + ":thumbsdown_light_skin_tone:": "๐๐ป", + ":thumbsdown:": "๐", + ":dancer_dark_skin_tone:": "๐๐ฟ", + ":dancer_medium_dark_skin_tone:": "๐๐พ", + ":dancer_medium_skin_tone:": "๐๐ฝ", + ":dancer_medium_light_skin_tone:": "๐๐ผ", + ":dancer_light_skin_tone:": "๐๐ป", + ":dancer:": "๐", + ":musical_note:": "๐ต", + ":no_mouth:": "๐ถ", + ":dizzy:": "๐ซ", + ":fist_dark_skin_tone:": "โ๐ฟ", + ":fist_medium_dark_skin_tone:": "โ๐พ", + ":fist_medium_skin_tone:": "โ๐ฝ", + ":fist_medium_light_skin_tone:": "โ๐ผ", + ":fist_light_skin_tone:": "โ๐ป", + ":fist:": "โ", + ":point_down_dark_skin_tone:": "๐๐ฟ", + ":point_down_medium_dark_skin_tone:": "๐๐พ", + ":point_down_medium_skin_tone:": "๐๐ฝ", + ":point_down_medium_light_skin_tone:": "๐๐ผ", + ":point_down_light_skin_tone:": "๐๐ป", + ":point_down:": "๐", + ":red_circle:": "๐ด", + ":man_no_good_dark_skin_tone:": "๐ ๐ฟโโ", + ":man_no_good_medium_dark_skin_tone:": "๐ ๐พโโ", + ":man_no_good_medium_skin_tone:": "๐ ๐ฝโโ", + ":man_no_good_medium_light_skin_tone:": "๐ ๐ผโโ", + ":man_no_good_light_skin_tone:": "๐ ๐ปโโ", + ":man_no_good:": "๐ โโ", + ":no_good_dark_skin_tone:": "๐ ๐ฟ", + ":no_good_medium_dark_skin_tone:": "๐ ๐พ", + ":no_good_medium_skin_tone:": "๐ ๐ฝ", + ":no_good_medium_light_skin_tone:": "๐ ๐ผ", + ":no_good_light_skin_tone:": "๐ ๐ป", + ":no_good:": "๐ ", + ":boom:": "๐ฅ", + ":copyright:": "ยฉ", + ":thought_balloon:": "๐ญ", + ":tongue:": "๐ ", + ":poop:": "๐ฉ", + ":cold_sweat:": "๐ฐ", + ":gem:": "๐", + ":ok_man_dark_skin_tone:": "๐๐ฟโโ", + ":ok_man_medium_dark_skin_tone:": "๐๐พโโ", + ":ok_man_medium_skin_tone:": "๐๐ฝโโ", + ":ok_man_medium_light_skin_tone:": "๐๐ผโโ", + ":ok_man_light_skin_tone:": "๐๐ปโโ", + ":ok_man:": "๐โโ", + ":ok_woman_dark_skin_tone:": "๐๐ฟ", + ":ok_woman_medium_dark_skin_tone:": "๐๐พ", + ":ok_woman_medium_skin_tone:": "๐๐ฝ", + ":ok_woman_medium_light_skin_tone:": "๐๐ผ", + ":ok_woman_light_skin_tone:": "๐๐ป", + ":ok_woman:": "๐", + ":pizza:": "๐", + ":joy_cat:": "๐น", + ":sun_with_face:": "๐", + ":leaves:": "๐", + ":sweat_drops:": "๐ฆ", + ":penguin:": "๐ง", + ":zzz:": "๐ค", + ":woman_walking_dark_skin_tone:": "๐ถ๐ฟโโ", + ":woman_walking_medium_dark_skin_tone:": "๐ถ๐พโโ", + ":woman_walking_medium_skin_tone:": "๐ถ๐ฝโโ", + ":woman_walking_medium_light_skin_tone:": "๐ถ๐ผโโ", + ":woman_walking_light_skin_tone:": "๐ถ๐ปโโ", + ":woman_walking:": "๐ถโโ", + ":walking_dark_skin_tone:": "๐ถ๐ฟ", + ":walking_medium_dark_skin_tone:": "๐ถ๐พ", + ":walking_medium_skin_tone:": "๐ถ๐ฝ", + ":walking_medium_light_skin_tone:": "๐ถ๐ผ", + ":walking_light_skin_tone:": "๐ถ๐ป", + ":walking:": "๐ถ", + ":airplane:": "โ๏ธ", + ":balloon:": "๐", + ":star:": "โญ๏ธ", + ":ribbon:": "๐", + ":ballot_box_with_check:": "โ๏ธ", + ":worried:": "๐", + ":underage:": "๐", + ":fearful:": "๐จ", + ":four_leaf_clover:": "๐", + ":hibiscus:": "๐บ", + ":microphone:": "๐ค", + ":open_hands_dark_skin_tone:": "๐๐ฟ", + ":open_hands_medium_dark_skin_tone:": "๐๐พ", + ":open_hands_medium_skin_tone:": "๐๐ฝ", + ":open_hands_medium_light_skin_tone:": "๐๐ผ", + ":open_hands_light_skin_tone:": "๐๐ป", + ":open_hands:": "๐", + ":ghost:": "๐ป", + ":palm_tree:": "๐ด", + ":bangbang:": "โผ๏ธ", + ":nail_care_dark_skin_tone:": "๐ ๐ฟ", + ":nail_care_medium_dark_skin_tone:": "๐ ๐พ", + ":nail_care_medium_skin_tone:": "๐ ๐ฝ", + ":nail_care_medium_light_skin_tone:": "๐ ๐ผ", + ":nail_care_light_skin_tone:": "๐ ๐ป", + ":nail_care:": "๐ ", + ":x:": "โ", + ":alien:": "๐ฝ", + ":bow_dark_skin_tone:": "๐๐ฟ", + ":bow_medium_dark_skin_tone:": "๐๐พ", + ":bow_medium_skin_tone:": "๐๐ฝ", + ":bow_medium_light_skin_tone:": "๐๐ผ", + ":bow_light_skin_tone:": "๐๐ป", + ":bow:": "๐", + ":cloud:": "โ๏ธ", + ":soccer:": "โฝ๏ธ", + ":angel_dark_skin_tone:": "๐ผ๐ฟ", + ":angel_medium_dark_skin_tone:": "๐ผ๐พ", + ":angel_medium_skin_tone:": "๐ผ๐ฝ", + ":angel_medium_light_skin_tone:": "๐ผ๐ผ", + ":angel_light_skin_tone:": "๐ผ๐ป", + ":angel:": "๐ผ", + ":man_dancers:": "๐ฏโโ", + ":dancers:": "๐ฏ", + ":exclamation:": "โ", + ":snowflake:": "โ๏ธ", + ":point_up_dark_skin_tone:": "โ๐ฟ", + ":point_up_medium_dark_skin_tone:": "โ๐พ", + ":point_up_medium_skin_tone:": "โ๐ฝ", + ":point_up_medium_light_skin_tone:": "โ๐ผ", + ":point_up_light_skin_tone:": "โ๐ป", + ":point_up:": "โ๏ธ", + ":kissing_smiling_eyes:": "๐", + ":rainbow:": "๐", + ":crescent_moon:": "๐", + ":heart_decoration:": "๐", + ":gift_heart:": "๐", + ":gift:": "๐", + ":beers:": "๐ป", + ":anguished:": "๐ง", + ":earth_africa:": "๐", + ":movie_camera:": "๐ฅ", + ":anchor:": "โ๏ธ", + ":zap:": "โก๏ธ", + ":clubs:": "โฃ", + ":heavy_multiplication_x:": "โ๏ธ", + ":woman_runner_dark_skin_tone:": "๐๐ฟโโ", + ":woman_runner_medium_dark_skin_tone:": "๐๐พโโ", + ":woman_runner_medium_skin_tone:": "๐๐ฝโโ", + ":woman_runner_medium_light_skin_tone:": "๐๐ผโโ", + ":woman_runner_light_skin_tone:": "๐๐ปโโ", + ":woman_runner": "๐โโ", + ":runner_dark_skin_tone:": "๐๐ฟ", + ":runner_medium_dark_skin_tone:": "๐๐พ", + ":runner_medium_skin_tone:": "๐๐ฝ", + ":runner_medium_light_skin_tone:": "๐๐ผ", + ":runner_light_skin_tone:": "๐๐ป", + ":runner:": "๐", + ":sunflower:": "๐ป", + ":earth_americas:": "๐", + ":bouquet:": "๐", + ":dog:": "๐ถ", + ":moneybag:": "๐ฐ", + ":herb:": "๐ฟ", + ":couple:": "๐ซ", + ":fallen_leaf:": "๐", + ":tulip:": "๐ท", + ":birthday:": "๐", + ":cat:": "๐ฑ", + ":coffee:": "โ๏ธ", + ":dizzy_face:": "๐ต", + ":point_up2_dark_skin_tone:": "๐๐ฟ", + ":point_up2_medium_dark_skin_tone:": "๐๐พ", + ":point_up2_medium_skin_tone:": "๐๐ฝ", + ":point_up2_medium_light_skin_tone:": "๐๐ผ", + ":point_up2_light_skin_tone:": "๐๐ป", + ":point_up_2:": "๐", + ":open_mouth:": "๐ฎ", + ":hushed:": "๐ฏ", + ":basketball:": "๐", + ":christmas_tree:": "๐", + ":ring:": "๐", + ":full_moon_with_face:": "๐", + ":astonished:": "๐ฒ", + ":two_women_holding_hands:": "๐ญ", + ":money_with_wings:": "๐ธ", + ":crying_cat_face:": "๐ฟ", + ":hear_no_evil:": "๐", + ":dash:": "๐จ", + ":cactus:": "๐ต", + ":hotsprings:": "โจ๏ธ", + ":telephone:": "โ๏ธ", + ":maple_leaf:": "๐", + ":princess_dark_skin_tone:": "๐ธ๐ฟ", + ":princess_medium_dark_skin_tone:": "๐ธ๐พ", + ":princess_medium_skin_tone:": "๐ธ๐ป", + ":princess_medium_light_skin_tone:": "๐ธ๐ผ", + ":princess:": "๐ธ", + ":man_massage_dark_skin_tone:": "๐๐ฟโโ", + ":man_massage_medium_dark_skin_tone:": "๐๐พโโ", + ":man_massage_medium_skin_tone:": "๐๐ปโโ", + ":man_massage_medium_light_skin_tone:": "๐๐ผโโ", + ":man_massage:": "๐โโ", + ":massage_dark_skin_tone:": "๐๐ฟ", + ":massage_medium_dark_skin_tone:": "๐๐พ", + ":massage_medium_skin_tone:": "๐๐ป", + ":massage_medium_light_skin_tone:": "๐๐ผ", + ":massage:": "๐", + ":love_letter:": "๐", + ":trophy:": "๐", + ":man_frowning_dark_skin_tone:": "๐๐ฟโโ", + ":man_frowning_medium_dark_skin_tone:": "๐๐พโโ", + ":man_frowning_medium_skin_tone:": "๐๐ฝโโ", + ":man_frowning_medium_light_skin_tone:": "๐๐ผโโ", + ":man_frowning_light_skin_tone:": "๐๐ปโโ", + ":man_frowning:": "๐โโ", + ":person_frowning_dark_skin_tone:": "๐๐ฟ", + ":person_frowning_medium_dark_skin_tone:": "๐๐พ", + ":person_frowning_medium_skin_tone:": "๐๐ฝ", + ":person_frowning_medium_light_skin_tone:": "๐๐ผ", + ":person_frowning_light_skin_tone:": "๐๐ป", + ":person_frowning:": "๐", + ":flag_us:": "๐บ๐ธ", + ":confetti_ball:": "๐", + ":blossom:": "๐ผ", + ":knife:": "๐ช", + ":lips:": "๐", + ":fries:": "๐", + ":doughnut:": "๐ฉ", + ":frowning:": "๐ฆ", + ":ocean:": "๐", + ":bomb:": "๐ฃ", + ":ok:": "๐", + ":cyclone:": "๐", + ":rocket:": "๐", + ":umbrella:": "โ๏ธ", + ":couplekiss:": "๐ฉโโค๏ธโ๐โ๐จ", + ":couple_woman_kiss:": "๐ฉโโค๏ธโ๐โ๐ฉ", + ":couple_man_kiss:": "๐จโโค๏ธโ๐โ๐จ", + ":couple_with_heart:": "๐ฉโโค๏ธโ๐จ", + ":girl_girl_love:": "๐ฉโโค๏ธโ๐ฉ", + ":man_man_love:": "๐จโโค๏ธโ๐จ", + ":lollipop:": "๐ญ", + ":clapper:": "๐ฌ", + ":pig:": "๐ท", + ":smiling_imp:": "๐", + ":imp:": "๐ฟ", + ":bee:": "๐", + ":kissing_cat:": "๐ฝ", + ":anger:": "๐ข", + ":musical_score:": "๐ผ", + ":santa_dark_skin_tone:": "๐ ๐ฟ", + ":santa_medium_dark_skin_tone:": "๐ ๐พ", + ":santa_medium_skin_tone:": "๐ ๐ฝ", + ":santa_medium_light_skin_tone:": "๐ ๐ผ", + ":santa_light_skin_tone:": "๐ ๐ป", + ":santa:": "๐ ", + ":earth_asia:": "๐", + ":football:": "๐", + ":guitar:": "๐ธ", + ":diamonds:": "โฆ", + ":panda_face:": "๐ผ", + ":speech_balloon:": "๐ฌ", + ":strawberry:": "๐", + ":smirk_cat:": "๐ผ", + ":banana:": "๐", + ":watermelon:": "๐", + ":snowman:": "โ๏ธ", + ":smile_cat:": "๐ธ", + ":spades:": "โ ", + ":top:": "๐", + ":eggplant:": "๐", + ":crystal_ball:": "๐ฎ", + ":fork_and_knife:": "๐ด", + ":calling:": "๐ฒ", + ":iphone:": "๐ฑ", + ":partly_sunny:": "โ ๏ธ", + ":warning:": "โ ๏ธ", + ":scream_cat:": "๐", + ":small_orange_diamond:": "๐ธ", + ":baby_dark_skin_tone:": "๐ถ๐ฟ", + ":baby_medium_dark_skin_tone:": "๐ถ๐พ", + ":baby_medium_skin_tone:": "๐ถ๐ฝ", + ":baby_medium_light_skin_tone:": "๐ถ๐ผ", + ":baby_light_skin_tone:": "๐ถ๐ป", + ":baby:": "๐ถ", + ":feet:": "๐พ", + ":footprints:": "๐ฃ", + ":beer:": "๐บ", + ":wine_glass:": "๐ท", + ":o:": "โญ๏ธ", + ":video_camera:": "๐น", + ":rabbit:": "๐ฐ", + ":tropical_drink:": "๐น", + ":smoking:": "๐ฌ", + ":space_invader:": "๐พ", + ":peach:": "๐", + ":snake:": "๐", + ":turtle:": "๐ข", + ":cherries:": "๐", + ":kissing:": "๐", + ":frog:": "๐ธ", + ":milky_way:": "๐", + ":rotating_light:": "๐จ", + ":hatching_chick:": "๐ฃ", + ":closed_book:": "๐", + ":candy:": "๐ฌ", + ":hamburger:": "๐", + ":bear:": "๐ป", + ":tiger:": "๐ฏ", + ":red_car:": "๐", + ":fast_forward:": "โฉ", + ":icecream:": "๐ฆ", + ":pineapple:": "๐", + ":ear_of_rice:": "๐พ", + ":syringe:": "๐", + ":put_litter_in_its_place:": "๐ฎ", + ":chocolate_bar:": "๐ซ", + ":black_small_square:": "โช๏ธ", + ":tv:": "๐บ", + ":pill:": "๐", + ":octopus:": "๐", + ":jack_o_lantern:": "๐", + ":grapes:": "๐", + ":smiley_cat:": "๐บ", + ":cd:": "๐ฟ", + ":cocktail:": "๐ธ", + ":cake:": "๐ฐ", + ":video_game:": "๐ฎ", + ":tm:": "โข", + ":arrow_down:": "โฌ๏ธ", + ":no_entry_sign:": "๐ซ", + ":lipstick:": "๐", + ":whale:": "๐ณ", + ":pencil:": "๐", + ":registered:": "ยฎ", + ":cookie:": "๐ช", + ":dolphin:": "๐ฌ", + ":loud_sound:": "๐", + ":man_dark_skin_tone:": "๐จ๐ฟ", + ":man_medium_dark_skin_tone:": "๐จ๐พ", + ":man_medium_skin_tone:": "๐จ๐ฝ", + ":man_medium_light_skin_tone:": "๐จ๐ผ", + ":man_light_skin_tone:": "๐จ๐ป", + ":man:": "๐จ", + ":hatched_chick:": "๐ฅ", + ":monkey:": "๐", + ":books:": "๐", + ":japanese_ogre:": "๐น", + ":woman_guardsman_dark_skin_tone:": "๐๐ฟโโ", + ":woman_guardsman_medium_dark_skin_tone:": "๐๐พโโ", + ":woman_guardsman_medium_skin_tone:": "๐๐ฝโโ", + ":woman_guardsman_medium_light_skin_tone:": "๐๐ผโโ", + ":woman_guardsman_light_skin_tone:": "๐๐ปโโ", + ":woman_guardsman:": "๐โโ", + ":guardsman_dark_skin_tone:": "๐๐ฟ", + ":guardsman_medium_dark_skin_tone:": "๐๐พ", + ":guardsman_medium_skin_tone:": "๐๐ฝ", + ":guardsman_medium_light_skin_tone:": "๐๐ผ", + ":guardsman_light_skin_tone:": "๐๐ป", + ":guardsman:": "๐", + ":loudspeaker:": "๐ข", + ":scissors:": "โ๏ธ", + ":girl_dark_skin_tone:": "๐ง๐ฟ", + ":girl_medium_dark_skin_tone:": "๐ง๐พ", + ":girl_medium_skin_tone:": "๐ง๐ฝ", + ":girl_medium_light_skin_tone:": "๐ง๐ผ", + ":girl_light_skin_tone:": "๐ง๐ป", + ":girl:": "๐ง", + ":mortar_board:": "๐", + ":flag_fr:": "๐ซ๐ท", + ":baseball:": "โพ๏ธ", + ":vertical_traffic_light:": "๐ฆ", + ":woman_dark_skin_tone:": "๐ฉ๐ฟ", + ":woman_medium_dark_skin_tone:": "๐ฉ๐พ", + ":woman_medium_skin_tone:": "๐ฉ๐ฝ", + ":woman_medium_light_skin_tone:": "๐ฉ๐ผ", + ":woman_light_skin_tone:": "๐ฉ๐ป", + ":woman:": "๐ฉ", + ":fireworks:": "๐", + ":stars:": "๐ ", + ":sos:": "๐", + ":mushroom:": "๐", + ":pouting_cat:": "๐พ", + ":left_luggage:": "๐ ", + ":high_heel:": "๐ ", + ":dart:": "๐ฏ", + ":man_swimmer_dark_skin_tone:": "๐๐ฟโโ", + ":man_swimmer_medium_dark_skin_tone:": "๐๐พโโ", + ":woman_swimmer_medium_skin_tone:": "๐๐ฝโโ", + ":woman_swimmer_medium_light_skin_tone:": "๐๐ผโโ", + ":woman_swimmer_light_skin_tone:": "๐๐ปโโ", + ":woman_swimmer:": "๐โโ", + ":swimmer_dark_skin_tone:": "๐๐ฟ", + ":swimmer_medium_dark_skin_tone:": "๐๐พ", + ":swimmer_medium_skin_tone:": "๐๐ฝ", + ":swimmer_medium_light_skin_tone:": "๐๐ผ", + ":swimmer_light_skin_tone:": "๐๐ป", + ":swimmer:": "๐โโ๏ธ", + ":key:": "๐", + ":bikini:": "๐", + ":family:": "๐จโ๐ฉโ๐ฆ", + ":pencil2:": "โ๏ธ", + ":elephant:": "๐", + ":droplet:": "๐ง", + ":seedling:": "๐ฑ", + ":apple:": "๐", + ":cool:": "๐", + ":telephone_receiver:": "๐", + ":dollar:": "๐ต", + ":house_with_garden:": "๐ก", + ":book:": "๐", + ":man_haircut_dark_skin_tone:": "๐๐ฟโโ", + ":man_haircut_medium_dark_skin_tone:": "๐๐พโโ", + ":man_haircut_medium_skin_tone:": "๐๐ฝโโ", + ":man_haircut_medium_light_skin_tone:": "๐๐ผโโ", + ":man_haircut_light_skin_tone:": "๐๐ปโโ", + ":man_haircut:": "๐โโ", + ":haircut_dark_skin_tone:": "๐๐ฟ", + ":haircut_medium_dark_skin_tone:": "๐๐พ", + ":haircut_medium_skin_tone:": "๐๐ฝ", + ":haircut_medium_light_skin_tone:": "๐๐ผ", + ":haircut_light_skin_tone:": "๐๐ป", + ":haircut:": "๐", + ":computer:": "๐ป", + ":bulb:": "๐ก", + ":question:": "โ", + ":back:": "๐", + ":boy_dark_skin_tone:": "๐ฆ๐ฟ", + ":boy_medium_dark_skin_tone:": "๐ฆ๐พ", + ":boy_medium_skin_tone:": "๐ฆ๐ฝ", + ":boy_medium_light_skin_tone:": "๐ฆ๐ผ", + ":boy_light_skin_tone:": "๐ฆ๐ป", + ":boy:": "๐ฆ", + ":closed_lock_with_key:": "๐", + ":man_pouting_dark_skin_tone:": "๐๐ฟโโ", + ":man_pouting_medium_dark_skin_tone:": "๐๐พโโ", + ":man_pouting_medium_skin_tone:": "๐๐ฝโโ", + ":man_pouting_medium_light_skin_tone:": "๐๐ผโโ", + ":man_pouting_light_skin_tone:": "๐๐ปโโ", + ":man_pouting:": "๐โโ", + ":pouting_dark_skin_tone:": "๐๐ฟ", + ":pouting_medium_dark_skin_tone:": "๐๐พ", + ":pouting_medium_skin_tone:": "๐๐ฝ", + ":pouting_medium_light_skin_tone:": "๐๐ผ", + ":pouting_light_skin_tone:": "๐๐ป", + ":pouting:": "๐", + ":tangerine:": "๐", + ":left_right_arrow:": "โ", + ":sunrise:": "๐ ", + ":poultry_leg:": "๐", + ":blue_circle:": "๐ต", + ":oncoming_automobile:": "๐", + ":shaved_ice:": "๐ง", + ":flag_it:": "๐ฎ๐น", + ":bird:": "๐ฆ", + ":flag_gb:": "๐ฌ๐ง", + ":first_quarter_moon_with_face:": "๐", + ":eyeglasses:": "๐", + ":goat:": "๐", + ":night_with_stars:": "๐", + ":older_woman_dark_skin_tone:": "๐ต๐ฟ", + ":older_woman_medium_dark_skin_tone:": "๐ต๐พ", + ":older_woman_medium_skin_tone:": "๐ต๐ฝ", + ":older_woman_medium_light_skin_tone:": "๐ต๐ผ", + ":older_woman_light_skin_tone:": "๐ต๐ป", + ":older_woman:": "๐ต", + ":black_circle:": "โซ๏ธ", + ":new_moon:": "๐", + ":two_men_holding_hands:": "๐ฌ", + ":white_circle:": "โช๏ธ", + ":customs:": "๐", + ":tropical_fish:": "๐ ", + ":house:": "๐ ", + ":arrows_clockwise:": "๐", + ":last_quarter_moon_with_face:": "๐", + ":round_pushpin:": "๐", + ":full_moon:": "๐", + ":athletic_shoe:": "๐", + ":lemon:": "๐", + ":baby_bottle:": "๐ผ", + ":art:": "๐จ", + ":envelope:": "โ๏ธ", + ":spaghetti:": "๐", + ":wind_chime:": "๐", + ":fish_cake:": "๐ฅ", + ":evergreen_tree:": "๐ฒ", + ":up:": "๐", + ":arrow_up:": "โฌ๏ธ", + ":arrow_upper_right:": "โ๏ธ", + ":arrow_lower_right:": "โ๏ธ", + ":arrow_lower_left:": "โ๏ธ", + ":performing_arts:": "๐ญ", + ":nose_dark_skin_tone:": "๐๐ฟ", + ":nose_medium_dark_skin_tone:": "๐๐พ", + ":nose_medium_skin_tone:": "๐๐ฝ", + ":nose_medium_light_skin_tone:": "๐๐ผ", + ":nose_light_skin_tone:": "๐๐ป", + ":nose:": "๐", + ":pig_nose:": "๐ฝ", + ":fish:": "๐", + ":woman_with_turban_dark_skin_tone:": "๐ณ๐ฟโโ", + ":woman_with_turban_medium_dark_skin_tone:": "๐ณ๐พโโ", + ":woman_with_turban_medium_skin_tone:": "๐ณ๐ฝโโ", + ":woman_with_turban_medium_light_skin_tone:": "๐ณ๐ผโโ", + ":woman_with_turban_light_skin_tone:": "๐ณ๐ปโโ", + ":woman_with_turban:": "๐ณโโ", + ":person_with_turban_dark_skin_tone:": "๐ณ๐ฟ", + ":person_with_turban_medium_dark_skin_tone:": "๐ณ๐พ", + ":person_with_turban_medium_skin_tone:": "๐ณ๐ฝ", + ":person_with_turban_medium_light_skin_tone:": "๐ณ๐ผ", + ":person_with_turban_light_skin_tone:": "๐ณ๐ป", + ":person_with_turban:": "๐ณ", + ":koala:": "๐จ", + ":ear_dark_skin_tone:": "๐๐ฟ", + ":ear_medium_dark_skin_tone:": "๐๐พ", + ":ear_medium_skin_tone:": "๐๐ฝ", + ":ear_medium_light_skin_tone:": "๐๐ผ", + ":ear_light_skin_tone:": "๐๐ป", + ":ear:": "๐", + ":eight_spoked_asterisk:": "โณ๏ธ", + ":small_blue_diamond:": "๐น", + ":shower:": "๐ฟ", + ":bug:": "๐", + ":ramen:": "๐", + ":tophat:": "๐ฉ", + ":bride_with_veil_dark_skin_tone:": "๐ฐ๐ฟ", + ":bride_with_veil_medium_dark_skin_tone:": "๐ฐ๐พ", + ":bride_with_veil_medium_skin_tone:": "๐ฐ๐ฝ", + ":bride_with_veil_medium_light_skin_tone:": "๐ฐ๐ผ", + ":bride_with_veil_light_skin_tone:": "๐ฐ๐ป", + ":bride_with_veil:": "๐ฐ", + ":fuelpump:": "โฝ๏ธ", + ":checkered_flag:": "๐", + ":horse:": "๐ด", + ":watch:": "โ๏ธ", + ":monkey_face:": "๐ต", + ":baby_symbol:": "๐ผ", + ":new:": "๐", + ":free:": "๐", + ":sparkler:": "๐", + ":corn:": "๐ฝ", + ":tennis:": "๐พ", + ":alarm_clock:": "โฐ", + ":battery:": "๐", + ":grey_exclamation:": "โ", + ":wolf:": "๐บ", + ":moyai:": "๐ฟ", + ":cow:": "๐ฎ", + ":mega:": "๐ฃ", + ":older_man_dark_skin_tone:": "๐ด๐ฟ", + ":older_man_medium_dark_skin_tone:": "๐ด๐พ", + ":older_man_medium_skin_tone:": "๐ด๐ฝ", + ":older_man_medium_light_skin_tone:": "๐ด๐ผ", + ":older_man_light_skin_tone:": "๐ด๐ป", + ":older_man:": "๐ด", + ":dress:": "๐", + ":link:": "๐", + ":chicken:": "๐", + ":cooking:": "๐ณ", + ":whale2:": "๐", + ":arrow_upper_left:": "โ๏ธ", + ":deciduous_tree:": "๐ณ", + ":bento:": "๐ฑ", + ":pushpin:": "๐", + ":soon:": "๐", + ":repeat:": "๐", + ":dragon:": "๐", + ":hamster:": "๐น", + ":golf:": "โณ๏ธ", + ":woman_surfer_dark_skin_tone:": "๐๐ฟโโ", + ":woman_surfer_medium_dark_skin_tone:": "๐๐พโโ", + ":woman_surfer_medium_skin_tone:": "๐๐ฝโโ", + ":woman_surfer_medium_light_skin_tone:": "๐๐ผโโ", + ":woman_surfer_light_skin_tone:": "๐๐ปโโ", + ":woman_surfer:": "๐โโ", + ":surfer_dark_skin_tone:": "๐๐ฟ", + ":surfer_medium_dark_skin_tone:": "๐๐พ", + ":surfer_medium_skin_tone:": "๐๐ฝ", + ":surfer_medium_light_skin_tone:": "๐๐ผ", + ":surfer_light_skin_tone:": "๐๐ป", + ":surfer:": "๐โโ๏ธ", + ":mouse:": "๐ญ", + ":waxing_crescent_moon:": "๐", + ":blue_car:": "๐", + ":a:": "๐ ฐ๏ธ", + ":interrobang:": "โ๏ธ", + ":u5272:": "๐น", + ":electric_plug:": "๐", + ":first_quarter_moon:": "๐", + ":cancer:": "โ๏ธ", + ":trident:": "๐ฑ", + ":bread:": "๐", + ":woman_cop_dark_skin_tone:": "๐ฎ๐ฟโโ", + ":woman_cop_medium_dark_skin_tone:": "๐ฎ๐พโโ", + ":woman_cop_medium_skin_tone:": "๐ฎ๐ฝโโ", + ":woman_cop_medium_light_skin_tone:": "๐ฎ๐ผโโ", + ":woman_cop_light_skin_tone:": "๐ฎ๐ปโโ", + ":woman_cop:": "๐ฎโโ", + ":cop_dark_skin_tone:": "๐ฎ๐ฟ", + ":cop_medium_dark_skin_tone:": "๐ฎ๐พ", + ":cop_medium_skin_tone:": "๐ฎ๐ฝ", + ":cop_medium_light_skin_tone:": "๐ฎ๐ผ", + ":cop_light_skin_tone:": "๐ฎ๐ป", + ":cop:": "๐ฎ", + ":tea:": "๐ต", + ":fishing_pole_and_fish:": "๐ฃ", + ":waxing_gibbous_moon:": "๐", + ":bike:": "๐ฒ", + ":bust_in_silhouette:": "๐ค", + ":rice:": "๐", + ":radio:": "๐ป", + ":baby_chick:": "๐ค", + ":arrow_heading_down:": "โคต๏ธ", + ":waning_crescent_moon:": "๐", + ":arrow_up_down:": "โ๏ธ", + ":e:": "๐ช", + ":last_quarter_moon:": "๐", + ":radio_button:": "๐", + ":sheep:": "๐", + ":woman_blond_hair_dark_skin_tone:": "๐ฑ๐ฟโโ", + ":woman_blond_hair_medium_dark_skin_tone:": "๐ฑ๐พโโ", + ":woman_blond_hair_medium_skin_tone:": "๐ฑ๐ฝโโ", + ":woman_blond_hair_medium_light_skin_tone:": "๐ฑ๐ผโโ", + ":woman_blond_hair_light_skin_tone:": "๐ฑ๐ปโโ", + ":woman_blond_hair:": "๐ฑโโ", + ":blond_hair_dark_skin_tone:": "๐ฑ๐ฟ", + ":blond_hair_medium_dark_skin_tone:": "๐ฑ๐พ", + ":blond_hair_medium_skin_tone:": "๐ฑ๐ฝ", + ":blond_hair_medium_light_skin_tone:": "๐ฑ๐ผ", + ":blond_hair_light_skin_tone:": "๐ฑ๐ป", + ":blond_hair:": "๐ฑ", + ":waning_gibbous_moon:": "๐", + ":lock:": "๐", + ":green_apple:": "๐", + ":japanese_goblin:": "๐บ", + ":curly_loop:": "โฐ", + ":triangular_flag_on_post:": "๐ฉ", + ":arrows_counterclockwise:": "๐", + ":racehorse:": "๐", + ":fried_shrimp:": "๐ค", + ":sunrise_over_mountains:": "๐", + ":volcano:": "๐", + ":rooster:": "๐", + ":inbox_tray:": "๐ฅ", + ":wedding:": "๐", + ":sushi:": "๐ฃ", + ":wavy_dash:": "ใฐ๏ธ", + ":ice_cream:": "๐จ", + ":rewind:": "โช", + ":tomato:": "๐ ", + ":rabbit2:": "๐", + ":eight_pointed_black_star:": "โด๏ธ", + ":small_red_triangle:": "๐บ", + ":high_brightness:": "๐", + ":heavy_plus_sign:": "โ", + ":man_with_gua_pi_mao_dark_skin_tone:": "๐ฒ๐ฟ", + ":man_with_gua_pi_mao_medium_dark_skin_tone:": "๐ฒ๐พ", + ":man_with_gua_pi_mao_medium_skin_tone:": "๐ฒ๐ฝ", + ":man_with_gua_pi_mao_medium_light_skin_tone:": "๐ฒ๐ผ", + ":man_with_gua_pi_mao_light_skin_tone:": "๐ฒ๐ป", + ":man_with_gua_pi_mao:": "๐ฒ", + ":convenience_store:": "๐ช", + ":busts_in_silhouette:": "๐ฅ", + ":beetle:": "๐", + ":small_red_triangle_down:": "๐ป", + ":flag_de:": "๐ฉ๐ช", + ":arrow_heading_up:": "โคด๏ธ", + ":name_badge:": "๐", + ":bath_dark_skin_tone:": "๐๐ฟ", + ":bath_medium_dark_skin_tone:": "๐๐พ", + ":bath_medium_skin_tone:": "๐๐ฝ", + ":bath_medium_light_skin_tone:": "๐๐ผ", + ":bath_light_skin_tone:": "๐๐ป", + ":bath:": "๐", + ":no_entry:": "โ๏ธ", + ":crocodile:": "๐", + ":chestnut:": "๐ฐ", + ":dog2:": "๐", + ":cat2:": "๐", + ":hammer:": "๐จ", + ":meat_on_bone:": "๐", + ":shell:": "๐", + ":sparkle:": "โ๏ธ", + ":sailboat:": "โต๏ธ", + ":b:": "๐ ฑ๏ธ", + ":m:": "โ๏ธ", + ":poodle:": "๐ฉ", + ":aquarius:": "โ๏ธ", + ":stew:": "๐ฒ", + ":jeans:": "๐", + ":honey_pot:": "๐ฏ", + ":musical_keyboard:": "๐น", + ":unlock:": "๐", + ":black_nib:": "โ๏ธ", + ":statue_of_liberty:": "๐ฝ", + ":heavy_dollar_sign:": "๐ฒ", + ":snowboarder:": "๐", + ":white_flower:": "๐ฎ", + ":necktie:": "๐", + ":diamond_shape_with_a_dot_inside:": "๐ ", + ":aries:": "โ๏ธ", + ":womens:": "๐บ", + ":ant:": "๐", + ":scorpius:": "โ๏ธ", + ":city_sunset:": "๐", + ":hourglass_flowing_sand:": "โณ", + ":o2:": "๐ พ๏ธ", + ":dragon_face:": "๐ฒ", + ":snail:": "๐", + ":dvd:": "๐", + ":shirt:": "๐", + ":game_die:": "๐ฒ", + ":heavy_minus_sign:": "โ", + ":dolls:": "๐", + ":sagittarius:": "โ๏ธ", + ":8ball:": "๐ฑ", + ":bus:": "๐", + ":custard:": "๐ฎ", + ":crossed_flags:": "๐", + ":part_alternation_mark:": "ใฝ๏ธ", + ":camel:": "๐ซ", + ":curry:": "๐", + ":steam_locomotive:": "๐", + ":hospital:": "๐ฅ", + ":flag_jp:": "๐ฏ๐ต", + ":large_blue_diamond:": "๐ท", + ":tanabata_tree:": "๐", + ":bell:": "๐", + ":leo:": "โ๏ธ", + ":gemini:": "โ๏ธ", + ":pear:": "๐", + ":large_orange_diamond:": "๐ถ", + ":taurus:": "โ๏ธ", + ":globe_with_meridians:": "๐", + ":door:": "๐ช", + ":clock6:": "๐", + ":oncoming_police_car:": "๐", + ":envelope_with_arrow:": "๐ฉ", + ":closed_umbrella:": "๐", + ":saxophone:": "๐ท", + ":church:": "โช๏ธ", + ":woman_bicyclist_dark_skin_tone:": "๐ด๐ฟโโ", + ":woman_bicyclist_medium_dark_skin_tone:": "๐ด๐พโโ", + ":woman_bicyclist_medium_skin_tone:": "๐ด๐ฝโโ", + ":woman_bicyclist_medium_light_skin_tone:": "๐ด๐ผโโ", + ":woman_bicyclist_light_skin_tone:": "๐ด๐ปโโ", + ":woman_bicyclist:": "๐ดโโ", + ":bicyclist_dark_skin_tone:": "๐ด๐ฟ", + ":bicyclist_medium_dark_skin_tone:": "๐ด๐พ", + ":bicyclist_medium_skin_tone:": "๐ด๐ฝ", + ":bicyclist_medium_light_skin_tone:": "๐ด๐ผ", + ":bicyclist_light_skin_tone:": "๐ด๐ป", + ":bicyclist:": "๐ด", + ":pisces:": "โ๏ธ", + ":dango:": "๐ก", + ":capricorn:": "โ๏ธ", + ":office:": "๐ข", + ":woman_rowboat_dark_skin_tone:": "๐ฃ๐ฟโโ", + ":woman_rowboat_medium_dark_skin_tone:": "๐ฃ๐พโโ", + ":woman_rowboat_medium_skin_tone:": "๐ฃ๐ฝโโ", + ":woman_rowboat_medium_light_skin_tone:": "๐ฃ๐ผโโ", + ":woman_rowboat_light_skin_tone:": "๐ฃ๐ปโโ", + ":woman_rowboat:": "๐ฃโโ", + ":rowboat_dark_skin_tone:": "๐ฃ๐ฟ", + ":rowboat_medium_dark_skin_tone:": "๐ฃ๐พ", + ":rowboat_medium_skin_tone:": "๐ฃ๐ฝ", + ":rowboat_medium_light_skin_tone:": "๐ฃ๐ผ", + ":rowboat_light_skin_tone:": "๐ฃ๐ป", + ":rowboat:": "๐ฃ", + ":womans_hat:": "๐", + ":mans_shoe:": "๐", + ":love_hotel:": "๐ฉ", + ":mount_fuji:": "๐ป", + ":dromedary_camel:": "๐ช", + ":handbag:": "๐", + ":hourglass:": "โ๏ธ", + ":negative_squared_cross_mark:": "โ", + ":trumpet:": "๐บ", + ":school:": "๐ซ", + ":cow2:": "๐", + ":woman_construction_worker_dark_skin_tone:": "๐ท๐ฟโโ", + ":woman_construction_worker_medium_dark_skin_tone:": "๐ท๐พโโ", + ":woman_construction_worker_medium_skin_tone:": "๐ท๐ฝโโ", + ":woman_construction_worker_medium_light_skin_tone:": "๐ท๐ผโโ", + ":woman_construction_worker_light_skin_tone:": "๐ท๐ปโโ", + ":woman_construction_worker:": "๐ทโโ", + ":construction_worker_dark_skin_tone:": "๐ท๐ฟ", + ":construction_worker_medium_dark_skin_tone:": "๐ท๐พ", + ":construction_worker_medium_skin_tone:": "๐ท๐ฝ", + ":construction_worker_medium_light_skin_tone:": "๐ท๐ผ", + ":construction_worker_light_skin_tone:": "๐ท๐ป", + ":construction_worker:": "๐ท", + ":toilet:": "๐ฝ", + ":pig2:": "๐", + ":grey_question:": "โ", + ":beginner:": "๐ฐ", + ":violin:": "๐ป", + ":on:": "๐", + ":credit_card:": "๐ณ", + ":id:": "๐", + ":secret:": "ใ๏ธ", + ":ferris_wheel:": "๐ก", + ":bowling:": "๐ณ", + ":libra:": "โ๏ธ", + ":virgo:": "โ๏ธ", + ":barber:": "๐", + ":purse:": "๐", + ":roller_coaster:": "๐ข", + ":rat:": "๐", + ":date:": "๐ ", + ":rugby_football:": "๐", + ":ram:": "๐", + ":arrow_up_small:": "๐ผ", + ":black_square_button:": "๐ฒ", + ":mobile_phone_off:": "๐ด", + ":tokyo_tower:": "๐ผ", + ":congratulations:": "ใ๏ธ", + ":kimono:": "๐", + ":flag_ru:": "๐ท๐บ", + ":ship:": "๐ข", + ":mag_right:": "๐", + ":mag:": "๐", + ":fire_engine:": "๐", + ":clock1130:": "๐ฆ", + ":police_car:": "๐", + ":black_joker:": "๐", + ":bridge_at_night:": "๐", + ":package:": "๐ฆ", + ":oncoming_taxi:": "๐", + ":calendar:": "๐", + ":horse_racing:": "๐", + ":tiger2:": "๐ ", + ":boot:": "๐ข", + ":ambulance:": "๐", + ":white_square_button:": "๐ณ", + ":boar:": "๐", + ":school_satchel:": "๐", + ":loop:": "โฟ", + ":pound:": "๐ท", + ":information_source:": "โน๏ธ", + ":ox:": "๐", + ":rice_ball:": "๐", + ":vs:": "๐", + ":end:": "๐", + ":parking:": "๐ ฟ๏ธ", + ":sandal:": "๐ก", + ":tent:": "โบ๏ธ", + ":seat:": "๐บ", + ":taxi:": "๐", + ":black_medium_small_square:": "โพ๏ธ", + ":briefcase:": "๐ผ", + ":newspaper:": "๐ฐ", + ":circus_tent:": "๐ช", + ":six_pointed_star:": "๐ฏ", + ":mens:": "๐น", + ":european_castle:": "๐ฐ", + ":flashlight:": "๐ฆ", + ":foggy:": "๐", + ":arrow_double_up:": "โซ", + ":bamboo:": "๐", + ":ticket:": "๐ซ", + ":helicopter:": "๐", + ":minidisc:": "๐ฝ", + ":oncoming_bus:": "๐", + ":melon:": "๐", + ":white_small_square:": "โซ๏ธ", + ":european_post_office:": "๐ค", + ":keycap_ten:": "๐", + ":notebook:": "๐", + ":no_bell:": "๐", + ":oden:": "๐ข", + ":flags:": "๐", + ":carousel_horse:": "๐ ", + ":blowfish:": "๐ก", + ":chart_with_upwards_trend:": "๐", + ":sweet_potato:": "๐ ", + ":ski:": "๐ฟ", + ":clock12:": "๐", + ":signal_strength:": "๐ถ", + ":construction:": "๐ง", + ":number_sign:": "#", + ":black_medium_square:": "โผ๏ธ", + ":satellite:": "๐ฐ", + ":euro:": "๐ถ", + ":womans_clothes:": "๐", + ":ledger:": "๐", + ":leopard:": "๐", + ":low_brightness:": "๐ ", + ":clock3:": "๐", + ":department_store:": "๐ฌ", + ":truck:": "๐", + ":sake:": "๐ถ", + ":railway_car:": "๐", + ":speedboat:": "๐ค", + ":flag_kr:": "๐ฐ๐ท", + ":vhs:": "๐ผ", + ":clock1:": "๐", + ":arrow_double_down:": "โฌ", + ":water_buffalo:": "๐", + ":arrow_down_small:": "๐ฝ", + ":yen:": "๐ด", + ":mute:": "๐", + ":running_shirt_with_sash:": "๐ฝ", + ":white_large_square:": "โฌ๏ธ", + ":wheelchair:": "โฟ๏ธ", + ":clock2:": "๐", + ":paperclip:": "๐", + ":atm:": "๐ง", + ":cinema:": "๐ฆ", + ":telescope:": "๐ญ", + ":rice_scene:": "๐", + ":blue_book:": "๐", + ":white_medium_square:": "โป๏ธ", + ":postbox:": "๐ฎ", + ":e_mail:": "๐ง", + ":mouse2:": "๐", + ":bullettrain_side:": "๐", + ":ideograph_advantage:": "๐", + ":nut_and_bolt:": "๐ฉ", + ":ng:": "๐", + ":hotel:": "๐จ", + ":wc:": "๐พ", + ":izakaya_lantern:": "๐ฎ", + ":repeat_one:": "๐", + ":mailbox_with_mail:": "๐ฌ", + ":chart_with_downwards_trend:": "๐", + ":green_book:": "๐", + ":tractor:": "๐", + ":fountain:": "โฒ๏ธ", + ":metro:": "๐", + ":clipboard:": "๐", + ":no_mobile_phones:": "๐ต", + ":clock4:": "๐", + ":no_smoking:": "๐ญ", + ":black_large_square:": "โฌ๏ธ", + ":slot_machine:": "๐ฐ", + ":clock5:": "๐", + ":bathtub:": "๐", + ":scroll:": "๐", + ":station:": "๐", + ":rice_cracker:": "๐", + ":bank:": "๐ฆ", + ":wrench:": "๐ง", + ":u6307:": "๐ฏ๏ธ", + ":articulated_lorry:": "๐", + ":page_facing_up:": "๐", + ":ophiuchus:": "โ", + ":bar_chart:": "๐", + ":no_pedestrians:": "๐ท", + ":flag_cn:": "๐จ๐ณ", + ":vibration_mode:": "๐ณ", + ":clock10:": "๐", + ":clock9:": "๐", + ":bullettrain_front:": "๐ ", + ":minibus:": "๐", + ":tram:": "๐", + ":clock8:": "๐", + ":u7a7a:": "๐ณ", + ":traffic_light:": "๐ฅ", + ":woman_mountain_bicyclist_dark_skin_tone:": "๐ต๐ฟโโ", + ":woman_mountain_bicyclist_medium_dark_skin_tone:": "๐ต๐พโโ", + ":woman_mountain_bicyclist_medium_skin_tone:": "๐ต๐ฝโโ", + ":woman_mountain_bicyclist_medium_light_skin_tone:": "๐ต๐ผโโ", + ":woman_mountain_bicyclist_light_skin_tone:": "๐ต๐ปโโ", + ":woman_mountain_bicyclist:": "๐ตโโ", + ":mountain_bicyclist_dark_skin_tone:": "๐ต๐ฟ", + ":mountain_bicyclist_medium_dark_skin_tone:": "๐ต๐พ", + ":mountain_bicyclist_medium_skin_tone:": "๐ต๐ฝ", + ":mountain_bicyclist_medium_light_skin_tone:": "๐ต๐ผ", + ":mountain_bicyclist_light_skin_tone:": "๐ต๐ป", + ":mountain_bicyclist:": "๐ต", + ":microscope:": "๐ฌ", + ":japanese_castle:": "๐ฏ", + ":bookmark:": "๐", + ":bookmark_tabs:": "๐", + ":pouch:": "๐", + ":ab:": "๐", + ":page_with_curl:": "๐", + ":flower_playing_cards:": "๐ด", + ":clock11:": "๐", + ":fax:": "๐ ", + ":clock7:": "๐", + ":white_medium_small_square:": "โฝ๏ธ", + ":currency_exchange:": "๐ฑ", + ":sound:": "๐", + ":chart:": "๐น", + ":cl:": "๐", + ":floppy_disk:": "๐พ", + ":post_office:": "๐ฃ", + ":speaker:": "๐", + ":japan:": "๐พ", + ":u55b6:": "๐บ", + ":mahjong:": "๐๏ธ", + ":incoming_envelope:": "๐จ", + ":orange_book:": "๐", + ":restroom:": "๐ป", + ":u7121:": "๐๏ธ", + ":u6709:": "๐ถ", + ":triangular_ruler:": "๐", + ":train:": "๐", + ":u7533:": "๐ธ", + ":trolleybus:": "๐", + ":u6708:": "๐ท๏ธ", + ":1234:": "๐ข", + ":notebook_with_decorative_cover:": "๐", + ":u7981:": "๐ฒ", + ":u6e80:": "๐ต", + ":postal_horn:": "๐ฏ", + ":factory:": "๐ญ", + ":children_crossing:": "๐ธ", + ":train2:": "๐", + ":straight_ruler:": "๐", + ":pager:": "๐", + ":accept:": "๐", + ":u5408:": "๐ด", + ":lock_with_ink_pen:": "๐", + ":clock130:": "๐", + ":sa:": "๐๏ธ", + ":outbox_tray:": "๐ค", + ":twisted_rightwards_arrows:": "๐", + ":mailbox:": "๐ซ", + ":light_rail:": "๐", + ":clock930:": "๐ค", + ":busstop:": "๐", + ":open_file_folder:": "๐", + ":file_folder:": "๐", + ":potable_water:": "๐ฐ", + ":card_index:": "๐", + ":clock230:": "๐", + ":monorail:": "๐", + ":clock1230:": "๐ง", + ":clock1030:": "๐ฅ", + ":abc:": "๐ค", + ":mailbox_closed:": "๐ช", + ":clock430:": "๐", + ":mountain_railway:": "๐", + ":do_not_litter:": "๐ฏ", + ":clock330:": "๐", + ":heavy_division_sign:": "โ", + ":clock730:": "๐ข", + ":clock530:": "๐ ", + ":capital_abcd:": "๐ ", + ":mailbox_with_no_mail:": "๐ญ", + ":symbols:": "๐ฃ", + ":aerial_tramway:": "๐ก", + ":clock830:": "๐ฃ", + ":clock630:": "๐ก", + ":abcd:": "๐ก", + ":mountain_cableway:": "๐ ", + ":koko:": "๐", + ":passport_control:": "๐", + ":non_potable_water:": "๐ฑ", + ":suspension_railway:": "๐", + ":baggage_claim:": "๐", + ":no_bicycles:": "๐ณ", + ":rainbow_flag:": "๐ณ๏ธโ๐", + ":woman_detective_dark_skin_tone:": "๐ต๐ฟโโ", + ":woman_detective_medium_dark_skin_tone:": "๐ต๐พโโ", + ":woman_detective_medium_skin_tone:": "๐ต๐ฝโโ", + ":woman_detective_medium_light_skin_tone:": "๐ต๐ผโโ", + ":woman_detective_light_skin_tone:": "๐ต๐ปโโ", + ":woman_detective:": "๐ตโโ", + ":detective_dark_skin_tone:": "๐ต๐ฟ", + ":detective_medium_dark_skin_tone:": "๐ต๐พ", + ":detective_medium_skin_tone:": "๐ต๐ฝ", + ":detective_medium_light_skin_tone:": "๐ต๐ผ", + ":detective_light_skin_tone:": "๐ต๐ป", + ":detective:": "๐ต", + ":white_frowning_face:": "โน๏ธ", + ":skull_crossbones:": "โ ", + ":hugging:": "๐ค", + ":robot_face:": "๐ค", + ":face_with_head_bandage:": "๐ค", + ":thinking:": "๐ค", + ":nerd:": "๐ค", + ":face_with_thermometer:": "๐ค", + ":money_mouth_face:": "๐ค", + ":zipper_mouth:": "๐ค", + ":rolling_eyes:": "๐", + ":upside_down:": "๐", + ":slight_smile:": "๐", + ":slightly_frowning_face:": "๐", + ":sign_of_the_horns_dark_skin_tone:": "๐ค๐ฟ", + ":sign_of_the_horns_medium_dark_skin_tone:": "๐ค๐พ", + ":sign_of_the_horns_medium_skin_tone:": "๐ค๐ฝ", + ":sign_of_the_horns_medium_light_skin_tone:": "๐ค๐ผ", + ":sign_of_the_horns_light_skin_tone:": "๐ค๐ป", + ":sign_of_the_horns:": "๐ค", + ":spock_hand_dark_skin_tone:": "๐๐ฟ", + ":spock_hand_medium_dark_skin_tone:": "๐๐พ", + ":spock_hand_medium_skin_tone:": "๐๐ฝ", + ":spock_hand_medium_light_skin_tone:": "๐๐ผ", + ":spock_hand_light_skin_tone:": "๐๐ป", + ":spock_hand:": "๐", + ":middle_finger_dark_skin_tone:": "๐๐ฟ", + ":middle_finger_medium_dark_skin_tone:": "๐๐พ", + ":middle_finger_medium_skin_tone:": "๐๐ฝ", + ":middle_finger_medium_light_skin_tone:": "๐๐ผ", + ":middle_finger_light_skin_tone:": "๐๐ป", + ":middle_finger:": "๐", + ":raised_hand_with_fingers_splayed_dark_skin_tone:": "๐๐ฟ", + ":raised_hand_with_fingers_splayed_medium_dark_skin_tone:": "๐๐พ", + ":raised_hand_with_fingers_splayed_medium_skin_tone:": "๐๐ฝ", + ":raised_hand_with_fingers_splayed_medium_light_skin_tone:": "๐๐ผ", + ":raised_hand_with_fingers_splayed_light_skin_tone:": "๐๐ป", + ":raised_hand_with_fingers_splayed:": "๐", + ":writing_hand_dark_skin_tone:": "โ๐ฟ", + ":writing_hand_medium_dark_skin_tone:": "โ๐พ", + ":writing_hand_medium_skin_tone:": "โ๐ฝ", + ":writing_hand_medium_light_skin_tone:": "โ๐ผ", + ":writing_hand_light_skin_tone:": "โ๐ป", + ":writing_hand:": "โ๏ธ", + ":dark_sunglasses:": "๐ถ", + ":eye_speachbubble:": "๐โ๐จ", + ":eye:": "๐", + ":weightlifter_woman_dt:": "๐๐ฟโโ", + ":weightlifter_woman_mdt:": "๐๐พโโ", + ":weightlifter_woman_mt:": "๐๐ฝโโ", + ":weightlifter_woman_mlt:": "๐๐ผโโ", + ":weightlifter_woman_lt:": "๐๐ปโโ", + ":weightlifter_woman:": "๐โโ", + ":weightlifter_dt:": "๐๐ฟ", + ":weightlifter_mdt:": "๐๐พ", + ":weightlifter_mt:": "๐๐ฝ", + ":weightlifter_mlt:": "๐๐ผ", + ":weightlifter_lt:": "๐๐ป", + ":weightlifter:": "๐", + ":basketballer_woman_dt:": "โน๐ฟโโ", + ":basketballer_woman_mdt:": "โน๐พโโ", + ":basketballer_woman_mt:": "โน๐ฝโโ", + ":basketballer_woman_mlt:": "โน๐ผโโ", + ":basketballer_woman_lt:": "โน๐ปโโ", + ":basketballer_woman:": "โนโโ", + ":basketballer_darktone:": "โน๐ฟ", + ":basketballer_mediumdarktone:": "โน๐พ", + ":basketballer_mediumtone:": "โน๐ฝ", + ":basketballer_mediumlighttone:": "โน๐ผ", + ":basketballer_lt:": "โน๐ป", + ":basketballer:": "โน", + ":man_in_suit:": "๐ด", + ":golfer:": "๐๏ธโโ๏ธ", + ":golfer_woman:": "๐โโ", + "*": "*๏ธโฃ", + ":heart_exclamation:": "โฃ๏ธ", + ":star_of_david:": "โก๏ธ", + ":cross:": "โ๏ธ", + ":fleur_de_lis:": "โ๏ธ", + ":atom:": "โ", + ":wheel_of_dharma:": "โธ๏ธ", + ":yin_yang:": "โฏ๏ธ", + ":peace:": "โฎ", + ":star_and_crescent:": "โช๏ธ", + ":orthodox_cross:": "โฆ๏ธ", + ":biohazard:": "โฃ", + ":radioactive:": "โข", + ":place_of_worship:": "๐", + ":anger_right:": "๐ฏ", + ":menorah:": "๐", + ":om_symbol:": "๐", + ":funeral_urn:": "โฑ๏ธ", + ":coffin:": "โฐ๏ธ", + ":gear:": "โ๏ธ", + ":alembic:": "โ๏ธ", + ":scales:": "โ๏ธ", + ":crossed_swords:": "โ๏ธ", + ":keyboard:": "โจ๏ธ", + ":oil_drum:": "๐ข", + ":shield:": "๐ก", + ":hammer_and_wrench:": "๐ ", + ":bed:": "๐", + ":bellhop_bell:": "๐", + ":shopping_bags:": "๐", + ":sleeping_accommodation:": "๐", + ":couch_and_lamp:": "๐", + ":ballot_box:": "๐ณ", + ":dagger_knife:": "๐ก", + ":rolled_up_newspaper:": "๐", + ":old_key:": "๐", + ":compression:": "๐", + ":spiral_calendar_pad:": "๐", + ":spiral_note_pad:": "๐", + ":wastebasket:": "๐", + ":file_cabinet:": "๐", + ":card_file_box:": "๐", + ":card_index_dividers:": "๐", + ":frame_with_picture:": "๐ผ", + ":trackball:": "๐ฒ", + ":three_button_mouse:": "๐ฑ", + ":printer:": "๐จ", + ":desktop_computer:": "๐ฅ", + ":lower_left_crayon:": "๐", + ":lower_left_paintbrush:": "๐", + ":lower_left_fountain_pen:": "๐", + ":lower_left_ballpoint_pen:": "๐", + ":linked_paperclips:": "๐", + ":joystick:": "๐น", + ":hole:": "๐ณ", + ":mantelpiece_clock:": "๐ฐ", + ":candle:": "๐ฏ", + ":prayer_beads:": "๐ฟ", + ":film_projector:": "๐ฝ", + ":camera_with_flash:": "๐ธ", + ":amphora:": "๐บ", + ":label:": "๐ท", + ":flag_black:": "๐ด", + ":flag_white:": "๐ณ", + ":film_frames:": "๐", + ":control_knobs:": "๐", + ":level_slider:": "๐", + ":studio_microphone:": "๐", + ":thermometer:": "๐ก", + ":passenger_ship:": "๐ณ", + ":airplane_arriving:": "๐ฌ", + ":airplane_departure:": "๐ซ", + ":small_airplane:": "๐ฉ", + ":motor_boat:": "๐ฅ", + ":railway_track:": "๐ค", + ":motorway:": "๐ฃ", + ":world_map:": "๐บ", + ":synagogue:": "๐", + ":mosque:": "๐", + ":kaaba:": "๐", + ":stadium:": "๐", + ":national_park:": "๐", + ":desert_island:": "๐", + ":desert:": "๐", + ":classical_building:": "๐", + ":derelict_house_building:": "๐", + ":cityscape:": "๐", + ":house_buildings:": "๐", + ":building_construction:": "๐", + ":beach_with_umbrella:": "๐", + ":camping:": "๐", + ":snow_capped_mountain:": "๐", + ":racing_car:": "๐", + ":racing_motorcycle:": "๐", + ":bow_and_arrow:": "๐น", + ":badminton_racquet_and_shuttlecock:": "๐ธ", + ":rosette:": "๐ต", + ":table_tennis_paddle_and_ball:": "๐", + ":ice_hockey_stick_and_puck:": "๐", + ":field_hockey_stick_and_ball:": "๐", + ":volleyball:": "๐", + ":cricket_bat_and_ball:": "๐", + ":medal:": "๐", + ":admission_tickets:": "๐", + ":reminder_ribbon:": "๐", + ":cheese_wedge:": "๐ง", + ":popcorn:": "๐ฟ", + ":champagne:": "๐พ", + ":knife_fork_plate:": "๐ฝ", + ":hot_pepper:": "๐ถ", + ":burrito:": "๐ฏ", + ":taco:": "๐ฎ", + ":hotdog:": "๐ญ", + ":shamrock:": "โ๏ธ", + ":comet:": "โ๏ธ", + ":umbrella_with_rain_drops:": "โ๏ธ", + ":unicorn_face:": "๐ฆ", + ":turkey:": "๐ฆ", + ":scorpion:": "๐ฆ", + ":lion_face:": "๐ฆ", + ":crab:": "๐ฆ", + ":spider_web:": "๐ธ", + ":spider:": "๐ท", + ":dove_of_peace:": "๐", + ":chipmunk:": "๐ฟ", + ":wind_blowing_face:": "๐ฌ", + ":fog:": "๐ซ", + ":tornado_cloud:": "๐ช", + ":lightning_cloud:": "๐ฉ", + ":snow_cloud:": "๐จ", + ":rain_cloud:": "๐ง", + ":sun_behind_rain_cloud:": "๐ฆ", + ":sun_behind_cloud:": "๐ฅ", + ":sun_small_cloud:": "๐ค", + ":speaking_head_in_silhouette:": "๐ฃ", + ":black_circle_for_record:": "โบ", + ":black_square_for_stop:": "โน", + ":double_vertical_bar:": "โธ", + ":play_pause:": "โฏ", + ":track_previous:": "โฎ", + ":track_next:": "โญ", + ":beach_umbrella:": "โฑ", + ":chains:": "โ", + ":pick:": "โ", + ":hammer_and_pick:": "โ", + ":timer_clock:": "โฒ", + ":stopwatch:": "โฑ", + ":ferry:": "โด", + ":mountain:": "โฐ", + ":shinto_shrine:": "โฉ", + ":ice_skate:": "โธ", + ":skier:": "โท", + ":thunder_cloud_and_rain:": "โ", + ":helmet_with_white_cross": "โ", + ":flag_ac:": "๐ฆ๐จ", + ":flag_ad:": "๐ฆ๐ฉ", + ":flag_ae:": "๐ฆ๐ช", + ":flag_af:": "๐ฆ๐ซ", + ":flag_ag:": "๐ฆ๐ฌ", + ":flag_ai:": "๐ฆ๐ฎ", + ":flag_al:": "๐ฆ๐ฑ", + ":flag_am:": "๐ฆ๐ฒ", + ":flag_ao:": "๐ฆ๐ด", + ":flag_aq:": "๐ฆ๐ถ", + ":flag_ar:": "๐ฆ๐ท", + ":flag_as:": "๐ฆ๐ธ", + ":flag_at:": "๐ฆ๐น", + ":flag_au:": "๐ฆ๐บ", + ":flag_aw:": "๐ฆ๐ผ", + ":flag_ax:": "๐ฆ๐ฝ", + ":flag_az:": "๐ฆ๐ฟ", + ":flag_ba:": "๐ง๐ฆ", + ":flag_bb:": "๐ง๐ง", + ":flag_bd:": "๐ง๐ฉ", + ":flag_be:": "๐ง๐ช", + ":flag_bf:": "๐ง๐ซ", + ":flag_bg:": "๐ง๐ฌ", + ":flag_bh:": "๐ง๐ญ", + ":flag_bi:": "๐ง๐ฎ", + ":flag_bj:": "๐ง๐ฏ", + ":flag_bl:": "๐ง๐ฑ", + ":flag_bm:": "๐ง๐ฒ", + ":flag_bn:": "๐ง๐ณ", + ":flag_bo:": "๐ง๐ด", + ":flag_bq:": "๐ง๐ถ", + ":flag_br:": "๐ง๐ท", + ":flag_bs:": "๐ง๐ธ", + ":flag_bt:": "๐ง๐น", + ":flag_bv:": "๐ง๐ป", + ":flag_bw:": "๐ง๐ผ", + ":flag_by:": "๐ง๐พ", + ":flag_bz:": "๐ง๐ฟ", + ":flag_ca:": "๐จ๐ฆ", + ":flag_cc:": "๐จ๐จ", + ":flag_cd:": "๐จ๐ฉ", + ":flag_cf:": "๐จ๐ซ", + ":flag_cg:": "๐จ๐ฌ", + ":flag_ch:": "๐จ๐ญ", + ":flag_ci:": "๐จ๐ฎ", + ":flag_ck:": "๐จ๐ฐ", + ":flag_cl:": "๐จ๐ฑ", + ":flag_cm:": "๐จ๐ฒ", + ":flag_co:": "๐จ๐ด", + ":flag_cp:": "๐จ๐ต", + ":flag_cr:": "๐จ๐ท", + ":flag_cu:": "๐จ๐บ", + ":flag_cv:": "๐จ๐ป", + ":flag_cw:": "๐จ๐ผ", + ":flag_cx:": "๐จ๐ฝ", + ":flag_cy:": "๐จ๐พ", + ":flag_cz:": "๐จ๐ฟ", + ":flag_dg:": "๐ฉ๐ฌ", + ":flag_dj:": "๐ฉ๐ฏ", + ":flag_dk:": "๐ฉ๐ฐ", + ":flag_dm:": "๐ฉ๐ฒ", + ":flag_do:": "๐ฉ๐ด", + ":flag_dz:": "๐ฉ๐ฟ", + ":flag_ea:": "๐ช๐ฆ", + ":flag_ec:": "๐ช๐จ", + ":flag_ee:": "๐ช๐ช", + ":flag_eg:": "๐ช๐ฌ", + ":flag_eh:": "๐ช๐ญ", + ":flag_er:": "๐ช๐ท", + ":flag_es:": "๐ช๐ธ", + ":flag_et:": "๐ช๐น", + ":flag_eu:": "๐ช๐บ", + ":flag_fi:": "๐ซ๐ฎ", + ":flag_fj:": "๐ซ๐ฏ", + ":flag_fk:": "๐ซ๐ฐ", + ":flag_fm:": "๐ซ๐ฒ", + ":flag_fo:": "๐ซ๐ด", + ":flag_ga:": "๐ฌ๐ฆ", + ":flag_gd:": "๐ฌ๐ฉ", + ":flag_ge:": "๐ฌ๐ช", + ":flag_gf:": "๐ฌ๐ซ", + ":flag_gg:": "๐ฌ๐ฌ", + ":flag_gh:": "๐ฌ๐ญ", + ":flag_gi:": "๐ฌ๐ฎ", + ":flag_gl:": "๐ฌ๐ฑ", + ":flag_gm:": "๐ฌ๐ฒ", + ":flag_gn:": "๐ฌ๐ณ", + ":flag_gp:": "๐ฌ๐ต", + ":flag_gq:": "๐ฌ๐ถ", + ":flag_gr:": "๐ฌ๐ท", + ":flag_gs:": "๐ฌ๐ธ", + ":flag_gt:": "๐ฌ๐น", + ":flag_gu:": "๐ฌ๐บ", + ":flag_gw:": "๐ฌ๐ผ", + ":flag_gy:": "๐ฌ๐พ", + ":flag_hk:": "๐ญ๐ฐ", + ":flag_hm:": "๐ญ๐ฒ", + ":flag_hn:": "๐ญ๐ณ", + ":flag_hr:": "๐ญ๐ท", + ":flag_ht:": "๐ญ๐น", + ":flag_hu:": "๐ญ๐บ", + ":flag_ic:": "๐ฎ๐จ", + ":flag_id:": "๐ฎ๐ฉ", + ":flag_ie:": "๐ฎ๐ช", + ":flag_il:": "๐ฎ๐ฑ", + ":flag_im:": "๐ฎ๐ฒ", + ":flag_in:": "๐ฎ๐ณ", + ":flag_io:": "๐ฎ๐ด", + ":flag_iq:": "๐ฎ๐ถ", + ":flag_ir:": "๐ฎ๐ท", + ":flag_is:": "๐ฎ๐ธ", + ":flag_je:": "๐ฏ๐ช", + ":flag_jm:": "๐ฏ๐ฒ", + ":flag_jo:": "๐ฏ๐ด", + ":flag_ke:": "๐ฐ๐ช", + ":flag_kg:": "๐ฐ๐ฌ", + ":flag_kh:": "๐ฐ๐ญ", + ":flag_ki:": "๐ฐ๐ฎ", + ":flag_km:": "๐ฐ๐ฒ", + ":flag_kn:": "๐ฐ๐ณ", + ":flag_kp:": "๐ฐ๐ต", + ":flag_kw:": "๐ฐ๐ผ", + ":flag_ky:": "๐ฐ๐พ", + ":flag_kz:": "๐ฐ๐ฟ", + ":flag_la:": "๐ฑ๐ฆ", + ":flag_lb:": "๐ฑ๐ง", + ":flag_lc:": "๐ฑ๐จ", + ":flag_li:": "๐ฑ๐ฎ", + ":flag_lk:": "๐ฑ๐ฐ", + ":flag_lr:": "๐ฑ๐ท", + ":flag_ls:": "๐ฑ๐ธ", + ":flag_lt:": "๐ฑ๐น", + ":flag_lu:": "๐ฑ๐บ", + ":flag_lv:": "๐ฑ๐ป", + ":flag_ly:": "๐ฑ๐พ", + ":flag_ma:": "๐ฒ๐ฆ", + ":flag_mc:": "๐ฒ๐จ", + ":flag_md:": "๐ฒ๐ฉ", + ":flag_me:": "๐ฒ๐ช", + ":flag_mf:": "๐ฒ๐ซ", + ":flag_mg:": "๐ฒ๐ฌ", + ":flag_mh:": "๐ฒ๐ญ", + ":flag_mk:": "๐ฒ๐ฐ", + ":flag_ml:": "๐ฒ๐ฑ", + ":flag_mm:": "๐ฒ๐ฒ", + ":flag_mn:": "๐ฒ๐ณ", + ":flag_mo:": "๐ฒ๐ด", + ":flag_mp:": "๐ฒ๐ต", + ":flag_mq:": "๐ฒ๐ถ", + ":flag_mr:": "๐ฒ๐ท", + ":flag_ms:": "๐ฒ๐ธ", + ":flag_mt:": "๐ฒ๐น", + ":flag_mu:": "๐ฒ๐บ", + ":flag_mv:": "๐ฒ๐ป", + ":flag_mw:": "๐ฒ๐ผ", + ":flag_mx:": "๐ฒ๐ฝ", + ":flag_my:": "๐ฒ๐พ", + ":flag_mz:": "๐ฒ๐ฟ", + ":flag_na:": "๐ณ๐ฆ", + ":flag_nc:": "๐ณ๐จ", + ":flag_ne:": "๐ณ๐ช", + ":flag_nf:": "๐ณ๐ซ", + ":flag_ng:": "๐ณ๐ฌ", + ":flag_ni:": "๐ณ๐ฎ", + ":flag_nl:": "๐ณ๐ฑ", + ":flag_no:": "๐ณ๐ด", + ":flag_np:": "๐ณ๐ต", + ":flag_nr:": "๐ณ๐ท", + ":flag_nu:": "๐ณ๐บ", + ":flag_nz:": "๐ณ๐ฟ", + ":flag_om:": "๐ด๐ฒ", + ":flag_pa:": "๐ต๐ฆ", + ":flag_pe:": "๐ต๐ช", + ":flag_pf:": "๐ต๐ซ", + ":flag_pg:": "๐ต๐ฌ", + ":flag_ph:": "๐ต๐ญ", + ":flag_pk:": "๐ต๐ฐ", + ":flag_pl:": "๐ต๐ฑ", + ":flag_pm:": "๐ต๐ฒ", + ":flag_pn:": "๐ต๐ณ", + ":flag_pr:": "๐ต๐ท", + ":flag_ps:": "๐ต๐ธ", + ":flag_pt:": "๐ต๐น", + ":flag_pw:": "๐ต๐ผ", + ":flag_py:": "๐ต๐พ", + ":flag_qa:": "๐ถ๐ฆ", + ":flag_re:": "๐ท๐ช", + ":flag_ro:": "๐ท๐ด", + ":flag_rs:": "๐ท๐ธ", + ":flag_rw:": "๐ท๐ผ", + ":flag_sa:": "๐ธ๐ฆ", + ":flag_sb:": "๐ธ๐ง", + ":flag_sc:": "๐ธ๐จ", + ":flag_sd:": "๐ธ๐ฉ", + ":flag_se:": "๐ธ๐ช", + ":flag_sg:": "๐ธ๐ฌ", + ":flag_sh:": "๐ธ๐ญ", + ":flag_si:": "๐ธ๐ฎ", + ":flag_sj:": "๐ธ๐ฏ", + ":flag_sk:": "๐ธ๐ฐ", + ":flag_sl:": "๐ธ๐ฑ", + ":flag_sm:": "๐ธ๐ฒ", + ":flag_sn:": "๐ธ๐ณ", + ":flag_so:": "๐ธ๐ด", + ":flag_sr:": "๐ธ๐ท", + ":flag_ss:": "๐ธ๐ธ", + ":flag_st:": "๐ธ๐น", + ":flag_sv:": "๐ธ๐ป", + ":flag_sx:": "๐ธ๐ฝ", + ":flag_sy:": "๐ธ๐พ", + ":flag_sz:": "๐ธ๐ฟ", + ":flag_ta:": "๐น๐ฆ", + ":flag_tc:": "๐น๐จ", + ":flag_td:": "๐น๐ฉ", + ":flag_tf:": "๐น๐ซ", + ":flag_tg:": "๐น๐ฌ", + ":flag_th:": "๐น๐ญ", + ":flag_tj:": "๐น๐ฏ", + ":flag_tk:": "๐น๐ฐ", + ":flag_tl:": "๐น๐ฑ", + ":flag_tm:": "๐น๐ฒ", + ":flag_tn:": "๐น๐ณ", + ":flag_to:": "๐น๐ด", + ":flag_tr:": "๐น๐ท", + ":flag_tt:": "๐น๐น", + ":flag_tv:": "๐น๐ป", + ":flag_tw:": "๐น๐ผ", + ":flag_tz:": "๐น๐ฟ", + ":flag_ua:": "๐บ๐ฆ", + ":flag_ug:": "๐บ๐ฌ", + ":flag_um:": "๐บ๐ฒ", + ":flag_uy:": "๐บ๐พ", + ":flag_uz:": "๐บ๐ฟ", + ":flag_va:": "๐ป๐ฆ", + ":flag_vc:": "๐ป๐จ", + ":flag_ve:": "๐ป๐ช", + ":flag_vg:": "๐ป๐ฌ", + ":flag_vi:": "๐ป๐ฎ", + ":flag_vn:": "๐ป๐ณ", + ":flag_vu:": "๐ป๐บ", + ":flag_wf:": "๐ผ๐ซ", + ":flag_ws:": "๐ผ๐ธ", + ":flag_xk:": "๐ฝ๐ฐ", + ":flag_ye:": "๐พ๐ช", + ":flag_yt:": "๐พ๐น", + ":flag_za:": "๐ฟ๐ฆ", + ":flag_zm:": "๐ฟ๐ฒ", + ":flag_zw:": "๐ฟ๐ผ", + ":black_heart:": "๐ค", + ":speech_left:": "๐จ", + ":egg:": "๐ฅ", + ":octagonal_sign:": "๐", + ":drum:": "๐ฅ", + ":0:": "0๏ธโฃ", + ":1:": "1๏ธโฃ", + ":2:": "2๏ธโฃ", + ":3:": "3๏ธโฃ", + ":4:": "4๏ธโฃ", + ":5:": "5๏ธโฃ", + ":6:": "6๏ธโฃ", + ":7:": "7๏ธโฃ", + ":8:": "8๏ธโฃ", + ":9:": "9๏ธโฃ", + ":hash:": "#๏ธโฃ", + ":asterisk:": "*โฃ", + ":zero:": "0โฃ", + ":one:": "1โฃ", + ":two:": "2โฃ", + ":three:": "3โฃ", + ":four:": "4โฃ", + ":five:": "5โฃ", + ":six:": "6โฃ", + ":seven:": "7โฃ", + ":eight:": "8โฃ", + ":nine:": "9โฃ", + ":skull_and_crossbones:": "โ ๏ธ", + ":radioactive_sign:": "โข๏ธ", + ":biohazard_sign:": "โฃ๏ธ", + ":female_sign:": "โ", + ":male_sign:": "โ", + ":staff_of_aesculapius:": "โ", + ":heavy_exclamation_mark:": "โ๏ธ", + ":eject:": "โ", + ":peace_symbol:": "โฎ๏ธ", + ":atom_symbol:": "โ๏ธ", + ":snowman_without_snow:": "โ๏ธ", + ":waving_white_flag:": "๐ณ๏ธ", + ":skin_tone_2:": "๐ป", + ":skin_tone_3:": "๐ผ", + ":skin_tone_4:": "๐ฝ", + ":skin_tone_5:": "๐พ", + ":skin_tone_6:": "๐ฟ", + ":man_dancing:": "๐บ", + ":shopping_trolley:": "๐", + ":scooter:": "๐ด", + ":motor_scooter:": "๐ต", + ":canoe:": "๐ถ", + ":call_me_hand:": "๐ค", + ":raised_back_of_hand:": "๐ค", + ":left_facing_fist:": "๐ค", + ":right_facing_fist:": "๐ค", + ":handshake:": "๐ค", + ":hand_with_index_and_middle_fingers_crossed:": "๐ค", + ":face_with_cowboy_hat:": "๐ค ", + ":clown_face:": "๐คก", + ":nauseated_face:": "๐คข", + ":drooling_face:": "๐คค", + ":lying_face:": "๐คฅ", + ":face_palm:": "๐คฆ", + ":sneezing_face:": "๐คง", + ":pregnant_woman:": "๐คฐ", + ":selfie:": "๐คณ", + ":prince:": "๐คด", + ":man_in_tuxedo:": "๐คต", + ":mother_christmas:": "๐คถ", + ":shrug:": "๐คท", + ":person_doing_cartwheel:": "๐คธ", + ":juggling:": "๐คน", + ":fencer:": "๐คบ", + ":wrestlers:": "๐คผ", + ":water_polo:": "๐คฝ", + ":handball:": "๐คพ", + ":wilted_flower:": "๐ฅ", + ":clinking_glasses:": "๐ฅ", + ":tumbler_glass:": "๐ฅ", + ":spoon:": "๐ฅ", + ":goal_net:": "๐ฅ ", + ":first_place_medal:": "๐ฅ", + ":second_place_medal:": "๐ฅ", + ":third_place_medal:": "๐ฅ", + ":boxing_glove:": "๐ฅ", + ":martial_arts_uniform:": "๐ฅ", + ":croissant:": "๐ฅ", + ":avocado:": "๐ฅ", + ":cucumber:": "๐ฅ", + ":bacon:": "๐ฅ", + ":potato:": "๐ฅ", + ":carrot:": "๐ฅ", + ":baguette_bread:": "๐ฅ", + ":green_salad:": "๐ฅ", + ":shallow_pan_of_food:": "๐ฅ", + ":stuffed_flatbread:": "๐ฅ", + ":glass_of_milk:": "๐ฅ", + ":peanuts:": "๐ฅ", + ":kiwifruit:": "๐ฅ", + ":pancakes:": "๐ฅ", + ":eagle:": "๐ฆ ", + ":duck:": "๐ฆ", + ":bat:": "๐ฆ", + ":shark:": "๐ฆ", + ":owl:": "๐ฆ", + ":fox_face:": "๐ฆ", + ":butterfly:": "๐ฆ", + ":deer:": "๐ฆ", + ":gorilla:": "๐ฆ", + ":lizard:": "๐ฆ", + ":rhinoceros:": "๐ฆ", + ":shrimp:": "๐ฆ", + ":squid:": "๐ฆ", + ":flag_un:": "๐บ๐ณ", + ":male_farmer:": "๐จโ๐พ", + ":male_cook:": "๐จโ๐ณ", + ":male_student:": "๐จโ๐", + ":male_singer:": "๐จโ๐ค", + ":male_artist:": "๐จโ๐จ", + ":male_teacher:": "๐จโ๐ซ", + ":male_factory_worker:": "๐จโ๐ญ", + ":male_technologist:": "๐จโ๐ป", + ":male_office_worker:": "๐จโ๐ผ", + ":male_mechanic:": "๐จโ๐ง", + ":male_scientist:": "๐จโ๐ฌ", + ":male_astronaut:": "๐จโ๐", + ":male_firefighter:": "๐จโ๐", + ":female_farmer:": "๐ฉโ๐พ", + ":female_cook:": "๐ฉโ๐ณ", + ":female_student:": "๐ฉโ๐", + ":female_singer:": "๐ฉโ๐ค", + ":female_artist:": "๐ฉโ๐จ", + ":female_teacher:": "๐ฉโ๐ซ", + ":female_factory_worker:": "๐ฉโ๐ญ", + ":female_technologist:": "๐ฉโ๐ป", + ":female_office_worker:": "๐ฉโ๐ผ", + ":female_mechanic:": "๐ฉโ๐ง", + ":female_scientist:": "๐ฉโ๐ฌ", + ":female_astronaut:": "๐ฉโ๐", + ":female_firefighter:": "๐ฉโ๐", + ":woman_running:": "๐โโ๏ธ", + ":running:": "๐โโ๏ธ", + ":woman_surfing:": "๐โโ๏ธ", + ":woman_swimming:": "๐โโ๏ธ", + ":woman_lifting_weights:": "๐๏ธโโ๏ธ", + ":weight_lifter:": "๐๏ธโโ๏ธ", + ":woman_golfing:": "๐๏ธโโ๏ธ", + ":eye_in_speech_bubble:": "๐๏ธโ๐จ๏ธ", + ":male_doctor:": "๐จโโ๏ธ", + ":male_judge:": "๐จโโ๏ธ", + ":male_pilot:": "๐จโโ๏ธ", + ":female_doctor:": "๐ฉโโ๏ธ", + ":female_judge:": "๐ฉโโ๏ธ", + ":female_pilot:": "๐ฉโโ๏ธ", + ":woman_facepalming:": "๐คฆโโ๏ธ", + ":man_facepalming:": "๐คฆโโ๏ธ", + ":woman_shrugging:": "๐คทโโ๏ธ", + ":man_shrugging:": "๐คทโโ๏ธ", + ":woman_cartwheeling:": "๐คธโโ๏ธ", + ":man_cartwheeling:": "๐คธโโ๏ธ", + ":woman_juggling:": "๐คนโโ๏ธ", + ":man_juggling:": "๐คนโโ๏ธ", + ":woman_wrestling:": "๐คผโโ๏ธ", + ":man_wrestling:": "๐คผโโ๏ธ", + ":woman_playing_water_polo:": "๐คฝโโ๏ธ", + ":man_playing_water_polo:": "๐คฝโโ๏ธ", + ":woman_playing_handball:": "๐คพโโ๏ธ", + ":man_playing_handball:": "๐คพโโ๏ธ", + ":woman_bouncing_ball:": "โน๏ธโโ๏ธ", + ":person_with_ball:": "โน๏ธโโ๏ธ" +} \ No newline at end of file diff --git a/src/views/Home.vue b/src/views/Home.vue index 1ae9d0da..a55399a1 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -160,13 +160,17 @@ export default { }, /* Checks if any of the icons are Font Awesome glyphs */ checkIfFontAwesomeNeeded() { - let isFound = false; + let isNeeded = false; + if (!this.sections) return false; this.sections.forEach((section) => { + if (section.icon && section.icon.includes('fa-')) isNeeded = true; section.items.forEach((item) => { - if (item.icon && item.icon.includes('fa-')) isFound = true; + if (item.icon && item.icon.includes('fa-')) isNeeded = true; }); }); - return isFound; + const currentTheme = localStorage[localStorageKeys.THEME]; // Some themes require FA + if (['material', 'material-dark'].includes(currentTheme)) isNeeded = true; + return isNeeded; }, /* Injects font-awesome's script tag, only if needed */ initiateFontAwesome() { diff --git a/src/views/Login.vue b/src/views/Login.vue index 3d16e0bb..4d723e1e 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -4,6 +4,14 @@ <h2 class="login-title">Dashy</h2> <Input v-model="username" label="Username" class="login-field username" type="text" /> <Input v-model="password" label="Password" class="login-field password" type="password" /> + <label>Remember me for</label> + <v-select + v-model="timeout" + :options="dropDownMenu" + label="label" + :selectOnTab="true" + class="login-time-dropdown" + /> <Button class="login-button" :click="submitLogin">Login</Button> <transition name="bounce"> <p :class="`login-error-message ${status}`" v-show="message">{{ message }}</p> @@ -30,6 +38,13 @@ export default { password: '', message: '', status: 'waiting', // wating, error, success + timeout: { label: 'Never', time: 0 }, + dropDownMenu: [ // Data for timeout dropdown menu, label + value + { label: 'Never', time: 0 }, // Time is specified in ms + { label: '4 Hours', time: 14400 * 1000 }, + { label: '1 Day', time: 86400 * 1000 }, + { label: '1 Week', time: 604800 * 1000 }, + ], }; }, components: { @@ -38,11 +53,12 @@ export default { }, methods: { submitLogin() { + const timeout = this.timeout.time || 0; const response = checkCredentials(this.username, this.password, this.appConfig.auth || []); this.message = response.msg; // Show error or success message to the user this.status = response.correct ? 'success' : 'error'; if (response.correct) { // Yay, credentials were correct :) - login(this.username, this.password); // Login, to set the cookie + login(this.username, this.password, timeout); // Login, to set the cookie setTimeout(() => { // Wait a short while, then redirect back home router.push({ path: '/' }); }, 250); @@ -130,4 +146,30 @@ export default { 100% { transform: scale(1); } } +.v-select.login-time-dropdown { + margin: 0.5rem 0; + .vs__dropdown-toggle { + border-color: var(--login-form-color); + background: var(--login-form-background); + span.vs__selected { + color: var(--login-form-color); + } + .vs__actions svg path { fill: var(--login-form-color); } + } + ul.vs__dropdown-menu { + background: var(--login-form-background); + border-color: var(--login-form-color); + li { + color: var(--login-form-color); + &:hover { + color: var(--login-form-background); + background: var(--login-form-color); + } + &.vs__dropdown-option--highlight { + color: var(--login-form-background) !important; + background: var(--login-form-color); + } + } + } +} </style> diff --git a/vue.config.js b/vue.config.js index a6d2c576..95d791e7 100644 --- a/vue.config.js +++ b/vue.config.js @@ -9,8 +9,8 @@ module.exports = { chainWebpack: config => { config.module.rules.delete('svg'); }, - configureWebpack: { + performance: { hints: false }, module: { rules: [ { test: /.svg$/, loader: 'vue-svg-loader' }, @@ -26,12 +26,12 @@ module.exports = { }), ], }, - pwa: { name: 'Dashy', manifestPath: './manifest.json', themeColor: '#00af87', msTileColor: '#0b1021', + mode: 'production', iconPaths: { manifestCrossorigin: 'use-credentials', favicon64: './web-icons/favicon-64x64.png',