Shrink the npm tarball: bundled Inter TTFs are 45% of the package
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 62/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- build-system
Línea de trabajo
Start by running npm pack --dry-run to reproduce the 571 kB packed size, then look at the two font files in assets/fonts/Inter-Bold.ttf and assets/fonts/Inter-Regular.ttf. Check src/utils/fontCoverage.ts to see which glyph ranges the CJK and emoji fallback depends on, so the subset keeps them. Done means the packed size is under 300 kB and the font and drawtext tests still pass.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Why it matters
npx cold starts (the main install path, including in the Action) download the whole tarball every time.
Evidence
npm pack --dry-runreports 571 kB packed, 1.5 MB unpacked.assets/fonts/Inter-Bold.ttf(344 kB) andInter-Regular.ttf(342 kB) make up most of it.- The 51 kB README also ships.
Suggested approach
Subset Inter to Latin plus common symbols. Keep TTF, since ffmpeg's freetype may lack WOFF2 support. Keep the CJK/emoji fallback in src/utils/fontCoverage.ts working, and slimming the README (see the README issue) also helps.
Done when
The packed size is under 300 kB and the font and drawtext tests pass.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1
- Forks
- 4
- Merge medio
- 14 h 8 min
- PR fusionados (30 d)
- 48
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de TMHSDigital/screencast-mcp
-
effort: small good first issue priority: medium testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
TMHSDigital/screencast-mcp#351 ·
Los mantenedores suelen responder en 1 día
-
bug effort: small priority: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
TMHSDigital/screencast-mcp#344 ·
Los mantenedores suelen responder en 1 día
-
bug effort: small good first issue priority: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
TMHSDigital/screencast-mcp#343 ·
Los mantenedores suelen responder en 1 día
-
effort: medium help wanted priority: medium testing
Dificultad 3/5 1-2 días Aptitud para principiantes 76/100
TMHSDigital/screencast-mcp#350 ·
Los mantenedores suelen responder en 1 día
-
effort: medium priority: medium testing
Dificultad 4/5 1-2 días Aptitud para principiantes 70/100
TMHSDigital/screencast-mcp#349 ·
Los mantenedores suelen responder en 1 día
Todos los issues de TMHSDigital/screencast-mcp
Issues similares
-
clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P3
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
openclaw/openclaw#200365 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
area-templates triage:bot-seen triage:needs-human
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
microsoft/aspire#22356 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Archiving an agent that is not loaded keeps its old updatedAtPosiblemente ocupada @luoph la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día
-
content triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día