I Build a GitHub Worth Estimate Generator

i-build-a-github-worth-estimate-generator

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.

The Project name is GitEstimate – A github worth estimate calculator.

GitEstimate

demo

Live Demo 🟢

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 :

result

Give a Star⭐

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.

Join Devletter 💌

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 😊

github

twitter

portfolio

buymeacoffee

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
enums-and-events-in-solidity

Enums and Events in Solidity

Next Post
a-day-in-the-life-of-clickup 

A Day in the Life of ClickUp 

Related Posts