Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.05 KB

CONTRIBUTING.md

File metadata and controls

43 lines (28 loc) · 1.05 KB

Contributing

If you want to contribute a badge:

  • Add your badge to the all-badges folder.
  • Add your badge to the index.ts file.
  • Any badge images are welcome (png, 256x256px).

Here is an example of a pull request adding a new badge.

How to test locally?

Build project with next command:

npm run build

Run main.js with next command:

node dist/main.js your-username

This command will collect your data and save it to data/your-username.json file. You can skip recollecting the data with --data flag.

node dist/main.js --data data/your-username.json

How to create a badge image?

Most of the badges are generated with AI. An example of a prompt for the AI:

A sticker of a panda, white background.

Use your favorite tool to remove the background and resize the image to 256x256px.

As always, these badges should be designed and implemented in a way that promotes positivity and inclusivity within the GitHub community.