JaeSeoKim / badge42

🚀 Dynamically generated 42 badge for your git readmes.

Home Page:https://badge42.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

badge42 no longer working?

cclaude42 opened this issue · comments

For several weeks, I have not been able to get badge42 to work.

After checking several profiles, this seems to be a global issue.

Browsers tried :

  • Firefox
  • Google Chrome

Neither seem to work ; image just displays as a blue link.

Update : identified the root cause.

When going to https://badge42.vercel.app/ :

  • This Deployment has been disabled.
  • 402: PAYMENT_REQUIRED

This seems to be a billing issue ; either a credit card expired (in which case, fairly easy to fix), or you no longer have the funding to maintain the project (which proves more challenging)

Which is it?

I maintain and host the project on my fork. Go https://github.com/Coday-meric/badge42.

@Coday-meric nice fork! Works well at least. I have a couple questions if you don't mind though :

  • Why does it require a sign-in?
  • Is the badge I generated on the website dynamic? What I mean is, if I change my XP level, and I don't go through your website again, will my badge reflects my updated progress?

Thanks but most of the work was done by @JaeSeoKim.

Sign-in with 42 API is requierd for recover all data of your 42 profil.
Github is not essential.

Yes your badge is dynamic for your XP, project score and all other feature.

I'm sorry for the late reply. @Coday-meric @cclaude42

The service is currently down because the free tier supply of "vercel" has been exceeded.
To solve this problem, the operating time of the serverless function must be reduced or paid.

Currently, maintenance was not possible due to the mandatory military service period.
In addition, 42Intra's A.G.U is also activated, and even API keys and logins have expired.

The positive part is that my mandatory military service period is almost over, so I can return to the 42 Seoul campus from next year.
Thank you @Coday-meric for hosting, and please contact me if you need any additional help.

The reason why sign in was requried was because there was a problem with GDPR

In addition, the reason for implementing github login is to ensure that records are preserved even when 42Intra expires like me

@JaeSeoKim thank you for your detailed reply!

You clarified a few key points ; from my current understanding, you're the one who implemented the features I had asked @Coday-meric about? I thought it was specific to his fork, but your explanation suggests otherwise.

Glad to hear your service is almost over.
When you get back, if that interests you, I'd be happy to look into solutions with you.

(Off the top of my head, we could consider optimizing the serverless function, setting up Github Sponsoring for Vercel costs, balancing the load between a few students, switching providers, refactoring the architecture with a caching & free-tier approach... a lot of exciting options!)

Hello, @cclaude42

I haven't added or removed any features from the initial project.
I simply added Docker support to allow anyone to host the solution.
To resolve the Vercel problem, I also called on my server to allow the use of the service easily.

Nice day !

@JaeSeoKim welcome back among the 42 students !

No problem it was a shame to leave your work abandoned. And if you need a helping hand call me.

Hello, @cclaude42 @Coday-meric. now I'm back to the 42 students!

so, I start to fix badge42 projects.

The idea I'm thinking about is no longer offering it as a web service.
I aim to turn automation scheduling through GitHub Action to create Badge 42 for individuals in need.

This will allow you to create a badge regardless of the maintenance of the project, and it is expected to be freely customized and used because it remains open source.

When I approached the DB for the first time in a while and checked it, I was surprised to see more than 3,300 users, and I was happy to think that it was a much-loved service.

If you have any better opinions, I would appreciate it if you could tell me.