Skip to content

Diff Viewer ​

Code diff comparison viewer

Preview ​

Diff Viewer

Dimensions ​

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

Fonts ​

  • Inter
  • JetBrains Mono
  • Space Grotesk

Slide Fields ​

FieldTypeRequiredMax Length
titletext✅40
filenametext✅40
add_line1text✅60
add_line2text—60
del_line1text✅60
del_line2text—60
additionstext✅8
deletionstext✅8

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 diff-viewer --data input.json --output output.png

Released under the BSL-1.0 License.