Add new card-style OG image templates
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- typescript
- Lĩnh vực
- design
Hướng nghiên cứu
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>.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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 - Still readable on a light background: try
bgColor#ffffffwith a darktextColor. If the template mixes its own colors (chips, badges, muted text),isLightColor()insrc/templates/utils.tshelps pick ones that work on both - 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.
- Ngôn ngữ chính
- TypeScript
- Star
- 8
- Fork
- 4
- Merge trung bình
- 5 giờ 44 phút
- Pull request đã merge (30 ngày)
- 83
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của codercops/ogcops
-
Add the Order Status e-commerce template (`ecommerce-order-status`)Có thể đã có người làm @piyusshhjangid đã nhận hôm nay. Đang mởgood first issue hacktoberfest templates
codercops/ogcops#181 · 4 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add the Cheat Sheet tutorial template (`tutorial-cheat-sheet`)Có thể đã có người làm @srikar-naidu đã nhận hôm nay. Đang mởhacktoberfest help wanted templates
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
codercops/ogcops#180 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add the Call for Speakers event template (`event-call-for-speakers`)Có thể đã có người làm @Saifjafri212213 đã nhận hôm nay. Đang mởgood first issue hacktoberfest templates
codercops/ogcops#177 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Add the Day Streak developer template (`developer-day-streak`)Có thể đã có người làm @srikar-naidu đã nhận hôm nay. Đang mởhacktoberfest help wanted templates
codercops/ogcops#176 · 3 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Hacktoberfest 2026: start hereĐang mởhacktoberfest
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của codercops/ogcops
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
db-ux-design-system/core-web#8613 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug:new
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
callstackincubator/simlock#934 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Log page not working after errorĐang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
gchq/LD-Explorer#286 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
foxglove/mcap#1907 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày