Hellooo Developers π Welcome to my another blog post .
In the fast-paced world of software development, GitHub has become the epicenter of collaboration, innovation, and code-sharing among developers worldwide.
Yesterday, i was scrolling on a twitter and i saw one tweet discussing about this project idea on making with nextjs and shadcnui.
And don't forget to Drop a "ππ¦π₯ππ€―" .
The Project name is GitEstimate - A github worth estimate calculator. And i am Inspired by π
GitEstimate
GitEstimate is an fun innovative project hosted at https://gitestimate.vercel.app/
. Code by me Md Taqui Imam, Just enter your Github username and it will fetch your data and calculate your estimated worth and you can also download it as JPEG and share it to others .
Download Result be like :
Tech stack i used π ?
- Nextjs 14
- Shadcn Ui
- Html-to-canvas
- github-contributions-canvas
- lodash
- cheerio
- typescript
- Zod
- Reach-hook-form.
How GitEstimate Works π€?
Upon visiting the GitEstimate website, users are prompted to enter their valid GitHub username. It fetch user Total Contribuitions, Total Stars got on repositories and Followers , and to generate an estimate of the GitHub profile's worth i created this function :
function calculateGitHubWorth(
contributions: number,
followers: number,
stars: number
) {
// You can adjust the weights as per your preference
const contributionWeight = 0.5;
const followerWeight = 0.1;
const starWeight = 0.3;
// Calculate the estimated worth using the formula
const estimatedWorth =
contributions * contributionWeight +
followers * followerWeight +
stars * starWeight;
return estimatedWorth.toFixed(1);
}
What is Devletter π© ?
Devletter is a great weekly newsletter for all things tech.
You'll get the latest coding news and insights to stay ahead of trends.
Devletter is a perfect way to learn about upcoming hackathons and events in your area too.
Make sure to Join Devletter now so you never miss out on amazing opportunities and discovery in the tech space.
That's it π
Thank you for reading till here, i hope you find this blog post interesting and helpful.
See you next week π
Happy Coding π
Top comments (79)
I don't really understand what you mean by, "worth".
I could say that I'll use a formula like (age in weeks) + (height in bananas) + (number of credit cards) to calculate my worth in Francs, but that's just me making stuff up. "Worth" is only relevant to marketable things.
So... is there anywhere I could sell my github presence for a bit of extra cash?
Awesome app! One suggestion, please add a reset/refresh button if I want to try another account.
Glad to Hear that you liked it π And Thank you for your suggestion π
If only there was a way to cash out. I could do with the money as I can't afford next month's rent!
Sure i will add withdraw option for you π
Great. Booking the holiday now. π
okayπ€£
Is there a reason to present the rating as an amount in dollars, or is it just to spice things up a bit? From what I can see, the number is really just the weighted sum of some account metrics, right?
Cool project though π
Looks exactly like something that went viral a few days ago on twitter, got inspired a lot huh? twitter.com/shyam_tawli/status/173...
Yes, i got inspired by
github-worth.vercel.app/
.Are you saying he stole/copied the idea?
It's probably. My account worth is almost the same using both, maybe he stole the formula using the console
No i didn't stole his idea i inspired by her and i also tweet about this and mention her . And his github-worth.vercel.app/ Github repositories hi private so we cannot see him .
Maybe just a weird coincidence. I think copying/getting inspired is fine if it's made clear that it is:)
I only inspired by him but the code is written by my only not copy pasted .
Okay lol, not sure if I was too tired while reading or if he just edited the post to mention the tweet..
I appreciate the sentiment but I would caution against attributing value to green dots. It's bragging rights and I can make a lot of very harmful changes, pointless changes, and valuable changes all in the name of green dots.
Keep having great ideas though, and I love the stack you used.
Lol...
Lol! Didn't knew I've added 11k+ commits!
Work Profile
Freelancing Profile
Its total contributions from since you created you github account .
Yeah. I figured out that much!
Btw, that's a cool app! π₯
Thank you so much Aziz π
I should try to accomplish the $10,000.
By the way, "Save as JPEG" button is not working for me.
Actually i have reached the free tier image-source-optimization limit in vercel.
Sorry for that π₯
The image is broken
Actually i have reached the free tier image-source-optimization limit in vercel.
Sorry for that π₯
no problem man, just continue your great work
:thumbup
Awesome job on the app! I love it.
Just want to point out two things:
Also, it seems a lot like the one here:
github-worth.vercel.app/
But being inspired (or as is likely coming up with it all by yourself!) is fine.
Otherwise, awesome job! I like yours more than the other because it gives me a higher worth. :D
Thank you so much for your awesome feedback, Yes i got inspired by github-worth.vercel.app/ but i had not copied his code because his Github repositories is private and we cannot see him.
Yeah but you can inspect it via the console and discover the formula π
You can also view it on GitHub. Are you inferring that he stole it?
Of course, awesome job again!
Some comments have been hidden by the post's author - find out more