Repository navigation
v0.8.0
Highlights ✨
Tailor 0.8.0 adds an opt-in social capability that generates theme-aware Open Graph cards (pages/og.png) and animated light and dark SVG assets for repository READMEs.
Social assets and tailor social
- Opt-in configuration: Declare
social.enabled: truein.tailor.ymlto managenix/og.nix,just/og.just, and.github/workflows/tailor-social.yml. Tailor inherits the project display name (using the Haberdasher and Vitrine title rule), description (with trailing emoji removed), icon (pages/icon.svgorpages/icon.png), and µCSS colour palette frompages/style.css. - Static README SVGs (
tailor social --static): Generates offline dark and light SVG pairs underpages/social/for the hero banner (with undulating water waves), preferred social link pills, community banners (discord,matrix,slack,irc,forum,discussions), balanced Haberdasher package rows, a multi-coloured Sponsors call-to-action banner, a framed animated demo window (demo.webpordemo-still.pngup to 512 KiB), and a slim "Fitted by Tailor" footer banner. - Live README SVGs (
tailor social --live): Generates a 4-column project health strip (commits, open and closed issues, merged and open pull requests, and established date linked to/pulse), an animated star-history chart (or drifting-stars call to action below threshold), a floating-avatars human contributors banner linked to/graphs/contributors, and live Discord online and member counts. - README marker blocks: Updates only explicit
<!-- tailor:social-*:start -->/<!-- tailor:social-*:end -->pairs inREADME.md, leaving surrounding prose untouched.
Open Graph cards and Pages updates
- Offline
og.pngrendering (just og): Adds a self-contained Nix wrapper (nix/og.nix) bundling headless Chromium,Work Sans, staticFira Code, andoxipngto render1280 x 640PNG cards under 1 MB. Uses a borderless icon-showcase split layout by default (og.include_preview: false) or a framed demo screenshot or terminal preview when opted in, and requires--forceto overwrite existing artwork. - Local health check (
tailor measure): Validates existingpages/og.pngfiles read-only for PNG format,1280 x 640or1200 x 630dimensions, and size under 1 MB. - Static Pages starter (
swatches/pages/): Adds Open Graph and Twitter Card (summary_large_image) meta tags using{{SITE_URL}}, addsirctopages.links, and adds a subtle inline "Fitted by Tailor" colophon to the page footer.
Upgrade notes
- Default merging never enables
social. Addsocial: { enabled: true }to.tailor.yml, runtailor baste, then runtailor alter. - Existing
first-fitpages/index.htmland bespokepages/og.pngfiles stay untouched duringtailor alter. - Update to
v0.8.1for the updated.github/workflows/tailor-social.ymlworkflow that uses branch-basedsocial-assetsURLs without pushing to a protected default branch.
Changelog
- 3e9cc13: deps(deps): bump the gomod group with 4 updates (#180) (@dependabot[bot])
- dde7c75: feat(social): add bobbing hero waves, racing star collapse, framed demo, and Tailor footer (@flexiondotorg)
- 677c3b8: feat(social): add health strip, flowing waves, sponsors fix, and contributors banner (@flexiondotorg)
- cd5214e: feat(social): add themed Open Graph PNG and animated README SVG asset generation (#181) (@flexiondotorg)
- 02e331d: feat(social): balance package rows and add arcade star history comet animation (@flexiondotorg)
- 4c6ef86: feat(social): enable social assets, ntrecord demo, and OG card for Tailor (#182) (@flexiondotorg)
- 1a9aaad: feat(social): polish hero, Vitrine sponsors, contributors pill, and star burst (@flexiondotorg)
- 2ecee9a: feat(social): stagger glints, add star CTA, use Fira Code demo, and populate live README assets (@flexiondotorg)
- 05ab5a5: feat(social): unify stats font size and add web footer Tailor colophon (@flexiondotorg)
Install
- Debian and Ubuntu: apt.wimpys.world
- Fedora and openSUSE: rpm.wimpys.world
- Arch Linux: pkg.wimpys.world
- Alpine Linux: apk.wimpys.world
- macOS (Homebrew): brew.wimpys.world
- Windows (Scoop): scoop.wimpys.world
- Nix and NixOS: nix.wimpys.world
- Any platform, with bin:
bin install github.com/wimpysworld/tailor - Container:
docker run --rm ghcr.io/wimpysworld/tailor --version
Tailor needs a GitHub authentication token. Set GH_TOKEN or GITHUB_TOKEN, or run gh auth login locally.