mirror of
https://github.com/jnMetaCode/superpowers-zh.git
synced 2026-09-02 22:54:06 +08:00
feat(sponsors): 新增旗舰赞助商 Infistar.cc 无限星河
旗舰位此前一直是「虚位以待」招商卡。Infistar.cc 上旗舰位,展示形式对齐
jnMetaCode/agency-agents-zh 的旗舰版式:整块大图 banner + 独立文案段 + 福利行,
排在两个常规位之前。
## 落位
| 位置 | 呈现 |
|---|---|
| 官网赞助商页(三语) | 顶部整块 banner(1269×337)+ 定位一句话 + 简介 + 福利 + 行动按钮;「虚位以待」卡自动消失,下面两家转入「更多赞助商」 |
| 福利汇总表 | 排第一行,优惠码列为 —(推广链接自带 aff,无需手填码) |
| 两版 README | 赞助商区块顶部 `<p align="center">` 整幅 banner + 文案段 + 🎁 福利行 + `<hr>`,与参考仓库同版式 |
## 文案口径
素材原文里福利写的是占位符 `[5美元等值测试额度 / 首充专属优惠]`,二选一未定 ——
这句会直接印在 README 和官网上,跟你确认后定为**「注册并完成首次调用领 5 美元
等值测试额度」**,不写没定下来的首充折扣。其余数字均照素材原文:一个 API Key 接入
Claude / ChatGPT / Gemini / Kimi / GLM / DeepSeek,价格低至官方渠道 1 折。
推广链接发版前实测 200(含 www 与裸域)。
## 顺带加一条构建期门禁
旗舰卡读 `img`,常规卡读 `logo` —— 两条渲染路径要的字段不一样。把 tier 从
flagship 改成 standard 而忘了配 logo,页面上就是个静默碎图,而赞助位是付费展示位,
图挂了就是事故。
`assertSponsors()` 在构建期校验三件事:字段按 tier 齐全、素材文件真的存在、
三语文案不缺。反向验证过 —— 把 img 改成不存在的文件、把 tier 改成 standard,
构建各自直接失败并指名道姓报出缺什么。
赞助素材规格说明(官网赞助 FAQ 三语 + site/README.md)同步更新为旗舰 1269×337 /
常规 800×368,并写明常规位还需方形小图标。
## 验证
- 官网 66 页构建通过,三语赞助页均渲染旗舰卡、「虚位以待」卡消失、福利表首行正确
- 全站链接扫描:站内死链 0、无效 `href="#"` 0;banner 落盘 dist 并本地预览 200
- README 引用的 3 个本地素材全部存在
- audit 170 pass / 0 fail;verify-release 115 pass / 0 fail(外链验活覆盖了新增的
infistar.cc 推广链接)
- CI 等价检查 + tests/kimi · pi · opencode · brainstorm-server 全 PASS
This commit is contained in:
12
README.md
12
README.md
@@ -35,6 +35,18 @@ Chinese community edition of [superpowers](https://github.com/obra/superpowers)
|
|||||||
|
|
||||||
## ❤️ 赞助商 <sub>🙏 想出现在这里?联系 **jnMetaCode@qq.com** 赞助</sub>
|
## ❤️ 赞助商 <sub>🙏 想出现在这里?联系 **jnMetaCode@qq.com** 赞助</sub>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://www.infistar.cc/register?aff=PDVTM2VS&ref_source=link">
|
||||||
|
<img src="assets/sponsors/infistar.jpg" alt="Infistar.cc 无限星河 —— 全模型 API 服务,一个 API Key 接入 Claude、ChatGPT、Gemini、Kimi、GLM、DeepSeek,价格低至官方渠道 1 折" width="100%">
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
感谢 [Infistar.cc 无限星河](https://www.infistar.cc/register?aff=PDVTM2VS&ref_source=link) 旗舰赞助本项目!Infistar.cc 提供全模型 API 服务:**一个 API Key 接入** Claude、ChatGPT、Gemini、Kimi、GLM、DeepSeek 等主流模型,适配 Claude Code、Codex、Cursor、Windsurf、Kiro 等 AI 编程工具。高可用模型通道与多节点冗余,价格低至官方渠道 **1 折**,稳定承载需求分析、方案规划、TDD、调试、代码审查这类长任务 —— 正好是 superpowers-zh 这套方法论跑起来时最吃稳定性的地方。
|
||||||
|
|
||||||
|
🎁 **通过[此链接](https://www.infistar.cc/register?aff=PDVTM2VS&ref_source=link)注册并完成首次调用,即可领取 5 美元等值测试额度!**
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="25%">
|
<td width="25%">
|
||||||
|
|||||||
@@ -35,6 +35,18 @@ Chinese community edition of [superpowers](https://github.com/obra/superpowers)
|
|||||||
|
|
||||||
## ❤️ 贊助商 <sub>🙏 想出現在這裡?聯絡 **jnMetaCode@qq.com** 贊助</sub>
|
## ❤️ 贊助商 <sub>🙏 想出現在這裡?聯絡 **jnMetaCode@qq.com** 贊助</sub>
|
||||||
|
|
||||||
|
<p align="center">
|
||||||
|
<a href="https://www.infistar.cc/register?aff=PDVTM2VS&ref_source=link">
|
||||||
|
<img src="assets/sponsors/infistar.jpg" alt="Infistar.cc 無限星河 —— 全模型 API 服務,一個 API Key 接入 Claude、ChatGPT、Gemini、Kimi、GLM、DeepSeek,價格低至官方渠道 1 折" width="100%">
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
感謝 [Infistar.cc 無限星河](https://www.infistar.cc/register?aff=PDVTM2VS&ref_source=link) 旗艦贊助本專案!Infistar.cc 提供全模型 API 服務:**一個 API Key 接入** Claude、ChatGPT、Gemini、Kimi、GLM、DeepSeek 等主流模型,適配 Claude Code、Codex、Cursor、Windsurf、Kiro 等 AI 編程工具。高可用模型通道與多節點冗餘,價格低至官方渠道 **1 折**,穩定承載需求分析、方案規劃、TDD、除錯、程式碼審查這類長任務 —— 正好是 superpowers-zh 這套方法論跑起來時最吃穩定性的地方。
|
||||||
|
|
||||||
|
🎁 **透過[此連結](https://www.infistar.cc/register?aff=PDVTM2VS&ref_source=link)註冊並完成首次呼叫,即可領取 5 美元等值測試額度!**
|
||||||
|
|
||||||
|
<hr>
|
||||||
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<td width="25%">
|
<td width="25%">
|
||||||
|
|||||||
BIN
assets/sponsors/infistar.jpg
Normal file
BIN
assets/sponsors/infistar.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 54 KiB |
@@ -40,7 +40,7 @@ dist/
|
|||||||
| 支持工具 / 安装命令 | `site/build.mjs` 的 `TOOLS`(与 `bin/superpowers-zh.js` 的 `TARGETS` 对齐;每条的 `mode` = `auto` 自动识别 / `manual` 必须 `--tool` / `global` 只有 `--global` 才生效)。条目数由 `scripts/audit.sh` 卡死 = TARGETS 条目数 + 1(Copilot CLI 单独计数) |
|
| 支持工具 / 安装命令 | `site/build.mjs` 的 `TOOLS`(与 `bin/superpowers-zh.js` 的 `TARGETS` 对齐;每条的 `mode` = `auto` 自动识别 / `manual` 必须 `--tool` / `global` 只有 `--global` 才生效)。条目数由 `scripts/audit.sh` 卡死 = TARGETS 条目数 + 1(Copilot CLI 单独计数) |
|
||||||
| 赞助商(logo / banner / 文案 / 链接 / 优惠码) | `site/build.mjs` 的 `SPONSORS`(`logo` 小图标 + `img` 大 banner 都放 `assets/sponsors/`,构建时自动拷进 `dist/assets/sponsors/`)——首页不放赞助内容,全部在 `sponsors.html`。**改完同步改 README.md / README.zh-Hant.md 的赞助商区块** |
|
| 赞助商(logo / banner / 文案 / 链接 / 优惠码) | `site/build.mjs` 的 `SPONSORS`(`logo` 小图标 + `img` 大 banner 都放 `assets/sponsors/`,构建时自动拷进 `dist/assets/sponsors/`)——首页不放赞助内容,全部在 `sponsors.html`。**改完同步改 README.md / README.zh-Hant.md 的赞助商区块** |
|
||||||
| 赞助商页文案 / 赞助权益 / 赞助 FAQ | `site/build.mjs` 的 `T.<lang>.sp` |
|
| 赞助商页文案 / 赞助权益 / 赞助 FAQ | `site/build.mjs` 的 `T.<lang>.sp` |
|
||||||
| 谁上旗舰位 | `SPONSORS` 里该条的 `tier`:`'flagship'` 用大 banner 单独成块(读 `img`),其余是紧凑卡(读 `logo`,简介截 4 行);没有 flagship 时该区块渲染成「虚位以待」招商卡 |
|
| 谁上旗舰位 | `SPONSORS` 里该条的 `tier`:`'flagship'` 用大 banner 单独成块(读 `img` + `w` / `h`,**不读 `logo`**),其余是紧凑卡(读 `logo`,简介截 4 行);没有 flagship 时该区块渲染成「虚位以待」招商卡。改 tier 时字段要跟着换 —— 构建期 `assertSponsors()` 会校验字段齐全、素材文件存在、三语文案不缺,缺了直接构建失败 |
|
||||||
| 样式 / 主题 | `site/template/styles.css` |
|
| 样式 / 主题 | `site/template/styles.css` |
|
||||||
| 交互逻辑 | `site/template/app.js` |
|
| 交互逻辑 | `site/template/app.js` |
|
||||||
| Markdown 渲染规则 | `site/md.mjs` |
|
| Markdown 渲染规则 | `site/md.mjs` |
|
||||||
|
|||||||
@@ -127,6 +127,39 @@ const TOOLS = [
|
|||||||
// ---- 赞助商(与 README / README.zh-Hant 的赞助商区块同源;改这里也要同步改 README) ----
|
// ---- 赞助商(与 README / README.zh-Hant 的赞助商区块同源;改这里也要同步改 README) ----
|
||||||
// 注意:链接是赞助方的推广链接,外链一律带 rel="sponsored nofollow noopener"。
|
// 注意:链接是赞助方的推广链接,外链一律带 rel="sponsored nofollow noopener"。
|
||||||
const SPONSORS = [
|
const SPONSORS = [
|
||||||
|
{
|
||||||
|
// 旗舰位:赞助商页顶部整块大图 + 两版 README 顶部优先展示。
|
||||||
|
// 旗舰卡读 img(大 banner),不读 logo —— 见下方 assertSponsors 的校验。
|
||||||
|
tier: 'flagship',
|
||||||
|
img: 'infistar.jpg', w: 1269, h: 337, code: '',
|
||||||
|
url: 'https://www.infistar.cc/register?aff=PDVTM2VS&ref_source=link',
|
||||||
|
name: { zh: 'Infistar.cc 无限星河', en: 'Infistar.cc', zht: 'Infistar.cc 無限星河' },
|
||||||
|
tagline: {
|
||||||
|
zh: '全模型 API · 一个 Key 接入 Claude / GPT / Gemini,低至官方 1 折',
|
||||||
|
en: 'All-model API · one key for Claude / GPT / Gemini, from 10% of list price',
|
||||||
|
zht: '全模型 API · 一個 Key 接入 Claude / GPT / Gemini,低至官方 1 折',
|
||||||
|
},
|
||||||
|
alt: {
|
||||||
|
zh: 'Infistar.cc 无限星河 —— 全模型 API 服务,一个 API Key 接入 Claude、ChatGPT、Gemini、Kimi、GLM、DeepSeek,价格低至官方渠道 1 折',
|
||||||
|
en: 'Infistar.cc — all-model API service: one API key for Claude, ChatGPT, Gemini, Kimi, GLM and DeepSeek, from 10% of official pricing',
|
||||||
|
zht: 'Infistar.cc 無限星河 —— 全模型 API 服務,一個 API Key 接入 Claude、ChatGPT、Gemini、Kimi、GLM、DeepSeek,價格低至官方渠道 1 折',
|
||||||
|
},
|
||||||
|
desc: {
|
||||||
|
zh: '全模型 API 服务:一个 API Key 接入 Claude、ChatGPT、Gemini、Kimi、GLM、DeepSeek 等主流模型,适配 Claude Code、Codex、Cursor、Windsurf、Kiro 等 AI 编程工具。高可用通道与多节点冗余,价格低至官方渠道 1 折,稳定承载需求分析、方案规划、TDD、调试、代码审查这类长任务 —— 正好是 superpowers-zh 这套方法论跑起来时最吃稳定性的地方。',
|
||||||
|
en: 'An all-model API service: one API key for Claude, ChatGPT, Gemini, Kimi, GLM and DeepSeek, wired for Claude Code, Codex, Cursor, Windsurf and Kiro. High-availability channels with multi-node redundancy, from 10% of official pricing, built to hold up across long tasks — requirements analysis, planning, TDD, debugging, code review — exactly where the superpowers-zh workflow leans hardest on stability.',
|
||||||
|
zht: '全模型 API 服務:一個 API Key 接入 Claude、ChatGPT、Gemini、Kimi、GLM、DeepSeek 等主流模型,適配 Claude Code、Codex、Cursor、Windsurf、Kiro 等 AI 編程工具。高可用通道與多節點冗餘,價格低至官方渠道 1 折,穩定承載需求分析、方案規劃、TDD、除錯、程式碼審查這類長任務 —— 正好是 superpowers-zh 這套方法論跑起來時最吃穩定性的地方。',
|
||||||
|
},
|
||||||
|
perk: {
|
||||||
|
zh: '🎁 通过本页链接注册并完成首次调用,即可领取 5 美元等值测试额度',
|
||||||
|
en: '🎁 Sign up via this link and make your first call to claim $5 in test credit',
|
||||||
|
zht: '🎁 透過本頁連結註冊並完成首次呼叫,即可領取 5 美元等值測試額度',
|
||||||
|
},
|
||||||
|
perkShort: {
|
||||||
|
zh: '注册并完成首次调用领 5 美元等值测试额度',
|
||||||
|
en: '$5 test credit after your first call',
|
||||||
|
zht: '註冊並完成首次呼叫領 5 美元等值測試額度',
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
tier: 'standard',
|
tier: 'standard',
|
||||||
img: 'compshare.jpg', w: 800, h: 368, code: '',
|
img: 'compshare.jpg', w: 800, h: 368, code: '',
|
||||||
@@ -185,6 +218,31 @@ const SPONSORS = [
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
// 赞助位是付费展示位,图挂了就是事故。旗舰卡读 img、常规卡读 logo,两条路径
|
||||||
|
// 各自需要的字段不同 —— 把 tier 从 flagship 改成 standard 而忘了配 logo,
|
||||||
|
// 页面上就是一个静默的碎图。构建时直接拦下来,不让它上线。
|
||||||
|
function assertSponsors() {
|
||||||
|
for (const s of SPONSORS) {
|
||||||
|
const need = s.tier === 'flagship' ? ['img', 'w', 'h'] : ['logo'];
|
||||||
|
const missing = need.filter(k => !s[k]);
|
||||||
|
if (missing.length) {
|
||||||
|
throw new Error(`赞助商 ${s.name?.zh || '?'}(tier: ${s.tier})缺字段:${missing.join(', ')}`);
|
||||||
|
}
|
||||||
|
for (const f of [s.img, s.logo].filter(Boolean)) {
|
||||||
|
if (!existsSync(join(ROOT, 'assets', 'sponsors', f))) {
|
||||||
|
throw new Error(`赞助商 ${s.name?.zh || '?'} 的素材不存在:assets/sponsors/${f}`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
for (const k of ['name', 'tagline', 'alt', 'desc', 'perk', 'perkShort']) {
|
||||||
|
if (s.tier !== 'flagship' && k === 'tagline') continue; // 常规卡不展示 tagline
|
||||||
|
for (const lang of ['zh', 'en', 'zht']) {
|
||||||
|
if (!s[k]?.[lang]) throw new Error(`赞助商 ${s.name?.zh || '?'} 的 ${k} 缺 ${lang} 文案`);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
assertSponsors();
|
||||||
|
|
||||||
const T = {
|
const T = {
|
||||||
zh: {
|
zh: {
|
||||||
htmlLang: 'zh-CN',
|
htmlLang: 'zh-CN',
|
||||||
@@ -246,7 +304,7 @@ const T = {
|
|||||||
{ q: '如何成为 superpowers-zh 的赞助商?', a: '邮件联系 jnMetaCode@qq.com,说明你的产品、目标人群和想要的展位形式。我们会回复可选方案、素材要求和上线时间。' },
|
{ q: '如何成为 superpowers-zh 的赞助商?', a: '邮件联系 jnMetaCode@qq.com,说明你的产品、目标人群和想要的展位形式。我们会回复可选方案、素材要求和上线时间。' },
|
||||||
{ q: '有哪些合作方案?', a: '分旗舰位与常规位两档:旗舰位在本页顶部单独成块展示,常规位在「更多赞助商」卡片区。两档都含 GitHub 简繁双版 README 展位与官网三语站点露出。具体以邮件沟通为准。' },
|
{ q: '有哪些合作方案?', a: '分旗舰位与常规位两档:旗舰位在本页顶部单独成块展示,常规位在「更多赞助商」卡片区。两档都含 GitHub 简繁双版 README 展位与官网三语站点露出。具体以邮件沟通为准。' },
|
||||||
{ q: '谈完多久可以上线?', a: '素材齐全后改动会随下一次站点构建发布 —— 本站接的是仓库自动部署,推送即上线,通常当天可见。' },
|
{ q: '谈完多久可以上线?', a: '素材齐全后改动会随下一次站点构建发布 —— 本站接的是仓库自动部署,推送即上线,通常当天可见。' },
|
||||||
{ q: '需要准备哪些素材?', a: '一张横版 banner(参考现有赞助位约 800×368,JPG / PNG)、一句话定位、一段 100 字左右的介绍、落地链接,以及给本项目用户的专属优惠码或福利(可选)。' },
|
{ q: '需要准备哪些素材?', a: '一张横版 banner(旗舰位约 1269×337,常规位约 800×368,JPG / PNG)、一句话定位、一段 100 字左右的介绍、落地链接,以及给本项目用户的专属优惠码或福利(可选)。常规位还需一枚方形小图标(约 36×36 显示)。' },
|
||||||
],
|
],
|
||||||
listTitle: '当前赞助商',
|
listTitle: '当前赞助商',
|
||||||
listSub: '感谢他们持续支持本项目,并为本项目用户提供专属福利。',
|
listSub: '感谢他们持续支持本项目,并为本项目用户提供专属福利。',
|
||||||
@@ -378,7 +436,7 @@ const T = {
|
|||||||
{ q: 'How do I become a sponsor?', a: 'Email jnMetaCode@qq.com with your product, target audience and the placement you have in mind. We will reply with options, asset specs and timing.' },
|
{ q: 'How do I become a sponsor?', a: 'Email jnMetaCode@qq.com with your product, target audience and the placement you have in mind. We will reply with options, asset specs and timing.' },
|
||||||
{ q: 'What tiers are there?', a: 'Two: flagship, which gets its own block at the top of this page, and standard, which appears in the sponsor card grid. Both include placement in the Simplified and Traditional Chinese READMEs on GitHub and across all three site locales. Exact terms are settled over email.' },
|
{ q: 'What tiers are there?', a: 'Two: flagship, which gets its own block at the top of this page, and standard, which appears in the sponsor card grid. Both include placement in the Simplified and Traditional Chinese READMEs on GitHub and across all three site locales. Exact terms are settled over email.' },
|
||||||
{ q: 'How soon does it go live?', a: 'Once assets are in, the change ships with the next site build — the site deploys straight from the repo, so it is usually live the same day.' },
|
{ q: 'How soon does it go live?', a: 'Once assets are in, the change ships with the next site build — the site deploys straight from the repo, so it is usually live the same day.' },
|
||||||
{ q: 'What assets do you need?', a: 'A landscape banner (existing slots are around 800×368, JPG / PNG), a one-line positioning statement, a short paragraph of copy, a landing URL, and optionally a promo code or perk for this project\u2019s users.' },
|
{ q: 'What assets do you need?', a: 'A landscape banner (around 1269×337 for the flagship slot, 800×368 for standard, JPG / PNG), a one-line positioning statement, a short paragraph of copy, a landing URL, and optionally a promo code or perk for this project\u2019s users. Standard slots also need a square icon (shown at 36×36).' },
|
||||||
],
|
],
|
||||||
listTitle: 'Current sponsors',
|
listTitle: 'Current sponsors',
|
||||||
listSub: 'Thanks for backing this project — and for the perks they offer to its users.',
|
listSub: 'Thanks for backing this project — and for the perks they offer to its users.',
|
||||||
@@ -510,7 +568,7 @@ const T = {
|
|||||||
{ q: '如何成為 superpowers-zh 的贊助商?', a: '郵件聯絡 jnMetaCode@qq.com,說明你的產品、目標人群和想要的展位形式。我們會回覆可選方案、素材要求和上線時間。' },
|
{ q: '如何成為 superpowers-zh 的贊助商?', a: '郵件聯絡 jnMetaCode@qq.com,說明你的產品、目標人群和想要的展位形式。我們會回覆可選方案、素材要求和上線時間。' },
|
||||||
{ q: '有哪些合作方案?', a: '分旗艦位與常規位兩檔:旗艦位在本頁頂部單獨成塊展示,常規位在「更多贊助商」卡片區。兩檔都含 GitHub 簡繁雙版 README 展位與官網三語站點露出。具體以郵件溝通為準。' },
|
{ q: '有哪些合作方案?', a: '分旗艦位與常規位兩檔:旗艦位在本頁頂部單獨成塊展示,常規位在「更多贊助商」卡片區。兩檔都含 GitHub 簡繁雙版 README 展位與官網三語站點露出。具體以郵件溝通為準。' },
|
||||||
{ q: '談完多久可以上線?', a: '素材齊全後改動會隨下一次站點構建釋出 —— 本站接的是倉庫自動部署,推送即上線,通常當天可見。' },
|
{ q: '談完多久可以上線?', a: '素材齊全後改動會隨下一次站點構建釋出 —— 本站接的是倉庫自動部署,推送即上線,通常當天可見。' },
|
||||||
{ q: '需要準備哪些素材?', a: '一張橫版 banner(參考現有贊助位約 800×368,JPG / PNG)、一句話定位、一段 100 字左右的介紹、落地連結,以及給本專案使用者的專屬優惠碼或福利(可選)。' },
|
{ q: '需要準備哪些素材?', a: '一張橫版 banner(旗艦位約 1269×337,常規位約 800×368,JPG / PNG)、一句話定位、一段 100 字左右的介紹、落地連結,以及給本專案使用者的專屬優惠碼或福利(可選)。常規位還需一枚方形小圖示(約 36×36 顯示)。' },
|
||||||
],
|
],
|
||||||
listTitle: '目前贊助商',
|
listTitle: '目前贊助商',
|
||||||
listSub: '感謝他們持續支持本專案,並為本專案使用者提供專屬福利。',
|
listSub: '感謝他們持續支持本專案,並為本專案使用者提供專屬福利。',
|
||||||
|
|||||||
Reference in New Issue
Block a user