Repository navigation
Getting started
Generated from docs/getting-started.md in the repository. Edit it there; changes made on the wiki are overwritten.
Readmint turns a design file into a README graphic and keeps it current with a GitHub Action in your own repository. This page is the shortest path from nothing to a rendered graphic; the rest of the wiki explains each step in depth.
A design is a YAML or JSON file in your repository, for example readmint/designs/card.yaml. The quickest start is a
template: copy one from the examples repository (ready-to-copy
workflows and designs, with the fonts they use) or from the starter templates, and
change it. The design format describes every layer, asset and animation, and
expressions bind text to your GitHub data.
Save this as .github/workflows/readmint.yml, with an exact release tag instead of vX.Y.Z and your own design paths:
name: Readmint
on:
schedule:
- cron: "17 3 * * *"
workflow_dispatch:
permissions:
contents: write
concurrency:
group: readmint
cancel-in-progress: false
jobs:
render:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: MrLarkyy/Readmint@vX.Y.Z
with:
designs: |
readmint/designs/card.yaml
readmint/designs/languages.yamlEvery input, the permissions the push needs and the errors are in the GitHub Action page.
Run the workflow once with Run workflow. It commits the rendered files and prints a <picture> snippet in the log
group README snippet; paste the snippet into your README. After that the schedule keeps the graphic current.
The CLI renders and previews a design locally with the same renderer, from fixture data and without a token. The editor edits a design visually with the same live preview.
- Fonts you bring yourself, and when they are embedded: fonts.md.
- The data your design can read: data-sources.md and data-github.md.
- PNG, WebP, APNG and GIF instead of SVG: raster.md.
- Something failed: troubleshooting.md.
Home · Getting started · Examples · Source
See it first
Start here
Guides
Reference
Contributors