QR utility

QR API

Generate a QR code that points directly to a GitHub profile. Choose a color, enter a username, and use the generated URL anywhere you need it.

Generator

Enter a GitHub username and optionally choose a QR code color.

#000000
Defaults to 000000.
The QR code will point to https://github.com/USERNAME
⌗ Your QR code will appear here
Loading QR code…
Generated GitHub QR code

How to use

Use the generated QR URL directly in your README, website, documentation, or anywhere else that supports images.

Markdown / README GitHub, GitLab, etc.
![QR Code](https://cdn.bananaofficial.workers.dev/api/qr/?user=octocat)
Markdown with a custom color
![QR Code](https://cdn.bananaofficial.workers.dev/api/qr/?user=octocat&color=7c3aed)
HTML Websites and documentation
<img
  src="https://cdn.bananaofficial.workers.dev/api/qr/?user=octocat"
  alt="QR code for octocat"
>

API

The endpoint generates a QR code for a GitHub profile.

Endpoint

https://cdn.bananaofficial.workers.dev/api/qr/?user=USER&color=123456
Parameter Required Description
user Yes GitHub username whose profile the QR code should link to.
color No Six-character hexadecimal QR color. Defaults to 000000.

Examples

A few valid endpoint URLs.

Default color

Color is omitted, so the API uses black.

/api/qr/?user=octocat

Custom color

Use a six-character hexadecimal color.

/api/qr/?user=octocat&color=ff6600

Testing

Test the API directly from this page.

#000000
⌗ Test result will appear here
Requesting endpoint…
Test QR code