Skip to content

A QR Code generation service using Cloudflare workers

Notifications You must be signed in to change notification settings

rikkaneko/qrcode-gen

Repository files navigation

qrcode-gen

This is a QR Code generation service targeted to run on Cloudflare workers.
qrcode.nekoid.cc is the current deployment of this project.

Usage

This application use query parameters to recieve input text and control the output format.

Parameters Description
q Text to encode
URL-encoded string
type Output format
(Available options: svg and utf8)

The output format is default to svg if detected browser user agent, otherwise utf8.
If used svg, a QR code of SVG format would be served with proper Content-Type header set.
If used utf8, a QR code formatted with UTF-8 characters would be generated.

Example

Testing string: https://qrcode.nekoul.com

UTF-8

UTF-8 QR Code in konsole

SVG

SVG QR Code

About

A QR Code generation service using Cloudflare workers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published