# GitHub Readme Activity Graph

> A Cloudflare Worker that generates a GitHub contribution activity graph as an SVG for your README.

A small service that renders your GitHub contribution history as an SVG image, so you can embed it directly in a README.

## Usage

```md
![](https://graph.fasu.dev/graph?user=pyyupsk)
```

## Endpoints

- `/graph`: Returns the SVG image. You can set the theme, date range, height, corner radius, and individual colors through query parameters.
- `/data`: Returns the same contribution data as JSON, without rendering an SVG.

## Credit

The themes and the GitHub GraphQL query come from [Ashutosh00710/github-readme-activity-graph](https://github.com/Ashutosh00710/github-readme-activity-graph).
