Skip to content

GitHub PR ​

GitHub-style pull request card with merge status

Preview ​

GitHub PR

Dimensions ​

  • Width: 1200px
  • Height: 630px
  • Aspect Ratio: 1200:630

Fonts ​

  • Inter
  • Space Grotesk

Slide Fields ​

FieldTypeRequiredMax Length
pr_numtext✅10
titletext✅80
branchtext✅40
statustext—20
additionstext—10
deletionstext—10
files_changedtext—10

Brand Fields ​

FieldTypeRequiredDefault
brand_nametext✅—
brand_handletext——
bg_colorbg—#1e1e2e
bg_color_endbg—#11111b
accent_colorbg—#cba6f7
accent_color_endbg—#89b4fa
bg_imageimage——
bg_image_opacitynumber—0.15
logoimage——

Example JSON ​

json
{
  "brand": {
    "brand_name": "Ajianaz",
    "brand_handle": "@ajianaz"
  },
  "slides": [
    {
      // fill slide fields here
    }
  ]
}

Usage ​

bash
cosy render --template github-pr --data input.json --output output.png

Released under the BSL-1.0 License.