diff --git a/README.md b/README.md index aa8926a..c035e0e 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ Organization-level defaults for the **drumandbytes** GitHub org. | Path | Purpose | |---|---| | [`profile/README.md`](profile/README.md) | Renders as the org landing page at [github.com/drumandbytes](https://github.com/drumandbytes). | -| [`profile/assets/`](profile/assets/) | Images used by the profile page (banner, etc.). | +| [`profile/assets/`](profile/assets/) | Profile banner + the `dnb-robot` GitHub App logo (`dnb-robot.svg` source, `dnb-robot.png` avatar) — see its [README](profile/assets/README.md). | | [`profile/scripts/update_profile.py`](profile/scripts/update_profile.py) | Regenerates the `BLOG-POSTS` block in the profile from the blog RSS feed. | | [`.github/workflows/update-profile.yml`](.github/workflows/update-profile.yml) | Runs that script daily and commits the result (as the `dnb-robot` app). | | [`.github/workflows/ci.yml`](.github/workflows/ci.yml) | actionlint + `ruff` + template validation on every PR; the gate for auto-merge. | diff --git a/profile/assets/README.md b/profile/assets/README.md new file mode 100644 index 0000000..299b861 --- /dev/null +++ b/profile/assets/README.md @@ -0,0 +1,31 @@ +# Profile assets + +Images used by the org profile page and org-level branding. + +| File | Purpose | +|---|---| +| `banner.webp` | 1400×760 banner at the top of [`profile/README.md`](../README.md). | +| `dnb-robot.svg` | Source logo for the `dnb-robot` GitHub App (the org's automation bot). Geometric robot head — `#0D1117` ground, `#FFFFFF` mark, `#FF6633` accent, matching [`profile/social/`](../social/README.md). | +| `dnb-robot.png` | 512×512 raster of `dnb-robot.svg`, sized for the GitHub App avatar. | + +## Regenerating `dnb-robot.png` + +After editing the SVG, re-render the PNG with headless Brave (the same tool +`profile/social/build.sh` uses): + +```sh +cd profile/assets +"/Applications/Brave Browser.app/Contents/MacOS/Brave Browser" --headless=new \ + --hide-scrollbars --force-device-scale-factor=1 --window-size=512,512 \ + --default-background-color=00000000 --virtual-time-budget=2000 \ + --screenshot=dnb-robot.png "file://$PWD/dnb-robot.svg" +``` + +Fallback with ImageMagick: `magick -background none -density 384 dnb-robot.svg -resize 512x512 dnb-robot.png`. + +## Using the logo as the bot avatar + +The `dnb-robot` GitHub App is **not** managed in `dnb-tf` — its avatar is set by +hand. Upload `dnb-robot.png` at **Settings → Developer settings → GitHub Apps → +dnb-robot → Display information → Logo**. The committed files here are the source +of truth. diff --git a/profile/assets/dnb-robot.png b/profile/assets/dnb-robot.png new file mode 100644 index 0000000..a6482fa Binary files /dev/null and b/profile/assets/dnb-robot.png differ diff --git a/profile/assets/dnb-robot.svg b/profile/assets/dnb-robot.svg new file mode 100644 index 0000000..8e47257 --- /dev/null +++ b/profile/assets/dnb-robot.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + +