Generate your metrics that you can embed everywhere, including your GitHub profile readme! It works for both user and organization accounts, and even for repositories! <%- plugins.base.readme.demo?.replace(/
For user accounts For organization accounts
<% { let cell = 0 const elements = Object.entries(plugins).filter(([key, value]) => (value)&&(!["base", "core"].includes(key))) if (elements.length%2) elements.push(["", {}]) %> <% for (let i = 0; i < elements.length; i+=2) { const cells = [["even", elements[i]], ["odd", elements[i+1]]] for (const [cell, [plugin, {name, readme}]] of cells) { if (cell === "even") { -%> <% } %> <% if (cell === "odd") { -%> <% }} for (const [cell, [plugin, {name, readme}]] of cells) { if (cell === "even") { -%> <% } %> <%- readme.demo.replace(/ i ? ` ${x}` : x)?.join("\n") %> <% if (cell === "odd") { -%> <% }}} -%>
🧩 <%= elements.length %> plugins
<%= name -%>
More to come soon!
<% } %> <% { let cell = 0 const elements = Object.entries(templates).filter(([key, value]) => value) if (elements.length%2) elements.push(["", {}]) %> <% for (let i = 0; i < elements.length; i+=2) { const cells = [["even", elements[i]], ["odd", elements[i+1]]] for (const [cell, [template, {name, readme}]] of cells) { if (cell === "even") { -%> <% } %> <% if (cell === "odd") { -%> <% }} for (const [cell, [template, {name, readme}]] of cells) { if (cell === "even") { -%> <% } %> <%- readme.demo.replace(/ i ? ` ${x}` : x)?.join("\n") %> <% if (cell === "odd") { -%> <% }}} -%>
🖼️ <%= elements.length-1 %> templates
<%= name -%>
<% } %>