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
Il problema riguarda la lunghezza dell'URL quando vengono aggiunti SVG personalizzati. Esamina la logica di generazione dell'URL, probabilmente nelle route API o nelle funzioni di utilità che serializzano i dati SVG. Controlla come vengono codificati gli SVG e se sono supportati la compressione o formati di output alternativi (come PNG). L'obiettivo è abbreviare l'URL o fornire un'immagine scaricabile.
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