0l1v3rr / 0l1v3rr/github-readme-tech-stack
Doesn't work for custom SVGs
- Vorherrschende Sprache
- TypeScript
- Sterne
- 261
- Forks
- 46
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
**Describe the bug**
The generated URL is simply too long when you add custom SVGs. I built one with just 2 lines and it generated an URL over 40k characters long. Even tinyurl can't handle it (max 32k), browsers also say the URL is too long.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '[...](https://github-readme-tech-stack.vercel.app/)'
2. Go to 'do your stuff and go to step 6/7 '
3. Add 'about 11 svgs about ~3KiB across two lines'
4. Generate a _Titanoboa_ type of URL
**Expected behavior**
It should generate a 'way shorter URL' capable of being read. Or at least, it should generate a PNG image that you could download and add it to a shorter link.
Beitragsleitfaden
Rechercherichtung
Das Issue betrifft die URL-Länge bei der Hinzufügung benutzerdefinierter SVGs. Untersuchen Sie die Logik zur URL-Generierung, wahrscheinlich in den API-Routen oder Utility-Funktionen, die SVG-Daten serialisieren. Prüfen Sie, wie SVGs kodiert werden und ob Komprimierung oder alternative Ausgabeformate (wie PNG) unterstützt werden. Das Ziel ist, die URL zu verkürzen oder ein herunterladbares Bild bereitzustellen.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- nextjs, react, tailwindcss, typescript
- Bereich
- frontend, tooling, web-dev
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 55/100