Martin
d84cc27b9c
fix browser_rendering layout ( #208 )
2026-05-06 15:25:33 +02:00
Takuma IMAMURA and martin-mfg
e43e55c2b7
feat: replace render-time text wrapping with browser-native wrapping ( #191 )
...
This PR uses `foreignObject` with CSS line-clamp to let the browser
handle text wrapping natively instead of manually wrapping on the
server. This provides better font-aware wrapping while keeping
server-side line estimation for SVG height calculation.
Fixes https://github.com/anuraghazra/github-readme-stats/issues/4862 .
### Example card
<img width="400" height="150" alt="hyperfinitism-sample-repo"
src="https://github.com/user-attachments/assets/c3a58531-c689-4798-af02-f55ef3a90fa1 "
/>
---------
Signed-off-by: Takuma IMAMURA <209989118+hyperfinitism@users.noreply.github.com >
Co-authored-by: martin-mfg <2026226+martin-mfg@users.noreply.github.com >
2026-05-06 11:00:11 +02:00
github-actions[bot] and martin-mfg
f67dd0f381
Update languages JSON ( #203 )
...
The
[update-langs](https://github.com/stats-organization/github-stats-extended/actions/workflows/update-langs.yml )
action found new/updated languages in the [upstream languages JSON
file](https://raw.githubusercontent.com/github/linguist/master/lib/linguist/languages.yml ).
Co-authored-by: martin-mfg <2026226+martin-mfg@users.noreply.github.com >
2026-05-03 14:04:12 +02:00
Martin
8305746754
add license info for icons ( #200 )
...
solves https://github.com/anuraghazra/github-readme-stats/issues/4839
2026-05-03 11:20:05 +02:00
Martin
a963caaf5b
small refactoring: use constants in layout logic ( #186 )
2026-04-27 08:34:56 +02:00
Martin
eab14c8932
top-langs: add hide_values option ( #181 )
...
based on https://github.com/anuraghazra/github-readme-stats/pull/4850 by
@claw-explorer
This PR adds a new hide_values query parameter for the Top Languages
card that hides the percentage/byte display values while keeping
progress bars and chart visualizations intact.
<img width="300" height="245" alt="top-langs5"
src="https://github.com/user-attachments/assets/6c7486c3-5611-41c0-95ff-0d9183cea320 "
/>
<img width="300" height="350" alt="top-langs"
src="https://github.com/user-attachments/assets/a0cc5bed-3f8e-4934-9c30-3e7d5a240865 "
/>
<img width="350" height="215" alt="top-langs2"
src="https://github.com/user-attachments/assets/9d9c06cc-aa0d-4e47-9cdd-bce298583742 "
/>
<img width="300" height="350" alt="top-langs3"
src="https://github.com/user-attachments/assets/f4a51889-0b8f-4289-a082-e2107208a123 "
/>
<img width="300" height="140" alt="top-langs4"
src="https://github.com/user-attachments/assets/d88c2ea2-0422-482b-aade-8cf5799f12cd "
/>
2026-04-25 20:29:08 +02:00
martin-mfg
b40c4b7915
move env from constants to SvgInline, cleanup
2026-04-20 16:39:17 +02:00
martin-mfg
f7b1b9f382
frontend: try loading env explicitly
2026-04-19 20:16:42 +02:00
martin-mfg
5ccb799198
extend debug log
2026-04-19 19:34:02 +02:00
martin-mfg
3b67bd6bcb
add debug logs
2026-04-19 19:21:25 +02:00
Marco Pasqualetti
fc4ee7507b
test: remove stdout and std from test by mocking logger module ( #161 )
...
- Same as #143
- Resolves
https://github.com/stats-organization/github-stats-extended/pull/143#discussion_r3105155487
- Closes #141
2026-04-19 09:28:46 +02:00
Martin and Marco Pasqualetti
d476f8cbe1
extract "core" package, small improvements ( #137 )
...
This PR mainly refactors the code by extracting a "core" package which
is then used by the "backend" and "frontend" apps.
Apart from this the PR also contains several smaller changes like fixing
dependabot, upgrading dependencies, aligned "package.json" files, added
tests, ...
addresses step 1 of #32
closes #136
---------
Co-authored-by: Marco Pasqualetti <marco.pasqualetti@live.com >
2026-04-18 10:37:26 +02:00