Add the Package Card GitHub template (`github-package-card`)
维护者通常 1 天内回复
@anurag2787 已经在做这个了。
开始于 2026年10月28日。
评估
这个 Issue 还没有评估数据。
描述
Part of #5. For announcing or sharing a published package (npm, PyPI, crates.io and so on).
Idea
A small "npm package" label in the accent color at the top (the registry name comes from a field), the package name large under it ("@acme/csv-stream") with its version in a small pill next to it ("v2.4.1"), and a one-line pitch ("A streaming CSV parser for Node"). Then the weekly downloads and the license side by side ("182k weekly downloads", "MIT"), the install command in a monospace box with a $ prompt ("npm i @acme/csv-stream"), and the site name at the bottom.
Template details
- File:
src/templates/github/package-card.ts, idgithub-package-card - Fields:
commonFields.title(the package name),commonFields.description(the pitch, optional),registry(text, optional, default "npm"),version(text, optional, default "v2.4.1"),downloads(text, optional, default "182k weekly downloads"),license(text, optional, default "MIT"),install(text, optional, default "npm i @acme/csv-stream"),commonFields.siteName,commonFields.bgColor,commonFields.accentColor,commonFields.textColor
Where to look
- Closest reference:
src/templates/github/repo-card.ts(a repository with its stats),src/templates/github/terminal-style.ts(a command in a monospace box)
Acceptance criteria
- A long package name and pitch shrink with
autoFontSize()and then truncate, a long install command truncates inside its box, and an empty pitch,registry,version,downloads,license,installor site name (or only spaces) hides cleanly with no leftover gap - The label, the version pill and any accent text stay readable on a light background
- Re-exported in
src/templates/github/index.tsand registered in the GitHub block ofsrc/templates/registry.ts - Meets the shared template checklist in #5
One template per contributor at a time, so more people get a chance.
Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off dev, and open your PR against dev with Closes #304 in the description.
- 主要语言
- TypeScript
- 星标
- 8
- 派生
- 4
- 平均合并
- 7 小时 52 分钟
- 30 天内合并 PR
- 130
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
codercops/ogcops 的其他 Issue
-
Add the Benchmark blog template (`blog-benchmark`)可能已有人在做 @piyusshhjangid 于 1 天前认领。 未关闭good first issue hacktoberfest templates
codercops/ogcops#301 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Add the Updated Post blog template (`blog-updated-post`)可能已有人在做 @sank8-2 于 2 天前认领。 未关闭good first issue hacktoberfest templates
codercops/ogcops#289 · 3 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Add the Live Recording podcast template (`podcast-live-recording`)可能已有人在做 @Ravindar-Amogh-Gummadavelly 于 3 天前认领。 未关闭good first issue hacktoberfest templates
codercops/ogcops#261 · 2 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
hacktoberfest
难度 1/5 1 小时以内 新手友好度 35/100
codercops/ogcops#88 · 10 条评论 ·
维护者通常 1 天内回复
-
feature good first issue hacktoberfest templates
难度 3/5 1-2 天 新手友好度 45/100
维护者通常 1 天内回复
相似的 Issue
-
fix(worker): keep normal prepare waiting states failure-free可能已有人在做 @LichKing-2234 今天认领。 未关闭agent:codex priority:P1
难度 2/5 1-3 小时 新手友好度 72/100
AgoraIO-Extensions/agent-infra#3745 ·
维护者通常 1 天内回复
-
The five-line work window can drop its oldest line: the per-line byte share ignores the JSON framing可能已有人在做 @Eapp1e 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 84/100
makecindy/cindy#7973 · 1 条评论 ·
维护者通常 1 天内回复
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
难度 1/5 1 小时以内 新手友好度 78/100
lingdojo/kana-dojo#33337 · 1 条评论 · 5 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
code-yeongyu/senpi#4917 · 1 条评论 ·
维护者通常 1 天内回复