Getting Started
QR Code Generator is an open source service that creates a QR code image for any URL, with optional logo overlay. Available as a managed service in Eyevinn Open Source Cloud, each instance serves a single QR code at a stable URL — useful for embedding in print materials, landing pages, or digital signage without depending on a third-party QR service.
Prerequisites
- If you have not already done so, sign up for an Eyevinn OSC account
Step 1: Create an instance
Navigate to the QR Code Generator service in the OSC web console. Click Create qr-generator and fill in:
| Field | Description | Required |
|---|---|---|
| name | Instance name (alphanumeric, used in the URL) | Yes |
| GotoUrl | The URL the QR code should encode | Yes |
| LogoUrl | Public URL of a logo image to overlay in the center of the QR code | No |
Click Create. Once the status turns green, click the instance card to open it.
Step 2: Retrieve the QR code image
The service exposes the QR code at the root path of the instance URL. For an instance named myqr, the image URL looks like:
https://myqr.eyevinn-qr-generator.auto.prod.osaas.io/
You can embed this directly in an <img> tag or download the image for offline use.
Default credentials
This service has no authentication — the QR code image is publicly accessible at the instance URL.
Usage example
Embed the QR code in a web page:
<img
src="https://myqr.eyevinn-qr-generator.auto.prod.osaas.io/"
alt="QR code"
width="200"
height="200"
/>
Or fetch and display it in a React component:
function QRCodeImage({ instanceUrl }: { instanceUrl: string }) {
return <img src={instanceUrl} alt="QR code" width={200} height={200} />;
}
CLI usage
npx -y @osaas/cli create eyevinn-qr-generator myqr \
-o GotoUrl="https://example.com/landing"
With an optional logo:
npx -y @osaas/cli create eyevinn-qr-generator myqr \
-o GotoUrl="https://example.com/landing" \
-o LogoUrl="https://example.com/logo.png"