go3270 is a support library of bbs, not a core repository. Remove it from pages/suite.yml (the bar and the home page cards), REPOS in tools/gen.py, the suite CSS and the suite table. Remove its banner and social preview. Purple (DDCD) is now a free Book. brand_ref.py now lists the free Books from the Books that REPOS does not use. docs/sites.md tells how to remove a core repository. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01B82eRRh4dhs1LGg2Sj8h67 Signed-off-by: Neo-Desktop <321592+Neo-Desktop@users.noreply.github.com>
2.5 KiB
Assets: previews, upload and generation
Previews
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
README banners
banner/<repo>.svg is the 1280×320 header at the top of the README of each
repository. It is rendered to banner/<repo>.png and banner/<repo>@2x.png.
banner/suite.png is the banner of the organization, for the profile and
website.
Each repository keeps a copy of its @2x PNG at .github/banner.png, and
shows it above its title. tools/art.py <repo> --install <checkout> does
these two steps:
<img src=".github/banner.png" alt="D-Modem/<repo>: <tagline>" width="100%">
Upload to GitHub
GitHub has no API for these images. Thus you must upload them manually:
- Org avatar: in the Settings of the organization, go to Profile →
Profile picture → upload
avatar/org-avatar@2x.png. - Social previews: in the Settings of each repository, go to General →
Social preview → Edit → Upload an image →
social/<repo>.png.
How to make the art of one repository
tools/art.py makes the banner and social preview of a repository. It can
also put the banner in the checkout of the repository:
python3 tools/art.py login # banner/login.* and social/login.*
python3 tools/art.py login --install ../login # also ../login/.github/banner.png and README.md
python3 tools/art.py login --only social # just the social preview
For a new repository, add it to REPOS at the top of tools/gen.py (Book,
colour, icon, tagline, line below, tags). You can also try it first with
flags:
python3 tools/art.py foo --book Beige --tag "What foo is" --sub "One more line." --icon wave --chips Go,SIP
python3 tools/art.py -h lists the Books and icons.
How to generate the images again
tools/gen.py generates the SVGs. The colors, taglines and tags are at the
top of this file. tools/render.js renders the SVGs to PNG with the Chromium
of Playwright. Sauce Code Pro (SauceCodePro Nerd Font Mono) must be installed, to render the text
correctly. The SVGs name it as their font. Thus a viewer that does not have
the font uses another monospace font.
python3 tools/gen.py
python3 tools/app_icon.py
node tools/render.js








