Skip to content

【WIP】Generate a contributors community SVG for your Repository.(贡献者,来个大合照!one~ two ~ three~,茄子,咔嚓!)

Notifications You must be signed in to change notification settings

veaba/contributors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

560b1c6 · Jul 28, 2022

History

31 Commits
Jul 19, 2022
Jul 19, 2022
Jul 17, 2022
Jul 28, 2022
Jul 27, 2022
Jul 19, 2022
Jul 28, 2022
Jul 27, 2022
Jul 28, 2022
Jul 28, 2022
Jul 28, 2022
Jul 27, 2022
Jul 26, 2022
Jul 28, 2022
Jul 26, 2022
Jul 25, 2022
Jul 25, 2022
Jul 25, 2022
Jul 16, 2022
Jul 20, 2022

Repository files navigation

【WIP】:Website not yet ready

You can generate as many repository contributor avatar group photos as you want.

Home

TODO How use

Github Actions

Website

Design

  • Automatic clipping and rounding of Avatar
  • Horizontal Auto Center auto-center.svg

size

category(TODO)

export default {
+  'veaba/veaba': {
+    category: [
+     {
+        label: 'Platinum Sponsors',
+        users: ['veaba']
+     },
+     {
+        label: 'Gold Sponsors',
+        users: ['veaba2']
+     },
+     {
+        label: 'Silver Sponsors',
+        users: ['veaba3']
+     },
+     {
+        label: 'Sponsors',
+        users: ['veaba4']
+     }
+  ]
  }
}

circle

  • circle: default: circle

  • isRadius:false: you can disabled the feature
export default {
+  'vuejs-translations/docs-zh-cn': {
+    isRadius: false,
+  }
}

margin

text display

  • [] configure text color? (It't necessary?)

config

maybe you need filter some users.

emm, just like as vuejs-translations/docs-zh-cn, it's a Chinese translation for Vue docs community, we does't need show non Chinese contributors in our repo, actually, vuejs-translations/docs-zh-cn upstream repo is vuejs/docs.

in config.ts add your repo configure.

export default {
+  'veaba/veaba': {
+    ignore: [] // if you need ignore some users
+  }
}

Examples

demo:vuejs-translations/docs-zh-cn contributors

👇 👇 👇 ↓↓↓↓↓↓ 👇 👇 👇

☝️ ☝️ ☝️ ↑↑↑↑↑↑ ☝️ ☝️ ☝️

in config.js:

+ const config: ConfigItem =
+ {
+   // https://github.com/vuejs-translations/docs-zh-cn
+   'vuejs-translations/docs-zh-cn': {
+     ignore: [
+       'yyx990803', 'NataliaTepluhina', 'skirtles-code', 'bencodezen', 'dependabot[bot]',
+       'LinusBorg', 'KiritaniAyaka', 'Alex-Sokolov', 'sdras', 'marina-mosti', 'CyberAP',
+       'danielkellyio', 'tylermercer',
+     ], // if you need ignore some users
+     // users: [],?? maybe we need this field.
+     ignoreTotal: 1, // filter some users whose total is too low
+     size: 100,
+     height: 2500, // TODO: maybe automatic
+     width: 800,
+     fontSize: 30,
+   }
+ }

About

【WIP】Generate a contributors community SVG for your Repository.(贡献者,来个大合照!one~ two ~ three~,茄子,咔嚓!)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published