nomadweb/frontend/content/book/features.json
eric ff7b721acb feat: NomadCNA community layer, social matching, payments, and ebook
Port meetups, discussions, gigs, dating/chat, VIP pay (ZPay/XorPay), MiroTalk live, digital academy, and ebook reader. Add persistent community_store, git-first deploy docs, and env template for production secrets.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-30 09:38:13 -05:00

95 lines
2.2 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"$schema": "./features.schema.json",
"$comment": "功能模块总开关 — 关闭任何模块不影响其余功能",
"analytics": {
"enabled": true,
"provider": "ga4",
"measurementId": ""
},
"ads": {
"enabled": false,
"provider": "adsense",
"clientId": "",
"slots": {
"cover": "",
"readerMid": "",
"readerEnd": ""
}
},
"payment": {
"crypto": {
"enabled": false,
"provider": "nowpayments",
"tiers": [
{ "amount": 5, "label": "Coffee" },
{ "amount": 10, "label": "Lunch" },
{ "amount": 20, "label": "Sponsor" }
]
},
"checkout": {
"enabled": false,
"provider": "creem",
"buttonText": "Buy Now — $29",
"productName": "Download Edition (PDF & EPUB)"
}
},
"feedback": {
"enabled": false,
"title": "这本书对你有帮助吗?",
"subtitle": "欢迎提建议、纠错或合作联系,我会认真看每一条。"
},
"affiliate": {
"enabled": true,
"rules": [
{
"hosts": ["amazon.com", "amzn.to", "amazon.cn"],
"param": "tag=your-amazon-tag-20"
},
{
"hosts": ["taobao.com", "tmall.com"],
"rewrite": "https://s.click.taobao.com/t?eurl={encoded}&union_lens=lensId"
}
]
},
"share": {
"enabled": true,
"campaign": "nomad-code",
"defaultHashtags": ["数字游民", "Homelab", "远程办公"],
"viralPrompt": {
"enabled": true,
"triggerPercent": 42
}
},
"reader": {
"bookmarks": { "enabled": true },
"highlights": { "enabled": true },
"search": { "enabled": true },
"progress": { "enabled": true },
"zen": { "enabled": true },
"shortcuts": { "enabled": true },
"themeToggle": { "enabled": true },
"fontControl": { "enabled": true }
},
"userdata": {
"enabled": true,
"syncToServer": false,
"$comment": "syncToServer=true 时书签/划线/进度同步到 PocketBase,否则仅 localStorage"
},
"backend": {
"pocketbase": { "enabled": true },
"email": {
"enabled": false,
"$comment": "需要配置 SMTP 环境变量才能发送购买邮件"
}
}
}