qr-code

Generate a QR code image from a provided URL.

Updated Apr 13, 2026
One-click install
npx skills add https://github.com/happyaaa/CampusAI --skill qr-code-happyaaa
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: qr-code
Source: https://github.com/happyaaa/CampusAI/tree/main/Android/src/app/src/main/assets/skills/qr-code
Command: npx skills add https://github.com/happyaaa/CampusAI --skill qr-code-happyaaa

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires qrcodejs, and includes scripts (resource) components.

What problem does it solve?

This skill converts a URL into a ready-to-use QR code image, enabling quick sharing and embedding in apps and documents.

Core Features & Use Cases

  • URL-to-QR Transformation: Generate QR codes from arbitrary URLs for websites, mobile apps, or printed materials.
  • Output Formats: Produce PNG images (base64-encoded) suitable for embedding in apps or web pages.
  • Use Case: Imagine adding a button in a mobile app that converts a clicked URL into a scannable QR code for easy sharing.

Quick Start

Provide a URL to generate and return its QR code image

Frequently Asked Questions about qr-code

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I generate a QR code from a URL using JavaScript?

To generate a QR code from a URL, you can use a client-side JavaScript library like qrcodejs to render the URL into a scannable image instantly without server-side processing.

Can I embed a generated QR code directly into a web or mobile app UI?

Yes, you can embed a generated QR code into app UIs or documents. The process renders the URL on a canvas and returns base64-encoded PNG image data ready for immediate display.

Does client-side QR code generation work for both web and Android apps?

Client-side QR code generation works for web and Android apps. Using JavaScript to render the code directly in the browser or web view allows quick URL encoding into QR visuals across platforms.

What is the best way to convert a URL into a scannable QR code image for sharing?

The best way to convert a URL into a scannable image is using a JavaScript QR code generator. It renders the provided URL directly on a canvas and outputs the image data for easy sharing.

Do I need a server to create QR codes from arbitrary URLs?

No, you do not need a server to create QR codes. This approach uses a client-side library to render the QR code image directly from the provided URL in the browser environment.