Disclaimer This is not an issue. I apologize for polluting issue tracker but I'm not sure where does Show Codeberg stuff belong. 🤔
As an avid Github stargazer, I was contemplating about Codeberg stars and it occurred to me that projects mirrored between Codeberg and Github suffer from stars fragmentation.
Take teddit for example. As of writing this, it has:
- 56 stars on Codeberg (https://codeberg.org/teddit/teddit)
- 44 stars on Github (https://github.com/teddit-net/teddit)
Codeberg users might not be aware of Github stars and vice versa. Basically, there is no way for them to show cumulative star count in their Readme which surely doesn't help from a marketing perspective.
As someone who did some https://badgen.net tweaks, I figured out I could probably solve it by creating a small Runkit endpoint utilizing Gitea & Github API.
Few keystrokes later, there you have it 🎉
https://runkit.com/vladimyr/total-stars
It can be used in the following fashion:

which yields this nice total stars badge:
I hope that someone might find it useful 🏄
If you have any questions or improvement suggestions let me know, I'm all ears.
**Disclaimer** This is not an issue. I apologize for _polluting_ issue tracker but I'm not sure where does _Show Codeberg_ stuff belong. :thinking:
---
As an avid Github stargazer, I was contemplating about Codeberg stars and it occurred to me that projects mirrored between Codeberg and Github suffer from stars fragmentation.
Take teddit for example. As of writing this, it has:
1. 56 stars on Codeberg (https://codeberg.org/teddit/teddit)
2. 44 stars on Github (https://github.com/teddit-net/teddit)
Codeberg users might not be aware of Github stars and vice versa. Basically, there is no way for them to show cumulative star count in their Readme which surely doesn't help from a marketing perspective.
As someone who did some https://badgen.net tweaks, I figured out I could probably solve it by creating a small [Runkit](https://runkit.com) endpoint utilizing Gitea & Github API.
Few keystrokes later, there you have it :tada:
https://runkit.com/vladimyr/total-stars
It can be used in the following fashion:
```md

```
which yields this nice total stars badge: 
I hope that someone might find it useful :surfer:
If you have any questions or improvement suggestions let me know, I'm all ears.