r/github • • 1d ago

Showcase Animated stats cards for your GitHub profile README. No servers, no sign-ups, just SVG.

I posted a few week ago, right after I finished the first release but it evolved quite a bit and got much simpler to setup. Now with more cards, styles and colours.

One command, done! It creates your profile repo if needed, stores a token, lets you pick the cards and the look, and starts the first run. Everything in your own GitHub profile, never out of it.

https://pedrocatalao.github.io/github-cool-readme

Hope you like it!

Cheers,

P.

30 Upvotes

23 comments sorted by

22

u/Insensibilities 1d ago edited 1d ago

You want me to run a script on my local machine from a random website and let it mess with my GitHub cli and tokens? Scary. I'm definitely not doing this.

-10

u/pedrocatalao 1d ago

The script doesn't have access to your token, and your token is never ever read by the script, what it does is sending you to GitHub for you to generate the token and then it is used by the project's GitHub Action (published in the marketplace btw), everything inside your own profile.
The project has existed for a while now, has multiple contributors, 200+ stars and dozens of active users. Also open source if you want to throw it at your AI agent to check for flaws... i'd be happy to address any findings.

Cheers,

14

u/Insensibilities 1d ago edited 1d ago

> The project has existed for a while now, has multiple contributors, 200+ stars and dozens of active users.

It has existed for less than a month.

It has 3 contributors, 2 of whom have contributed almost nothing.

It probably is safe but I am not downloading a random *.sh file and running it on my machine.

-13

u/pedrocatalao 1d ago edited 19h ago

what's your point? No one's asking you to run anything..

if you don't feel comfortable with the script and are unable to validate what it does, it's written right next to the the setup snippet, "you can do it manually" pointing you to the manual steps.

12

u/Insensibilities 1d ago edited 1d ago

what's your point? No one's asking you to run anything..

It asks me to run this script locally on the homepage!

bash <(curl -fsSL https://pedrocatalao.github.io/github-cool-readme/setup.sh)

This would run with your user account rights, which means it can access your environment variables and any files in your home directory.

5

u/zunjae 1d ago

No X, no Y, just Z

So awesome!

2

u/pedrocatalao 7h ago

Fair 😅 I didn't realise it was a pattern :) When you see that of the first time, it just looks good but when it sounds like every other AI assisted post, then it's annoying. Thx!

7

u/CerberusMulti 1d ago

This post goes against Subreddit rule 4... Never surprises me how many are incapable of reading rules.

1

u/Round_Ad_5832 1d ago

i built something similar to show your repo stars but this one needs no actions or script or anything at all.

-1

u/pedrocatalao 18h ago

But it only works for stars of public repos and you have a server for it :) exactly the opposite of my goal: show private stats too and no server.

0

u/[deleted] 1d ago

Have you seen codey an RGB PET for GitHub ( animated)

-1

u/pedrocatalao 1d ago

No but I'm curious, do you have a link?

0

u/[deleted] 1d ago edited 1d ago

Just Google:

**+removed**

Delet old post, was mistake. And will not share here links. i dont know if the dev allow it 😄SHaring his links

PS: Beware, the dev bites

1

u/pedrocatalao 1d ago • Heartwarming

going to check... thx

-3

u/whoisyurii 1d ago

Cool one, and preview video js great. Did you use Opus for animation? Check out my checkmygit.com too:)

0

u/pedrocatalao 1d ago

That's very cool :) nice idea... could be a theme idea for GitHub itself.
I used Opus indeed, the "video" is a javascript animation actually :)

-2

u/pedrocatalao 1d ago

u/CrossScarMC it's a scheduled GitHub action that updates them and puts the cards in a separate branch and always rewrites the history so you don't get new commits on every run and the repo size doesn't grow because of generated SVGs. Technically it's still a server but I mean you don't have to use anything outside of GitHub and share tokens that can read your private repos anywhere.

5

u/CrossScarMC 1d ago

Aren't there already like several other projects that do exactly this?

1

u/pedrocatalao 1d ago

Probably.. but I didn't find any that could read my commits in private repos and org repos without an external backend... also none looking so cool 😁

2

u/lajawi 1d ago

You could’ve contributed to the others to level them up

0

u/pedrocatalao 1d ago

True but this is fundamentally different from what I found already made, I didn’t want an external server and I can’t really push my designs in different direction of existing projects

0

u/[deleted] 1d ago

[removed] — view removed comment

1

u/pedrocatalao 1d ago

Sure, I literally copy&paste the prompt I sent to Claude Opus 5.5:

Let’s make a github page for this? with some animated videos and cool montage video/gif with zoom, transitions and fast pace, showcasing the cards and the setup?

He did generate a video though the animation is html and javascript using the real cards, etc..

Sometimes it’s better to be not too strict and let it surprise you with something cool :)