0l1v3rr / 0l1v3rr/github-readme-tech-stack
Doesn't work for custom SVGs
- Lenguaje dominante
- TypeScript
- Estrellas
- 261
- Forks
- 46
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
**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.
Guía de contribución
Línea de trabajo
El issue trata sobre la longitud de la URL al agregar SVGs personalizados. Examine la lógica de generación de URL, probablemente en las rutas de API o funciones de utilidad que serializan datos SVG. Verifique cómo se codifican los SVGs y si se admite compresión o formatos de salida alternativos (como PNG). El objetivo es acortar la URL o proporcionar una imagen descargable.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- nextjs, react, tailwindcss, typescript
- Área
- frontend, tooling, web-dev
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 55/100