QR Code Gen
CommunityGenerate a QR code URL for any text.
Installation
Save as `qrcode.js`.
Source Code
JavaScriptTutorial.terminal
// qrcode.js
// Uses goqr.me public API
module.exports = async function(context) {
const data = encodeURIComponent(context.args.join(' '));
const url = `https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=${data}`;
return {
imageUrl: url,
markdown: ``
};
};
Live Preview
β Live DemoAgent Session
How to use
- Ensure you have the necessary dependencies installed (if any).
- Place the file in your OpenClaw skills folder (e.g., ~/.openclaw/skills/).
- Restart your agent or reload configuration.
- Invoke it using the filename (without extension) as the tool name, or through natural language if the description is clear.