Logo van Add App Icon

Add App Icon

CommunityPopulair
amir20
add-app-icon

Use when adding a bundled app icon to Dozzle for a container image that shows no logo, or when an image resolves to the wrong icon

Overzicht

Uitgeveramir20
Repositorydozzle
Skillnaamadd-app-icon
Sterren
14.6K
Forks
634
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door amir20 op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Add App Icon in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/amir20/dozzle/tree/main/.claude/skills/add-app-icon
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/amir20/dozzle.git /tmp/dozzle
mkdir -p .claude/skills
cp -r /tmp/dozzle/.claude/skills/add-app-icon .claude/skills/add-app-icon
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Add App Icon in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Add App Icon automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Add App Icon niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Add App Icon

Icons live in assets/icons/apps/<slug>.svg (or .webp). The filename without the extension is the slug. assets/utils/appIcons.ts resolves an image reference to a slug.

Procedure

  1. Find how the image resolves today. The resolver drops registry, tag and digest, then tries the image name and falls back to the namespace (linuxserver/sonarr tries sonarr). Distributor namespaces (DISTRIBUTORS) and generic names (GENERIC, e.g. server, app) are skipped. Suffixes like -server, -app, -alpine are stripped.

  2. Get the icon from dashboard-icons. Prefer SVG, use WebP only when no SVG exists. Never use PNG (it is not globbed). Check the upstream tree rather than guessing URLs, since variants can exist in one format and not another:

    bash
    gh api 'repos/homarr-labs/dashboard-icons/git/trees/main?recursive=1' \
      --jq '.tree[].path' | grep -E '^(svg|webp)/<slug>(-light|-dark)?\.'
    bash
    slug=<slug>
    curl -fsSL -o assets/icons/apps/$slug.svg \
      https://raw.githubusercontent.com/homarr-labs/dashboard-icons/main/svg/$slug.svg

    If the SVG is over 20KB (wc -c < assets/icons/apps/$slug.svg), delete it and use the WebP below instead. An SVG that large is almost always a traced raster made of thousands of paths, not real vector artwork.

    Upstream WebPs are 128-4096px and often 20-180KB. Downscale to 64px tall, lossy, like every other WebP in the folder (they land around 1-3KB). cwebp and webpinfo ship in the webp package (brew install webp, apt install webp):

    bash
    curl -fsSL -o /tmp/$slug.webp \
      https://raw.githubusercontent.com/homarr-labs/dashboard-icons/main/webp/$slug.webp
    cwebp -quiet -resize 0 64 -q 80 -m 6 /tmp/$slug.webp -o assets/icons/apps/$slug.webp

    Look at the result before committing. Do not substitute the app's own favicon.svg when upstream has no SVG: those are often a PNG wrapped in an <image> tag, not vector artwork.

    If upstream has themed variants, add them too: <slug>-light.svg is artwork for dark backgrounds, <slug>-dark.svg is for light backgrounds. The base <slug>.svg is still required, since it is what the resolver checks for.

    Use the upstream slug as the filename. Do not rename it to match the image.

  3. If the image name does not match the slug after step 1, add an entry to ALIASES in assets/utils/appIcons.ts, keyed by the lowercased image name or namespace:

    ts
    "signal-cli-rest-api": "signal",

    Do not alias a generic word or a distributor namespace. If a new distributor repackages other people's software, add it to DISTRIBUTORS instead.

  4. Add a case to the iconSlugForImage test.each table in assets/utils/appIcons.spec.ts for every alias you added:

    ts
    ["bbernhard/signal-cli-rest-api:latest", "signal"],
  5. Verify:

    bash
    TZ=UTC bun run test assets/utils/appIcons.spec.ts
    bunx prettier --write assets/utils/appIcons.ts assets/utils/appIcons.spec.ts

    Then check every icon in the folder, not only yours. This should print nothing; any WebP taller than 64px, any file that is not really a WebP, or any SVG over 20KB needs step 2 redone:

    bash
    sh -c 'for f in assets/icons/apps/*.webp; do
      h=$(webpinfo "$f" 2>/dev/null | awk "/Height:/{print \$2; exit}")
      [ "${h:-0}" -gt 0 ] || { echo "not a webp: $f"; continue; }
      [ "$h" -gt 64 ] && echo "${h}px tall: $f"
    done
    find assets/icons/apps -name "*.svg" -size +20k'

Rules

  • One commit per batch, titled feat(icons): add icons for <apps>.
  • Only well-known, publicly available images. No logos for private or internal images; users can already pick an existing icon with the dev.dozzle.icon=<slug> label, or hide a wrong guess with dev.dozzle.icon=none.
  • Do not hand-edit upstream artwork beyond what the file needs to load. The WebP downscale in step 2 is the one exception.
  • When the batch comes from GitHub issues, one PR per issue is fine; end each PR body with Closes #<issue>.

Veelgestelde vragen

Wat doet de AI-skill Add App Icon?

Use when adding a bundled app icon to Dozzle for a container image that shows no logo, or when an image resolves to the wrong icon

Waarom Add App Icon gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Add App Icon bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Add App Icon in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/amir20/dozzle/tree/main/.claude/skills/add-app-icon. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Add App Icon gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Add App Icon gebruiken?

Zoveel als je wilt. Je kunt Add App Icon gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Add App Icon gratis?

Ja. Deze skill is door amir20 op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇