Add new card-style OG image templates
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- typescript
- Área
- design
Línea de trabajo
This is a tracker: pick one of the linked template issues (#60 to #73), comment there to get assigned, then work from the steps here. Each template goes in src/templates/{category}/{name}.ts, is re-exported from that category's index.ts, and is added to the array in src/templates/registry.ts, with shared fields from src/templates/utils.ts. Done means the template renders in the /create/{category} editor preview, passes npm run check and npm run test, and the PR to dev includes a screenshot and Closes #<issue>.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
This is the tracker for new templates this Hacktoberfest. Each idea below has its own issue, so pick one, comment on that issue to get assigned, and build it.
Template issues
- #60 Add the Series Part blog template (
blog-series-part) - #61 Add the Blog Summary Card template (
blog-summary-card) - #62 Add the Open to Work developer template (
developer-open-to-work) - #63 Add the Coupon Code e-commerce template (
ecommerce-coupon-code) - #64 Add the Event Agenda template (
event-agenda) - #65 Add the GitHub Issue Card template (
github-issue-card) - #66 Add the Contributors Wall template (
github-contributors-wall) - #67 Add the Open Roles job template (
job-open-roles) - #68 Add the Subscribe Card newsletter template (
newsletter-subscribe-card) - #69 Add the Conversation podcast template (
podcast-conversation) - #70 Add the Shortcut Tip product template (
product-shortcut-tip) - #71 Add the Sticky Note quote template (
quote-sticky-note) - #72 Add the Uptime Status SaaS template (
saas-uptime-status) - #73 Add the Quiz Card tutorial template (
tutorial-quiz-card)
Check your template in the editor's live preview, and with the Download PNG button too: the preview renders in the browser and the download renders on the server.
How to add a template
- Create
src/templates/{category}/{name}.tsdefault-exporting aTemplateDefinition. The id must be{category}-{name}(for example,blog/minimal-dark.tshas idblog-minimal-dark). - Re-export it in
src/templates/{category}/index.ts. - Import it and add it to the category's array in
src/templates/registry.ts(append at the end of the block). - Run
npm run dev, openhttp://localhost:4321/create/{category}, pick your template, and try long text and empty optional fields. - Run
npm run checkandnpm run test. You do not need to update README counts.
Template checklist
- Root element is
width: '1200px', height: '630px' - Every
divhasdisplay: 'flex', inline styles only, flexbox only (no grid) - Fonts: Inter (400/500/600/700), Playfair Display (400/700), JetBrains Mono (400/700)
- No emoji or remote images in defaults (no emoji font is bundled)
- Long text handled with
truncate()/autoFontSize(); empty optional fields are hidden cleanly - Number and toggle params parsed defensively, since API values arrive as strings:
Number(params.x),params.x === true || params.x === 'true' - No
Math.random()or dates inrender(images are cached, so output must be deterministic) - Clear
descriptionand 4 to 6tags(used by the editor search and the AI template search) - Reuse
commonFieldsfromsrc/templates/utils.tswhere possible - PR targets
dev, includes a screenshot, saysCloses #<issue>, and fills in the "How I Tested This" and "AI Assistance" sections
Have another idea? Open a template request and mention it here.
- Lenguaje dominante
- TypeScript
- Estrellas
- 8
- Forks
- 4
- Merge medio
- 6 h 37 min
- PR fusionados (30 d)
- 58
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 codercops/ogcops
-
hacktoberfest help wanted templates
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
good first issue hacktoberfest templates
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Add the GitHub Issue Card template (`github-issue-card`)Quizá libre de nuevo Un pull request para esta issue se cerró sin fusionarse. Abiertogood first issue hacktoberfest templates
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
codercops/ogcops#65 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Gallery search and filters stop working after you come back to /templates through a site linkPosiblemente ocupada @prakashNalla la tomó hace 1 día. Abiertobug good first issue hacktoberfest ui
codercops/ogcops#151 · 4 comentarios · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Hacktoberfest 2026: start hereAbiertohacktoberfest
Dificultad 1/5 Menos de una hora Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
Todos los issues de codercops/ogcops
Issues similares
-
ready-for-agent
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
xavxyz/bei-shan-lin-shui#57 ·
Los mantenedores suelen responder en 1 día
-
[BUG] rag: sentence content can cross the reported sentence boundariesPosiblemente ocupada @LJK-ikun la tomó hoy. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
bug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
README: the Resource URI Schemas example's file://documents/* pattern only matches that literal URIAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
platformatic/mcp#361 ·
Los mantenedores suelen responder en 1 día
-
最近文档这个弹窗,左右宽度没有最小宽度限制Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
siyuan-note/siyuan#20799 · 7 comentarios ·
Los mantenedores suelen responder en 1 día