Generate metrics that can be embedded everywhere, including your GitHub profile readme! Supports users, organizations, and even repositories!
| For user accounts |
For organization accounts |
<%- plugins.base.readme.demo?.replace(/
<% {
let cell = 0
const elements = Object.entries(plugins).filter(([key, value]) => (value)&&(!["base", "core"].includes(key)&&(value.category !== "community")&&(!value.deprecation)))
-%>
|
|
<% if (elements.length%2)
elements.push(["", {readme:{demo:`![]() | `}}])
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 (plugin) { %><%= name -%><% } %> |
<% 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") {
-%>
<% }}}} {
let cell = 0
const elements = Object.entries(plugins).filter(([key, value]) => (value.category === "community")&&(!value.deprecation))
if (elements.length%2)
elements.push(["", {readme:{demo:`![]() | `}}])
-%>
|
๐ฒ See also community plugins
|
<%
for (let i = 0; i < elements.length; i+=2) {
const cells = [["even", elements[i]], ["odd", elements[i+1]]]
for (const [cell, [plugin, {name, readme, authors}]] of cells) {
if (cell === "even") {
-%>
<% } %> <% if (plugin) { %><%= name -%> by <%- authors.map(author => `@${author}`).join(" ") %>
<%- readme.demo.replace(/ | ([\s\S]+?)<\/td>/, ` Render example
$1 `).replace(/
i ? ` ${x}` : x)?.join("\n") %><% } %>
<% if (cell === "odd") {
-%>
<% }}}} %><%# -%>
<% {
let cell = 0
const elements = Object.entries(templates).filter(([key, value]) => (value)&&(!["community"].includes(key)))
-%>
|
|
<% if (elements.length%2)
elements.push(["", {readme:{demo:`![]() | `}}])
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") {
-%>
<% } %> | <%- name -%> |
<% 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") {
-%>
<% }}} -%>
| ๐ See also community templates |
๐ฆ Try it now! |
| ๐ Metrics embed |
โจ Metrics insights |
Embed metrics images on your profile or blog!
Use GitHub actions for even more features!
|
Share your metrics with friends and on social medias!
No configuration needed!
|
Test latest features and patches on ๐งช Metrics beta!
|
Power user?
Fork this repository and edit HTML, CSS, JS and EJS for even more customization!
|
<% } %>