---
title: "sosie: GitHub → Image"
description: "sosie draws GitHub comments, review threads and whole reviews as images, the way github.com draws them, without a browser."
canonical: "https://sosie.page/"
---

# GitHub comments as images, without a browser

One Rust binary draws what github.com draws, in light and dark. No Chromium, no screenshots.

The example on the page is [a review comment on src/parser.rs](https://github.com/stickerdaniel/sosie-canary/pull/14#discussion_r4767159498), drawn by sosie in GitHub's light and dark themes.

## Install

[v0.4.0 is out](https://github.com/stickerdaniel/sosie/releases/tag/v0.4.0).

### macOS

```sh
curl -fsSL https://sosie.page/install | sh
```

### Linux

```sh
curl -fsSL https://sosie.page/install | sh
```

### Windows

```powershell
irm https://sosie.page/install.ps1 | iex
```

### Cargo

```sh
cargo install --git https://github.com/stickerdaniel/sosie --tag v0.4.0 --locked sosie-cli
```

## What can it draw?

Five surfaces from GitHub's API, and one chart that needs no API at all.

- **Issue comment**: The box, avatar, badges and body of an issue page.
- **Pull request comment**: The pull request page's own header: author, commented, time.
- **Markdown body**: The body alone, with GitHub's mentions, emoji and syntax colors.
- **Review**: The summary line, the review body and every thread.
- **Review comment**: One thread: path, diff rows, line numbers and the suggested change.
- **Metric chart**: Before and after numbers as bars in GitHub's colors. A chart needs no API and no token.

## Links

- [README for agents](https://sosie.page/llms.txt)
- [Source on GitHub](https://github.com/stickerdaniel/sosie)
- [Latest release](https://github.com/stickerdaniel/sosie/releases/latest)
- [Licences](https://sosie.page/licences.txt)
