Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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. |
Expand Down
31 changes: 31 additions & 0 deletions profile/assets/README.md
Original file line number Diff line number Diff line change
@@ -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.
Binary file added profile/assets/dnb-robot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions profile/assets/dnb-robot.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.