DEV Community

Cover image for 🦄 Sharing DEV Followers Count on Github Profile 🦄

🦄 Sharing DEV Followers Count on Github Profile 🦄

Anna Villarreal on September 23, 2026

TLDR - I finished a small project that I am sharing for my friends on DEV, that allows you to put your followers count on your Github! ...
Collapse
 
francistrdev profile image
FrancisTRᴅᴇᴠ •

ooo very nice.

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

I know right. 😜 but whats cool is now that I have a github action confidently working, I feel well suited to try other sorts of workflows with github actions. I think thats the real win here! Thanks Francis! ✨️

Collapse
 
fm profile image
Fayaz •

Yeah, cool alright. But I hope you don't run out of GitHub action minutes before the end of the month! 😄

I'd run this cron once a week max 😊

Thread Thread
 
annavi11arrea1 profile image
Anna Villarreal •

True. It's probably excessive, thanks for pointing that out! Haha. I don't have enough github actions to notice, but thanks for letting me know that is a thing!!! I would have definitely hit that wall at some unfortunate point. 😅

Thread Thread
 
fm profile image
Fayaz •

Ah, we keep learning new things 🥰

That said, your profile repo is a public repo, which means GitHub may not deduct any minute at all, LOL.

But they must have an internal limit, otherwise people will go wild with these ☺️

Thread Thread
 
annavi11arrea1 profile image
Anna Villarreal •

I can see why now. "Evil laugh" 😂😅🤔🤣

Collapse
 
nyaomaru profile image
nyaomaru •

It's so cool! I customized it a little for my GitHub profile. Thank you! 😸

Dev Community Followers Button

Collapse
 
heytechomaima profile image
Omaima Ameen •

that's so cooooool!!✨

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Niiiiiiiiice. Love it!

Collapse
 
kenwalger profile image
Ken W Alger • • Edited

This is a fun use of the API. I went down a bit of a rabbit hole with the followers endpoint this week and discovered something that might make the number itself even more interesting.

I pulled all of my follower data going back to 2017 and found that my account supposedly gained roughly 18,000 followers during 2026, while my posts received only about 14,300 total views. The follower acquisition rate also barely changed based on whether I published anything, and a surprisingly large percentage of the usernames had auto-generated-looking numeric or hex tails.

I can't prove those accounts are bots or generated accounts, so I wouldn't make that claim. But it did make me much more skeptical about treating the raw follower count as an audience/readership metric.

Your GitHub Action actually creates an interesting opportunity, though: since you're already running it periodically, you could save the follower IDs with each run rather than only the count. Over time, you'd get something the DEV dashboard doesn't really give you: actual follower additions and churn between snapshots.

I wrote up my API spelunking here if you're curious.

Collapse
 
olgabraginskaya profile image
Olga Braginskaya •

you can try this approach regarding bots/not bots dev.to/olgabraginskaya/whos-really...

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

I think I've seen your post before! Thanks for the reminder!!!

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Yes! I actually started reading that article! I didnt have time to finish but it was definitely interesting!!!

Collapse
 
varshithvhegde profile image
Varshith V Hegde •

niceee

Collapse
 
mikeydorje profile image
Mikey Dorje •

Nice one

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Thanks! ✨️

Collapse
 
varshithvhegde profile image
Varshith V Hegde •

Nice works like a charm

Thanksss

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Aww!!!! 💜

Collapse
 
alifunk profile image
Ali-Funk •

Very well done !
I just upset that I didn't think if this myself 😁

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Aww haha. Maybe, make it somehow better? 🤔

Collapse
 
alifunk profile image
Ali-Funk •

I can try 😉

Collapse
 
onizuka profile image
Onizuka •

343 failed runs before the first success — that's commitment most people wouldn't bother with for a followers badge. The git diff --quiet check before committing is a nice touch, saves you from a commit history full of no-op runs. I'd add a failure notification step too though, so if the API key expires or the script breaks, you find out from a Slack ping instead of rediscovering it a year later.

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

🤣🤣🤣 thank you @onizuka

Collapse
 
hadil profile image
Hadil Ben Abdallah •

So cool 😍

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Hello @hadil , glad you like it! ✨️

Collapse
 
embernoglow profile image
EmberNoGlow •

it's good. but I've never understood why dev.to doesn't display followers...

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

I wondered that as well. Honestly, it doesn't bother me anymore. I think it actually adds quality by not making it some agenda based numbers game. Although we all like to feel validated! I get that. 🤔😅

Collapse
 
embernoglow profile image
EmberNoGlow •

thx!

Collapse
 
axrisi profile image
Nikoloz Turazashvili (@axrisi) •

Modified it a bit :) Thanks!

Check the code to get the badge here

turazashvili (Nikoloz Turazashvili) · GitHub

#Python #Blockchain #Web3 . turazashvili has 45 repositories available. Follow their code on GitHub.

favicon github.com
Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Nice, looks like it belongs there! Glad you found it of use! ✨️

Collapse
 
axrisi profile image
Nikoloz Turazashvili (@axrisi) •

hehe, yes. thanks again :)

Collapse
 
utilvo profile image
utilvo •

This is actually a pretty neat use of GitHub Actions. I like that you shared the complete workflow instead of just showing the final result.

The git diff --quiet check is a nice little detail too. I might actually use this for my own profile. 😄

Collapse
 
sylwia-lask profile image
Sylwia Laskowska •

Haha nice! If I ever start being less lazy and clean up my GitHub README, I'll definitely use it!

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

💖 awesome! Glad to hear you might find it useful. And yeah... when I added this I had to do some light housekeeping as well. 😅 Profile was getting out of date. Haha.

Collapse
 
sinarezaei profile image
Sina Rezaei •

I like that this ended up being more than just a follower counter. The interesting part is the workflow: fetch external data, transform it, update a specific section of the README, and only create a commit when the value actually changed. The marker approach is especially practical. It makes the README the presentation layer while keeping the generated part clearly separated from the rest of the profile.

I also noticed some of the discussion around GitHub Actions minutes. For a public repository using standard GitHub-hosted runners, Actions usage is currently free, so the daily schedule isn't necessarily a problem in that case. It becomes more relevant for private repositories and their included quotas.

The bigger takeaway for me is the automation pattern. Once you have this working reliably, the same setup could update other profile data too, as long as the source and update frequency actually justify it. That's probably more valuable than the follower number itself.

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Yes, exactly what I was thinking! I want to find other cool ways to use github actions now that I have a grasp of it. ✨️

Collapse
 
fm profile image
Fayaz •

BTW, you forgot to mention that we also need your update_script.js in our profile repo, not just the YAML file! 🥰

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Bam. Done. Just for you. haha 😂

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Hahaha yes you are 100% right. I am guilty. 😂🤷‍♀️

Collapse
 
leonore_fcf3095de32ca8433 profile image
Leonore •

This is such a fun little project! 😄 I love how a tiny side project turned into a useful GitHub Actions workflow, especially with the automatic README update and scheduled runs. The detailed script is also really helpful for anyone who wants to adapt it for their own profile.

I’ve been exploring similar developer tools and projects through CodeCan.net, and this is exactly the kind of practical automation project that makes me want to experiment with GitHub Actions more. Great job getting it back from a year of failed runs! 😂

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Thank you Leonore! I feel that having a working version of one process can be used to understand how other related processes might work, and that has real value. I'm glad I was able to spark your interest!

Collapse
 
earlgreyhot1701d profile image
Earl Grey •

Dope, thanks!

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Your welcome!

Collapse
 
thomas786 profile image
Thomas786 •

Haha I feel this so much! We have a few GitHub Actions at The Printing World that kept failing on us, and I was about ready to throw my laptop out the window. Props to you for actually fixing it instead of just hitting delete.

Collapse
 
kielltampubolon profile image
Kiell Tampubolon •

The marker-block pattern here is the underrated part. Separating the generated segment from hand-written content with start and end tags, then only committing when the value actually changed, is the same pattern I use for agent-written files. It keeps the generated stuff auditable: you can always diff exactly what automation touched and nothing else.

The comments discussing follower quality are worth reading too. Any metric you automate onto a profile invites both pride and gaming, so snapshotting the count over time, like Ken suggested with follower IDs per run, gives you the trend instead of a single flattering number. A badge that moves is more honest than one that spikes.

Nice writeup of the debugging journey as well. The permissions block and the auto-push step are the two details most tutorials skip, and they are exactly why most first attempts of this workflow silently fail.

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Yes haha, I am living proof of many failed first attempts. Once you know, you know!! 😅🤣. And yes, I like the idea of snapshots over time. Very insightful.

Collapse
 
botsailorofficial profile image
BotSailor •

This is such a fun example of how a “small silly side project” can turn into something genuinely useful. 😄

I especially liked the part about those failed GitHub Action emails slowly becoming the motivation to finally fix the project 😂. Sometimes finishing something we abandoned months ago feels more satisfying than starting something new.

Also, sharing the actual workflow and update_script.js makes this much more useful for others who want to try it themselves. Great little project, and a nice reminder that side projects don’t always have to be serious to be worth building.

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Yeah its so wild that some of the most useful learning comes from unexpected places. 😂🦄

Collapse
 
henry786 profile image
Henry •

Haha I feel this so much! We have a few GitHub Actions at The Printing World that kept failing on us, and I was about ready to throw my laptop out the window. Props to you for actually fixing it instead of just hitting delete.

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

It makes me really want to do a deep dive on github actions and just build a bunch of different actions, just to really solidify my understanding. I feel like github actions have a secret power!

Collapse
 
alexcodebytes profile image
Oleksandr •

Bro didn't fix the API pipeline because he wanted to launch, he fixed it to stop GitHub from cyberbullying his inbox every single morning. 😭 Absolute king behavior.

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

🤣🤷‍♀️🦚

Collapse
 
alexcodebytes profile image
Oleksandr •

Merging a hotfix directly into production just to silence a persistent cron job or a webhook alert is a developer right of passage. Zero tech debt, pure inbox peace. 🚀🤖

Thread Thread
 
annavi11arrea1 profile image
Anna Villarreal •

Haha 😜

Thread Thread
 
alexcodebytes profile image
Oleksandr •

Sometimes the best testing environment is just production with a prayer. Glad it gave you a laugh! 😂

Collapse
 
mitali06 profile image
Mitali Das •

I’ve had this happen with one of my own side projects too. I kept getting a small error that I knew I could fix, but somehow kept putting it off. Finally sitting down and solving that one annoying issue felt way more satisfying than it should have. Love that you brought the project back to life instead of abandoning it!

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

What really did it for me, was knowing how much I wanted to have it work when I started my coding journey. Ive been playing around with code for just over 4 years. I remember how much I would have liked this, and I knew others might feel similarly depending where they are on their particular journey. Feeling strongly about it, and then posting about the success, definitely has been a rewarding experience.

Perhaps the only consistent thing in my life for a while was a failed run notification in my inbox. These problems... they keep us rooted in reality, dont they? 🤣🤷‍♀️

Collapse
 
henry786 profile image
Henry •

Awesome job fixing those failed runs! Scheduled GitHub Actions are great. Over at The Printing World, we use similar cron setups to automatically sync daily box order inventory and send low-stock alerts to our warehouse team.

Collapse
 
fm profile image
Fayaz •

Cool! 😍

Collapse
 
cleverhoods profile image
Gábor Mészáros •

noice!

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala •

This is so cool, Anna! I loved this idea and I’m definitely going to add it when I work on my GitHub profile. Thanks for sharing the full setup too 😀

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

I'm so glad you like it! Let me know if you style it in an interesting way. I like how everyone is styling theirs. I wonder what the coolest way to style this could possibly be. Further unnecessary things... 😂🦚🧚‍♀️

Collapse
 
hemapriya_kanagala profile image
Hemapriya Kanagala •

Now I’m curious to see what everyone comes up with too 😄 I’ll go through the comments and see what others have done, and I’ll share mine when I add it 😀

Thread Thread
 
annavi11arrea1 profile image
Anna Villarreal •

Yes! Absolutely, I cant wait ti see yours!!

Collapse
 
technogamerz profile image
𝐓𝐡𝐞 𝐋𝐚𝐳𝐲 𝐆𝐢𝐫𝐥 •

( ˶°ㅁ°) !! Woww

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

☺️ thanks for taking a peak!

Collapse
 
technogamerz profile image
𝐓𝐡𝐞 𝐋𝐚𝐳𝐲 𝐆𝐢𝐫𝐥 •

💛🙃

Collapse
 
mikachu profile image
Mika Flowers •

YESSS 😭 I’m setting this up on my profile now.

Also really appreciate you sharing the actual script + workflow instead of just showing the finished result. Thank you!! 💚

Collapse
 
annavi11arrea1 profile image
Anna Villarreal • • Edited

You have me so flattered for trying my silly tool! Thank you, to you and everyone else that has given it a shot. So rewarding that others find enjoyment from it! 🦚

Collapse
 
_9e5e23ee3fcff628d71df profile image
Mxc •

I just need this function, which is of great help to me

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Im glad you find it useful!

Collapse
 
kunal241207 profile image
Kunal Gupta •

This is a neat use of GitHub Actions! I'm curious what other profile stats could be automated this way.

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Same! I'm waiting to have some more free time honestly. I have a big pile of things I want to do. I have all I can do to keep up with these comments right now. 🤣

I have been considering what a fun thing it could be to have some sort of contest related to this. Like what's the most ridiculous github actions possible... the most useful, or most annoying? oh no... the thoughts begin. 😂

I want to figure out how to style mine in a cool way, make it look like some fancy badge. Im gonna ramble, its late. Im stopping here.

Profile badge contest perhaps?

Collapse
 
masaudahmod profile image
Masaud Ahmod •

That was helpful 👍🏻

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Glad you found this helpful @masaudahmod ! ✨️

Collapse
 
glnurltn profile image
gulnur • • Edited

its cool ☺️,where can i find my api key?

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

(Logged in, of course) On desktop click your profile:

--> settings --> extensions --> scroll to bottom and click generate button.

step one

Then
step two

Then....

step three

Collapse
 
glnurltn profile image
gulnur •

thank you☺️

Thread Thread
 
annavi11arrea1 profile image
Anna Villarreal •

You are so welcome!

Collapse
 
aiwithsamarth profile image
samarth •

Nice. This idea can be used in many places. thanks for the idea.

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

✨️ absolutely!

Collapse
 
debashish_ghosal profile image
Debashish Ghosal •

Wow! Nice! I was wondering about this and voila! Super cool, thank you! Awesome

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

You are welcome @debashish_ghosal ! Let me know if you implement this in an interesting way, I love seeing everyone's unique creations with this. 🚀🎢

Collapse
 
lokeshwar_sikarwar_e2a928 profile image
Lokeshwar Sikarwar •

Ayee this is crazyyy ****

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Haha, thanks! (I think?) 😜

Collapse
 
lokeshwar_sikarwar_e2a928 profile image
Lokeshwar Sikarwar •

ayeee cool

Collapse
 
naeem_abass_f102186d8b139 profile image
Naeem Abass •

Yeah it's cool

Collapse
 
sudheertech profile image
Sudhira Sam •

very nice

Collapse
 
sajid_ali_6a2fea93a610e95 profile image
sajid ali •

Great opportunity for every one.You should avail it.

Collapse
 
annavi11arrea1 profile image
Anna Villarreal •

Thanks everyone for the inspo! I gave my profile a proper facelift today and here is what my new followers count area looks like! (A big upgrade from plain text. 😂)

updated styling

Collapse
 
devantibott profile image
DEV ANTIBOT •

top

Collapse
 
henry786 profile image
Henry •

Love seeing automated cron jobs like this work! At The Printing World, we use similar daily scheduled scripts to auto-sync inventory levels for our custom box stock. Way better than checking manually!