🧑💻 CI & Config changes (#369)
Co-authored-by: Dashboard Icons Bot <noreply@walkx.fyi>
26
.github/ISSUE_TEMPLATE/_request_suggest.yml
vendored
@ -1,26 +0,0 @@
|
||||
name: "\U0001FA79 Requests & Suggestions"
|
||||
description: Suggest an icon or request changes
|
||||
labels: "\U0001FA79 Requests & Suggestions"
|
||||
assignees: walkxcode
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: "Thank you for your interest in contributing to our icon repository! To ensure that everything runs smoothly, we've set out some guidelines for contributors.\n## \U0001F31F Icon Specifications\n\n- Each icon should be in `PNG` format and have a height of exactly `512px`. Width does not matter. ❗️(No upscales! If the correct size cannot be found, a smaller height will be accepted.)\n\n- Each icon should include both a `PNG` and `SVG` version. If an `SVG` cannot be found, then only a `PNG` version is required.\n\n- Icons should be named after their full name, with spaces replaced by dashes. For example, \"Facebook Messenger\" should be named `facebook-messenger.png`.\n\n- Monochrome icons should default to a dark version. Light versions should be named `service-light.png`. If a light version is not available, use https://pinetools.com/colorize-image to change its color.\n\n- If an `SVG` is available for an icon, the `PNG` should be a conversion of that `SVG`. Use https://ezgif.com/svg-to-png to do this. Set the height to `512px` and leave the width empty.\n"
|
||||
- type: textarea
|
||||
id: icon-name
|
||||
attributes:
|
||||
label: Icon Name
|
||||
description: What is the name of the icon you are contributing?
|
||||
placeholder: Enter icon name here
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: icons
|
||||
attributes:
|
||||
label: Icon(s)
|
||||
description: >-
|
||||
Upload your icons here. You can do this by Copy-Pasting or Drag &
|
||||
Dropping the images.
|
||||
placeholder: Copy-Paste or Drag & Drop images here!
|
||||
validations:
|
||||
required: false
|
26
.github/ISSUE_TEMPLATE/request_suggest.yml
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
name: "\U0001FA79 Requests & Suggestions"
|
||||
description: Suggest an icon or request changes
|
||||
labels: "\U0001FA79 Requests & Suggestions"
|
||||
assignees: walkxcode
|
||||
body:
|
||||
- type: markdown
|
||||
attributes:
|
||||
value: "Thank you for your interest in contributing to our icon repository! To ensure that everything runs smoothly, we've set out some guidelines for contributors.\n## 🌟 Icon Specifications\n\n- Each icon should include both a **PNG** and **SVG** version. If an **SVG** cannot be found, then only a **PNG** version is required.\n\n- Each icon should be in **PNG** format and have a height of exactly **512px**. Width does not matter. ❗️(No upscales! If the correct size cannot be found, a smaller height will be accepted.)\n\n- Icons should be named after their full name, using the [Kebab Case](https://wiki.c2.com/?KebabCase) naming convention. For example, \"Facebook Messenger\" should be named `facebook-messenger.png`.\n\n- Monochrome icons should default to a dark version. Light versions should be named `service-light.png`. If a light version is not available, use [https://pinetools.com/colorize-image](https://pinetools.com/colorize-image) to change its color.\n"
|
||||
- type: textarea
|
||||
id: icon-name
|
||||
attributes:
|
||||
label: Icon Name
|
||||
description: What is the name of the icon you are contributing?
|
||||
placeholder: Enter icon name here
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
id: icons
|
||||
attributes:
|
||||
label: Icon(s)
|
||||
description: >-
|
||||
Upload your icons here. You can do this by Copy-Pasting or Drag &
|
||||
Dropping the images.
|
||||
placeholder: Copy-Paste or Drag & Drop images here!
|
||||
validations:
|
||||
required: false
|
32
.github/workflows/_readme_generator.yml
vendored
@ -1,32 +0,0 @@
|
||||
name: 🚀 Generates ICONS
|
||||
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.9"
|
||||
architecture: "x64"
|
||||
|
||||
- name: ICONS Generator
|
||||
run: |-
|
||||
python _ci.py
|
||||
cat ICONS.md
|
||||
|
||||
- name: Load to GitHub
|
||||
run: |-
|
||||
git diff
|
||||
git config --global user.email "noreply@walkx.fyi"
|
||||
git config --global user.name "Dashboard Icons Bot"
|
||||
git add -A
|
||||
git commit -m "🚀 Generates ICONS" || exit 0
|
||||
git push
|
32
.github/workflows/icons-page-generation.yml
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
name: 🚀 Generates ICONS
|
||||
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.9"
|
||||
architecture: "x64"
|
||||
|
||||
- name: ICONS Generator
|
||||
run: |-
|
||||
python config/ci.py
|
||||
cat ICONS.md
|
||||
|
||||
- name: Load to GitHub
|
||||
run: |-
|
||||
git diff
|
||||
git config --global user.email "noreply@walkx.fyi"
|
||||
git config --global user.name "Dashboard Icons Bot"
|
||||
git add -A
|
||||
git commit -m ":rocket: Generates ICONS" || exit 0
|
||||
git push
|
31
.github/workflows/png-compression.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
name: 🗜️ PNG Compression
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * 0'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
compress-images:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo apt-get install -y zopfli
|
||||
|
||||
- name: Compress PNGs
|
||||
run: |
|
||||
echo "🖼️ Compressing PNGs..."
|
||||
find png/ -iname "*.png" -print0 | xargs -0 -P 4 -I{} sh -c 'echo "Compressing {}"; zopflipng -y {} {}' || true
|
||||
|
||||
- name: Load to GitHub
|
||||
run: |-
|
||||
git diff
|
||||
git config --global user.email "noreply@walkx.fyi"
|
||||
git config --global user.name "Dashboard Icons Bot"
|
||||
git add -A
|
||||
git commit -m ":clamp: Compresses PNGs" || exit 0
|
||||
git push
|
31
.github/workflows/svg-compression.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
name: 🗜️ SVG Compression
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 0 * * 0'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
compress-images:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
sudo apt-get update
|
||||
sudo npm install -g svgo
|
||||
|
||||
- name: Compress SVGs
|
||||
run: |
|
||||
echo "🎨 Compressing SVGs..."
|
||||
find svg/ -iname "*.svg" -print0 | xargs -0 -P 4 -I{} sh -c 'echo "Compressing {}"; svgo --quiet --multipass {}' || true
|
||||
|
||||
- name: Load to GitHub
|
||||
run: |-
|
||||
git diff
|
||||
git config --global user.email "noreply@walkx.fyi"
|
||||
git config --global user.name "Dashboard Icons Bot"
|
||||
git add -A
|
||||
git commit -m ":clamp: Compresses SVGs" || exit 0
|
||||
git push
|
@ -1,4 +0,0 @@
|
||||
{
|
||||
"schedule": "daily",
|
||||
"prTitle" : "✨ Compresses Images",
|
||||
}
|
75
_TEMPLATE.md
@ -1,75 +0,0 @@
|
||||
<p align="center">
|
||||
<h2 align="center"> 🟣 Dashboard Icons </h3>
|
||||
<p align="center">
|
||||
<a href="https://www.jsdelivr.com/package/gh/walkxcode/dashboard-icons">
|
||||
<img src="https://img.shields.io/jsdelivr/gh/hy/walkxcode/dashboard-icons?color=%23A020F0" alt="JSdelivr weekly downloads badge">
|
||||
</a>
|
||||
</p>
|
||||
<p align="center">
|
||||
🚀 The best place to find icons for your dashboards.
|
||||
<br />
|
||||
<a href="#-icons"><strong>👀 See the icons</strong></a> • <a href="https://shop.walkx.fyi/l/donate" target="_blank"><strong>🙌🏻 Donate</strong></a>
|
||||
<br />
|
||||
<br />
|
||||
</p>
|
||||
</p>
|
||||
|
||||
# 📖 Table of Contents
|
||||
|
||||
- [🚀 Getting Started](#-getting-started)
|
||||
- [📊 Dashboards](#-dashboards)
|
||||
- [🛠️ Installation](#️-installation)
|
||||
- [🎨 Icons](#-icons)
|
||||
- [🎉 Contributing Guidelines](#-contributing-guidelines)
|
||||
- [📜 Legal](#-legal)
|
||||
|
||||
## 🚀 Getting Started
|
||||
|
||||
### 📊 Dashboards
|
||||
|
||||
There are many Dashboards available that you can use with Dashboard Icons. Here are some of the popular ones.
|
||||
|
||||
- [Homarr](https://github.com/ajnart/homarr)\*
|
||||
- [Dashy](https://github.com/Lissy93/dashy)\*
|
||||
- [Homer Dashboard](https://github.com/bastienwirtz/homer)
|
||||
- [Heimdall](https://github.com/linuxserver/Heimdall)
|
||||
- [Organizr(v2)](https://github.com/causefx/Organizr)
|
||||
- [Flame](https://github.com/pawelmalak/flame)
|
||||
- [SUI](https://github.com/jeroenpardon/sui)
|
||||
- [Homepage](https://github.com/benphelps/homepage)\*
|
||||
|
||||
**Note:** Dashboards with a \* have native integration with Dashboard Icons.
|
||||
|
||||
### 🛠️ Installation
|
||||
|
||||
**Tip!** You can access Dashboard Icons online, faster, by using `https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons/png/example.png`. Just replace `example` with the name of the icon!
|
||||
|
||||
To download an icon, simply `Right click > Save image`.
|
||||
|
||||
For non-desktop operating systems or people who prefer to use the terminal:
|
||||
|
||||
```sh
|
||||
$ curl https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/example.png > example.png
|
||||
```
|
||||
|
||||
or
|
||||
|
||||
```sh
|
||||
$ wget https://raw.githubusercontent.com/walkxcode/dashboard-icons/master/png/example.png -O example.png
|
||||
```
|
||||
|
||||
## 🎨 Icons
|
||||
<details>
|
||||
<summary>Click to display all icons 👀</summary>
|
||||
<!-- ICONS -->
|
||||
<!-- END ICONS -->
|
||||
</details>
|
||||
|
||||
## 🎉 Contributing Guidelines
|
||||
Please read the [Contributing Guidelines](CONTRIBUTING.md) before contributing to this project.
|
||||
|
||||
## 📜 Legal
|
||||
|
||||
(Almost) All product names, trademarks, and registered trademarks in the images in this repository are the property of their respective owners. All images in this repository are used by the users of the Dashboard Icons project for identification purposes only.
|
||||
|
||||
The use of these names, trademarks, and brands appearing in these image files does not imply endorsement.
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 9.5 KiB |
@ -2,8 +2,8 @@ import pathlib
|
||||
from pathlib import Path
|
||||
|
||||
root = pathlib.Path(__file__).parent.resolve()
|
||||
icons_template_path = root / "_ICONS_TEMPLATE.md"
|
||||
icons_path = root / "ICONS.md"
|
||||
template_path = root / "TEMPLATE.md"
|
||||
path = root / "../ICONS.md"
|
||||
|
||||
|
||||
def generate_img_tag(file):
|
||||
@ -15,7 +15,7 @@ img_tags = [generate_img_tag(x) for x in imgs]
|
||||
line_number = 0
|
||||
|
||||
# Read the template file
|
||||
with open(icons_template_path, "r", encoding="UTF-8") as f:
|
||||
with open(template_path, "r", encoding="UTF-8") as f:
|
||||
lines = f.readlines()
|
||||
# Find the line that starts with "<!-- ICONS -->"
|
||||
for line in lines:
|
||||
@ -25,7 +25,7 @@ for line in lines:
|
||||
# Insert the icons after the line
|
||||
lines.insert(line_number + 1, " ".join(img_tags))
|
||||
# Write the new file
|
||||
with open(icons_path, "w", encoding="UTF-8") as f:
|
||||
with open(path, "w", encoding="UTF-8") as f:
|
||||
f.write("".join(lines))
|
||||
f.write("\n")
|
||||
print("Done!")
|
Before Width: | Height: | Size: 64 KiB After Width: | Height: | Size: 64 KiB |
BIN
png/3cx.png
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 24 KiB |
BIN
png/act.png
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 13 KiB |
BIN
png/actual.png
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 18 KiB |
BIN
png/airsonic.png
Before Width: | Height: | Size: 7.7 KiB After Width: | Height: | Size: 4.0 KiB |
BIN
png/airtel.png
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 7.3 KiB |
BIN
png/alarmpi.png
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 8.8 KiB |
BIN
png/algovpn.png
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 4.4 KiB |
BIN
png/alltube.png
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
BIN
png/alma.png
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 23 KiB |
BIN
png/alpine.png
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 17 KiB |
BIN
png/amazon.png
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 16 KiB |
BIN
png/amcrest.png
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 2.5 KiB |
BIN
png/amd.png
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 2.5 KiB |
BIN
png/ampache.png
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 14 KiB |
BIN
png/android.png
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 15 KiB |
BIN
png/anonaddy.png
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 20 KiB |
BIN
png/ansible.png
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 8.3 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 6.2 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 25 KiB |
BIN
png/apache.png
Before Width: | Height: | Size: 23 KiB After Width: | Height: | Size: 22 KiB |
BIN
png/apc.png
Before Width: | Height: | Size: 8.6 KiB After Width: | Height: | Size: 7.3 KiB |
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 10 KiB |
BIN
png/apple.png
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 5.6 KiB |
BIN
png/apprise.png
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 15 KiB |
BIN
png/arch.png
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 99 KiB After Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 9.2 KiB After Width: | Height: | Size: 7.9 KiB |
Before Width: | Height: | Size: 103 KiB After Width: | Height: | Size: 96 KiB |
BIN
png/arduino.png
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 7.4 KiB |
BIN
png/arggocd.png
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 32 KiB |
BIN
png/ariang.png
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
BIN
png/arm.png
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 6.4 KiB |
BIN
png/arris.png
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 6.3 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
BIN
png/asana.png
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
BIN
png/asterisk.png
Before Width: | Height: | Size: 6.6 KiB After Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 6.5 KiB After Width: | Height: | Size: 5.4 KiB |
BIN
png/asus-rog.png
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 8.8 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 18 KiB |
BIN
png/asus.png
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 4.2 KiB |
BIN
png/at-t.png
Before Width: | Height: | Size: 51 KiB After Width: | Height: | Size: 48 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 7.5 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 12 KiB |
BIN
png/audacity.png
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 56 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 24 KiB |
BIN
png/auracast.png
Before Width: | Height: | Size: 20 KiB After Width: | Height: | Size: 10 KiB |
BIN
png/authelia.png
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 33 KiB |
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 6.1 KiB |
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 5.3 KiB |
BIN
png/autobrr.png
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 32 KiB |
Before Width: | Height: | Size: 32 KiB After Width: | Height: | Size: 29 KiB |
BIN
png/aws-ecs.png
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
BIN
png/aws.png
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 27 KiB |
BIN
png/awx.png
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 38 KiB |
BIN
png/axis.png
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 16 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 55 KiB |
BIN
png/azure.png
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 7.4 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 16 KiB |
BIN
png/bacula.png
Before Width: | Height: | Size: 6.3 KiB After Width: | Height: | Size: 6.3 KiB |
BIN
png/badge.png
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 13 KiB |
BIN
png/baserow.png
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 968 B |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 12 KiB |