Beautiful coding quotes for your GitHub README
CodeQuote renders a random programming quote as a self-contained SVG card on every request. Drop one image tag into your README and it just works β no JavaScript, no database, no account.
π Live Website
β¨ Features
| π Random on every request | A fresh quote is selected from a curated set each time the endpoint is hit. |
| π§© Self-contained SVG | No external images or fonts, so the card renders identically anywhere it's embedded. |
| π README-ready | Built specifically to sit inside a Markdown image tag on GitHub, GitLab, or npm. |
| π¨ Themeable | Switch between dark, light, or an auto-adapting GitHub-aware theme via a query parameter. |
| π‘οΈ No account, no database | Nothing to sign up for and nothing about you gets stored. |
| π Open source | MIT licensed. Read the code, self-host it, or send a pull request. |
π Usage
Paste the snippet below anywhere in your README.md. GitHub re-fetches the image on every view, so the quote changes over time.

That's it β no setup, no API key, no build step.
π API
A single, predictable endpoint. No API key, no rate-limit headers to manage, no request body β one GET request returns one SVG.
Endpoint
GET /api/quote.svg
Example request
curl -i "/uploads/posts/inline-8e0d8bb0de.svg?theme=github"
Response headers
Content-Type: image/svg+xml
Cache-Control: no-cache
Query parameters
| Parameter | Values | Default |
|---|---|---|
theme |
dark, light, github, dracula, nord, monokai, solarized, gruvbox, onedark, tokyonight, catppuccin, synthwave, ayu, rosepine |
dark |
author |
substring match, e.g. Torvalds |
any |
font |
sans, serif, mono |
sans |
width |
380β900 (px) |
600 |
π οΈ Built in the open
CodeQuote is a small, MIT-licensed project. Browse the source, open an issue, or contribute a new quote.
π©βπ» Creators
|
πΙ΄α§κ«γ €π©ππͺ
|
π License
Released under the MIT License. See LICENSE for details.
Made with π by the CodeQuote contributors
Comments