feat(wakatime): add time-based badges for user and project (#11722)#11790
feat(wakatime): add time-based badges for user and project (#11722)#11790ashif323 wants to merge 1 commit intobadges:masterfrom
Conversation
|
|
All checks are passing Implemented WakaTime time-based badges using SVG parsing since no JSON endpoint is available. Supports both:
Ready for review |
26939c9 to
55805dd
Compare
f17e998 to
bba12d9
Compare
fix: resolve lint issues chore: trigger CI rerun
bba12d9 to
ef770ac
Compare
|
Hello @ashif323! 👋🏻 Thanks for the contribution! Would it be possible to leverage |
|
Hi @PyvesB 👋 Thanks for the review! I looked into |
|
you can search the codebase for classes extending |
Description
Adds support for WakaTime time-based badges for both user and project, addressing issue #11722.
WakaTime provides public badge endpoints in SVG format:
https://wakatime.com/badge/user/{uuid}.svghttps://wakatime.com/badge/project/{uuid}.svgSince no JSON endpoint is available, this implementation fetches and parses the SVG response to extract the coding time text.
Features
/wakatime/user/{uuid}/wakatime/project/{uuid}Example
/wakatime/user/73d84531-5bb3-4938-91c9-5ca9e6507df9
Notes