0l1v3rr / 0l1v3rr/github-readme-tech-stack
Doesn't work for custom SVGs
- Lingua principale
- TypeScript
- Stelle
- 261
- Fork
- 46
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
**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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
The issue is about URL length when custom SVGs are added. Look at the URL generation logic, likely in the API routes or utility functions that serialize SVG data. Check how SVGs are encoded and if compression or alternative output formats (like PNG) are supported. The goal is to shorten the URL or provide a downloadable image.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- nextjs, react, tailwindcss, typescript
- Ambito
- frontend, tooling, web-dev
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 55/100