contrib.rocks: Generate an Image of GitHub Repositories Top Contributors
Created: Sat Apr 27 2024
Last update: Sat Apr 27 2024
Estimated reading time3 mincontrib.rocks is a an online tool that generates an image of the top contributors of a GitHub repository that can be embedded in any website or Markdown file; including its README file.
It is completely free and maintained by Suguru Inatomi, a.k.a. lacolaco. The source code is available on GitHub:
This service allows to give a visual representation of the top contributors of any GitHub repository.
Generating such an image of your GitHub repository top contributors can be a great way to show the activity of your GitHub repository and encourage people to contribute, but also to celebrate your top contributors.
How to Use
How to UseUsage is pretty straightforward:
- Go to https://contrib.rocks/
- Enter a GitHub repository (e.g.,
open-reSource/openresource.dev
)
And that’s it! You will get the image representing the top contributors of the GitHub repository you entered.
Then, you can click on the “Get Image URL!” button to get the Markdown code to embed the image in your README file for instance.
<a href="https://github.com/open-reSource/openresource.dev/graphs/contributors">
<img src="https://contrib.rocks/image?repo=open-reSource/openresource.dev" />
</a>
Made with [contrib.rocks](https://contrib.rocks).
You will notice that the first part of the generated Markdown code is in reality HTML code. You can use this HTML code to embed the image in any website or Markdown file.
Rendering
RenderingHere is what it looks like for our openresource.dev GitHub repository:
Made with contrib.rocks.
And here is the same rendering, but on a more active repository like godot:
Godot Engine – Multi-platform 2D and 3D game engine
Made with contrib.rocks.
Some parameters can be added to the URL to customize the image:
max={number}
: Max contributor count (100 by default)columns={number}
: Max columns (12 by default)anon={0|1}
: Include anonymous users (false by default)
So if we add &max=10&columns=2
to the image URL https://contrib.rocks/image?repo=godotengine/godot
we get the following image with only the top 10 contributors and 2 columns:
<a href="https://github.com/godotengine/godot/graphs/contributors">
<img src="https://contrib.rocks/image?repo=godotengine/godot&max=10&columns=2" />
</a>
Made with [contrib.rocks](https://contrib.rocks).
Made with contrib.rocks.
Found something valuable in this article?
Dropping us a star on GitHub would show your support and help others discover it.
Found a typo, a grammar error or a broken link? This article is missing something important?
Edit this article or create an issue for this article on GitHub.
CC BY-NC-SA 4.0 2023-2024 © Open {re}Source