Compare commits
181 Commits
8c634c506d
...
86445351b1
Author | SHA1 | Date | |
---|---|---|---|
|
86445351b1 | ||
|
d3116e76eb | ||
|
f84a36bcbe | ||
|
3b74941e53 | ||
|
25563f2907 | ||
|
07a06d893e | ||
|
df68010f94 | ||
|
16a4a8fd7e | ||
|
478994e9cc | ||
|
a0101322ee | ||
|
d44ceb90ae | ||
|
8a50f46708 | ||
|
98c3da01bc | ||
|
3da251e5ff | ||
|
a4cf24e10c | ||
|
d08423fd68 | ||
|
900e2f8998 | ||
|
a9e46dba43 | ||
|
acd3e9adcc | ||
|
76807363a2 | ||
|
fd5b71dd7d | ||
|
c3750ea50f | ||
|
983a460c1e | ||
|
0f961f7cad | ||
|
fbc916f06a | ||
|
e676961f25 | ||
|
c7321ccb67 | ||
|
d4327b0511 | ||
|
150ec76e07 | ||
|
ed7c8f8c6e | ||
|
89bf19a467 | ||
|
3256608b62 | ||
|
67ef0957ef | ||
|
84364c0bf0 | ||
|
7ea2b4ace1 | ||
|
e3834aff70 | ||
|
5ed3ad3fa4 | ||
|
0111fbf660 | ||
|
5ff34b7869 | ||
|
70a87ed93d | ||
|
3a8854a7e0 | ||
|
66c2a8ceb5 | ||
|
794effa064 | ||
|
5137fb1717 | ||
|
e21366d025 | ||
|
0f890fa616 | ||
|
949f5d2c8f | ||
|
46cb6bbf56 | ||
|
90b50cf4a2 | ||
|
2d21aac808 | ||
|
e5fa5379eb | ||
|
459a76dfe3 | ||
|
f23ef38b10 | ||
|
c317e31d43 | ||
|
0cbfea23c6 | ||
|
376847b72d | ||
|
f8f7cd2e7c | ||
|
d0323ff348 | ||
|
355d78c01e | ||
|
0f99092143 | ||
|
c7127f4e90 | ||
|
59243a0d38 | ||
|
7da2c040f6 | ||
|
2b3a28bd92 | ||
|
48f1b7c661 | ||
|
a5fc788a24 | ||
|
2594ea2239 | ||
|
a613415d2a | ||
|
88e984ddaf | ||
|
a19b2ba311 | ||
|
45f8d44345 | ||
|
b1f3a89ef7 | ||
|
62fe7040fc | ||
|
3faf25deb0 | ||
|
6c5ca3f129 | ||
|
1b124b57d1 | ||
|
9f88c40420 | ||
|
eca6b42c2c | ||
|
e94b6c152c | ||
|
62dfd0e03b | ||
|
3bd3be92c2 | ||
|
d74f6a155a | ||
|
64a3dfd56d | ||
|
869b588f40 | ||
|
75385277c4 | ||
|
301ce53458 | ||
|
5042d68aed | ||
|
9cc9aad467 | ||
|
501edcd2ba | ||
|
f7a54f0031 | ||
|
cd1c5f729f | ||
|
0e6500c214 | ||
|
fb451c69d0 | ||
|
175608d88f | ||
|
42fe4b10b5 | ||
|
abb1c8970b | ||
|
8ef429ca60 | ||
|
a11ecbdefb | ||
|
697103c2d2 | ||
|
4768e9a906 | ||
|
1c9d7fd5a0 | ||
|
808b459bb1 | ||
|
312ecc63d2 | ||
|
567957cf6e | ||
|
54d19cdfd9 | ||
|
c8a051a393 | ||
|
3f35b60198 | ||
|
be82e22c41 | ||
|
7dfd182f38 | ||
|
eae93bbe31 | ||
|
c2d3baed22 | ||
|
dd34fba44b | ||
|
fa12f7060c | ||
|
394d12dd44 | ||
|
92f4ee94ed | ||
|
dff352b2b3 | ||
|
8395bf0d53 | ||
|
c3da47ecc2 | ||
|
5b8bde4507 | ||
|
ca793b6671 | ||
|
6f7b845c7a | ||
|
99ab5b1701 | ||
|
fa39cf6114 | ||
|
ab079f75a3 | ||
|
c95ad01c8d | ||
|
0dde9080d7 | ||
|
36f562bdca | ||
|
92ff3522ae | ||
|
60db2d91dd | ||
|
a23fa12f31 | ||
|
741c352ee8 | ||
|
c6069a8fd1 | ||
|
a804cd6638 | ||
|
1159a53a98 | ||
|
a52ddb3915 | ||
|
4f37c2abd5 | ||
|
a00a9d709b | ||
|
a3e2e32b14 | ||
|
cce3432921 | ||
|
0d0571e78e | ||
|
c63f907755 | ||
|
7de7090d4f | ||
|
d2e14edb1c | ||
|
4c86c82989 | ||
|
485da4b003 | ||
|
dbf53f6b94 | ||
|
526a9a56b8 | ||
|
a2d8ded7b2 | ||
|
fa45ea233b | ||
|
ce5d1d73b7 | ||
|
903af23ef6 | ||
|
3486ef6d74 | ||
|
9573004922 | ||
|
a193833eaf | ||
|
573f131625 | ||
|
13faf5ba99 | ||
|
e12aa125ba | ||
|
f40f197594 | ||
|
f056cdfb97 | ||
|
2be514bbcc | ||
|
328b691a57 | ||
|
680f2df0db | ||
|
0e0c923857 | ||
|
7136244e79 | ||
|
6af1c442e7 | ||
|
1b2fb567f9 | ||
|
76a11a3f7f | ||
|
ff0b51c843 | ||
|
e24fb55a42 | ||
|
8adf769b34 | ||
|
7c3c2fd9e3 | ||
|
301a8d8f7b | ||
|
a08c0979e7 | ||
|
5b8b0b8fda | ||
|
0993100a4e | ||
|
937f683953 | ||
|
c7e6bc8bdc | ||
|
c2b30aaaf9 | ||
|
eb55f0bbb0 | ||
|
e9985308d5 | ||
|
c4188e9b4f |
31
.github/workflows/generate_filetree.yml
vendored
Normal file
@ -0,0 +1,31 @@
|
||||
name: 🌴 Generate File Tree
|
||||
|
||||
on:
|
||||
push:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
generate:
|
||||
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: Generate File Tree
|
||||
run: python config/tree.py svg png
|
||||
|
||||
- name: Load to GitHub
|
||||
run: |-
|
||||
git diff
|
||||
git config --global user.email "noreply@lammers.media"
|
||||
git config --global user.name "Dashboard Icons Bot"
|
||||
git add tree.json
|
||||
git commit -m ":construction_worker: Generates file_tree.json" || exit 0
|
||||
git push
|
2
.github/workflows/icons-page-generation.yml
vendored
@ -25,7 +25,7 @@ jobs:
|
||||
- name: Load to GitHub
|
||||
run: |-
|
||||
git diff
|
||||
git config --global user.email "noreply@walkx.fyi"
|
||||
git config --global user.email "noreply@lammers.media"
|
||||
git config --global user.name "Dashboard Icons Bot"
|
||||
git add -A
|
||||
git commit -m ":construction_worker: Generates ICONS.md" || exit 0
|
||||
|
@ -70,4 +70,4 @@ Please review the [Contribution Guidelines](CONTRIBUTING.md) before contributing
|
||||
|
||||
Read our [LICENSE](LICENSE) for information regarding the use of our software and assets. By accessing or using this repository, you agree to be bound by the terms and conditions of the license.
|
||||
|
||||
For questions or concerns regarding the license, contact me at walkxnl@gmail.com before using or distributing the contents of this repository.
|
||||
For questions or concerns regarding the license, contact me at hey@lammers.media before using or distributing the contents of this repository.
|
||||
|
54
config/tree.py
Normal file
@ -0,0 +1,54 @@
|
||||
import os
|
||||
import json
|
||||
import sys
|
||||
|
||||
def folder_to_json(path):
|
||||
tree = {}
|
||||
base_folder_name = os.path.basename(os.path.normpath(path)) # Get the base folder name
|
||||
|
||||
# Ensure the path doesn't return an empty string or dot.
|
||||
base_folder_name = base_folder_name if base_folder_name else os.path.basename(os.getcwd())
|
||||
|
||||
for root, dirs, files in os.walk(path):
|
||||
# Get the relative path of the root directory
|
||||
relative_path = os.path.relpath(root, path)
|
||||
|
||||
# Use base folder name for root, and append relative path for subfolders
|
||||
key = base_folder_name if relative_path == '.' else os.path.join(base_folder_name, relative_path)
|
||||
|
||||
# Only add the folder if there are files
|
||||
if files:
|
||||
tree[key] = files
|
||||
|
||||
return tree
|
||||
|
||||
def generate_combined_tree(paths):
|
||||
combined_tree = {}
|
||||
|
||||
for path in paths:
|
||||
# Add folder tree for each path
|
||||
combined_tree.update(folder_to_json(path))
|
||||
|
||||
return combined_tree
|
||||
|
||||
if __name__ == "__main__":
|
||||
# Get the list of folder paths from command-line arguments
|
||||
folder_paths = sys.argv[1:]
|
||||
|
||||
if not folder_paths:
|
||||
print("Please provide at least one folder path.")
|
||||
sys.exit(1)
|
||||
|
||||
# Check if 'tree.json' exists
|
||||
if os.path.exists('tree.json'):
|
||||
print("'tree.json' already exists. No file was created.")
|
||||
sys.exit(0)
|
||||
|
||||
# Generate the combined folder tree for all specified paths
|
||||
combined_folder_tree = generate_combined_tree(folder_paths)
|
||||
|
||||
# Write the combined JSON structure to a file named tree.json
|
||||
with open('tree.json', 'w') as f:
|
||||
json.dump(combined_folder_tree, f, indent=4)
|
||||
|
||||
print("Folder tree successfully written to 'tree.json'.")
|
BIN
png/13ft.png
Normal file
After Width: | Height: | Size: 78 KiB |
BIN
png/2fauth-light.png
Normal file
After Width: | Height: | Size: 243 B |
BIN
png/2fauth.png
Normal file
After Width: | Height: | Size: 260 B |
BIN
png/adventurelog.png
Normal file
After Width: | Height: | Size: 81 KiB |
BIN
png/alist.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
png/alloy.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
png/alpine.png
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 12 KiB |
BIN
png/apache-cloudstack.png
Normal file
After Width: | Height: | Size: 48 KiB |
BIN
png/app-store.png
Normal file
After Width: | Height: | Size: 8.8 KiB |
BIN
png/artifacthub.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
png/aruba.png
Normal file
After Width: | Height: | Size: 6.1 KiB |
BIN
png/asciinema.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
png/astral-light.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
png/astral.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
png/avg.png
Normal file
After Width: | Height: | Size: 89 KiB |
BIN
png/awwesome.png
Normal file
After Width: | Height: | Size: 20 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 4.9 KiB |
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 4.8 KiB |
BIN
png/bunkerweb-light.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
png/bunkerweb.png
Normal file
After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
BIN
png/cobalt-light.png
Normal file
After Width: | Height: | Size: 7.3 KiB |
BIN
png/coolify.png
Normal file
After Width: | Height: | Size: 1.2 KiB |
BIN
png/davis.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
png/deployarr.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
png/develancacheui.png
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
png/directadmin.png
Normal file
After Width: | Height: | Size: 1.6 KiB |
BIN
png/docsify.png
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
png/docusaurus.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
png/eblocker.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
png/enbizcard.png
Normal file
After Width: | Height: | Size: 23 KiB |
BIN
png/esphome-alt.png
Normal file
After Width: | Height: | Size: 7.4 KiB |
BIN
png/esphome.png
Before Width: | Height: | Size: 7.4 KiB After Width: | Height: | Size: 6.1 KiB |
BIN
png/f-droid.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
png/filegator.png
Normal file
After Width: | Height: | Size: 14 KiB |
BIN
png/finamp-dark.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
png/finamp-light.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
png/finamp.png
Normal file
After Width: | Height: | Size: 8.5 KiB |
BIN
png/findroid-dark.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
png/findroid-light.png
Normal file
After Width: | Height: | Size: 4.1 KiB |
BIN
png/findroid.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
png/fusionauth-light.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
png/fusionauth.png
Normal file
After Width: | Height: | Size: 7.5 KiB |
BIN
png/gaseous.png
Normal file
After Width: | Height: | Size: 21 KiB |
BIN
png/gitee.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
png/glances-light.png
Normal file
After Width: | Height: | Size: 5.1 KiB |
BIN
png/glances.png
Before Width: | Height: | Size: 36 KiB After Width: | Height: | Size: 5.1 KiB |
BIN
png/go2rtc-alt.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
png/go2rtc.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
png/godaddy-alt.png
Normal file
After Width: | Height: | Size: 30 KiB |
BIN
png/godaddy.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
png/gollum.png
Normal file
After Width: | Height: | Size: 200 KiB |
BIN
png/google-gemini.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
png/gpt4free.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
png/greenbone.png
Normal file
After Width: | Height: | Size: 7.2 KiB |
BIN
png/helper-scripts.png
Normal file
After Width: | Height: | Size: 63 KiB |
BIN
png/hoarder-light.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
png/hoarder.png
Normal file
After Width: | Height: | Size: 3.5 KiB |
BIN
png/homey.png
Normal file
After Width: | Height: | Size: 98 KiB |
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 27 KiB |
BIN
png/immich-kiosk.png
Normal file
After Width: | Height: | Size: 41 KiB |
BIN
png/jackett.png
Before Width: | Height: | Size: 7.9 KiB After Width: | Height: | Size: 7.6 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 45 KiB |
BIN
png/kagi.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
BIN
png/kestra.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
png/kpn.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
png/linkwarden-light.png
Normal file
After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 187 KiB |
BIN
png/lobe-chat.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
png/locals-light.png
Normal file
After Width: | Height: | Size: 7.3 KiB |
BIN
png/locals.png
Normal file
After Width: | Height: | Size: 7.4 KiB |
BIN
png/lynx.png
Normal file
After Width: | Height: | Size: 40 KiB |
BIN
png/maintainerr.png
Normal file
After Width: | Height: | Size: 29 KiB |
BIN
png/manyfold.png
Normal file
After Width: | Height: | Size: 202 KiB |
BIN
png/meshtastic.png
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
png/microsoft-azure.png
Normal file
After Width: | Height: | Size: 34 KiB |
BIN
png/microsoft-copilot.png
Normal file
After Width: | Height: | Size: 27 KiB |
BIN
png/microsoft-exchange.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
png/microsoft-sharepoint.png
Normal file
After Width: | Height: | Size: 31 KiB |
BIN
png/microsoft-teams.png
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
png/myspeed.png
Normal file
After Width: | Height: | Size: 18 KiB |
BIN
png/netalertx.png
Normal file
After Width: | Height: | Size: 3.8 KiB |
BIN
png/netapp-light.png
Normal file
After Width: | Height: | Size: 653 B |
BIN
png/netapp.png
Before Width: | Height: | Size: 653 B After Width: | Height: | Size: 653 B |
BIN
png/nextcloud-contacts.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
png/nocobase-light.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
png/nocobase.png
Normal file
After Width: | Height: | Size: 6.6 KiB |
BIN
png/ollama.png
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
png/orcaslicer.png
Normal file
After Width: | Height: | Size: 10 KiB |
BIN
png/overleaf.png
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
png/owntone.png
Normal file
After Width: | Height: | Size: 19 KiB |
BIN
png/p1ib.png
Normal file
After Width: | Height: | Size: 13 KiB |
BIN
png/patreon-white.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
png/patreon.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
png/penpot-light.png
Normal file
After Width: | Height: | Size: 2.6 KiB |