{"id":28912588,"url":"https://github.com/christophecvb/strapi-plugin-qr-code","last_synced_at":"2026-01-20T17:03:45.367Z","repository":{"id":298539759,"uuid":"1000313293","full_name":"ChristopheCVB/strapi-plugin-qr-code","owner":"ChristopheCVB","description":"A Strapi plugin to display generated QR Codes on the admin panel's ContentTypes.","archived":false,"fork":false,"pushed_at":"2025-06-21T13:52:46.000Z","size":1028,"stargazers_count":0,"open_issues_count":2,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-21T14:38:51.878Z","etag":null,"topics":["plugin","qr-code","strapi","strapi-plugin"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ChristopheCVB.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-11T15:27:54.000Z","updated_at":"2025-06-21T13:52:32.000Z","dependencies_parsed_at":"2025-06-11T17:21:41.152Z","dependency_job_id":"a2d08135-8cf1-4a68-ab7f-77b5aa5f80a4","html_url":"https://github.com/ChristopheCVB/strapi-plugin-qr-code","commit_stats":null,"previous_names":["christophecvb/strapi-plugin-qr-code"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/ChristopheCVB/strapi-plugin-qr-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChristopheCVB%2Fstrapi-plugin-qr-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChristopheCVB%2Fstrapi-plugin-qr-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChristopheCVB%2Fstrapi-plugin-qr-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChristopheCVB%2Fstrapi-plugin-qr-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ChristopheCVB","download_url":"https://codeload.github.com/ChristopheCVB/strapi-plugin-qr-code/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ChristopheCVB%2Fstrapi-plugin-qr-code/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261186796,"owners_count":23121950,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["plugin","qr-code","strapi","strapi-plugin"],"created_at":"2025-06-21T20:12:06.971Z","updated_at":"2026-01-20T17:03:45.360Z","avatar_url":"https://github.com/ChristopheCVB.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\" width=\"150px\"\u003e\n  \u003cimg style=\"width: 150px; height: auto;\" src=\"assets/logo.png\" alt=\"Logo - Strapi Plugin QR Code\" /\u003e\n\u003c/div\u003e\n\u003cdiv align=\"center\"\u003e\n  \u003ch1\u003eStrapi v5 - Plugin QR Code\u003c/h1\u003e\n  \u003cp\u003eStrapi Plugin to easily show QR Codes\u003c/p\u003e\n  \u003ca href=\"https://www.npmjs.org/package/strapi-plugin-qr-code\"\u003e\n    \u003cimg alt=\"GitHub package.json version\" src=\"https://img.shields.io/github/package-json/v/ChristopheCVB/strapi-plugin-qr-code?label=npm\u0026logo=npm\"\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.npmjs.org/package/strapi-plugin-qr-code\"\u003e\n    \u003cimg src=\"https://img.shields.io/npm/dm/strapi-plugin-qr-code.svg\" alt=\"Monthly download on NPM\" /\u003e\n  \u003c/a\u003e\n\u003c/div\u003e\n\n---\n\n\u003cdiv style=\"margin: 20px 0\" align=\"center\"\u003e\n  \u003cimg style=\"width: 100%; height: auto;\" src=\"assets/preview.png\" alt=\"UI preview\" /\u003e\n\u003c/div\u003e\n\nA plugin for [Strapi Headless CMS](https://github.com/strapi/strapi) that provides an easy way to show QR Codes in Strapi entities.\n\n## Features\n- Show QR Code to strapi entities on update form. This QR Code leads to computed text. \n\n## Usage\n\nTo configure the **QR Code** plugin, add your configuration to the plugin settings. The configuration consist of an array of contentTypes with their own computeValue function:\n\n```typescript\ntype Config = {\n  contentTypes: Array\u003c{\n    uid: UID.ContentType\n    populate?: Array\u003cstring\u003e | '*'\n    computeValue: (\n      uid: UID.ContentType, \n      status: 'draft' | 'published', \n      document: Modules.Documents.Document\u003cUID.ContentType\u003e\n    ): string | Promise\u003cstring\u003e;\n  }\u003e,\n};\n```\nThis configuration allows you to define a computeValue for content-types associated. The plugin try to fetch the concerned entity and pass it to computeValue function in document parameters. The string output of the function is what is used to generate the QR Code.\n\n### Example Configuration\n\n```typescript\n// config/plugins.ts\nimport type { Config as QRCodeConfig } from 'strapi-plugin-qr-code/dist/server/src/config'\n\nexport default () =\u003e ({\n  'qr-code': {\n    enabled: true,\n    config: {\n      contentTypes: [\n        {\n          uid: 'api::content.content',\n          computeValue: (uid, status, document) =\u003e {\n            return `/${uid.split('.')[1]}?status=${status}\u0026documentId=${document.documentId}`\n          },\n        },\n        {\n          uid: 'api::category.category',\n          computeValue: (uid, status, document) =\u003e {\n            return `My category is: ${document.name} - status: ${status} - edited: ${document.updatedDate}`\n          },\n        },\n      ],\n    } satisfies QRCodeConfig,\n  }\n})\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristophecvb%2Fstrapi-plugin-qr-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchristophecvb%2Fstrapi-plugin-qr-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchristophecvb%2Fstrapi-plugin-qr-code/lists"}