Skip to content

Commit 58aae59

Browse files
committed
feat: dual license setup and commercial inquiry channel
book/ now ships under CC BY-NC-SA 4.0 with both English LICENSE and a Chinese friendly explainer (LICENSE.zh-CN.md). Repo core stays Apache-2.0 — clear single-rule split: book/ = CC, everything else = Apache. Main README and English README get a 'Commercial Inquiries / Corporate Training' section between Community and Contributing, listing six concrete use cases (corp training, paid courses, consulting, print publishing, speaking, white-label) with WeChat OA + GitHub Issue contact channels. Effect: the repo stays maximally permissive for individual readers (Apache-2.0 core), but commercial use cases of the book now have a clean license boundary (CC BY-NC-SA) and a documented channel for licensing conversations.
1 parent ec6c11f commit 58aae59

6 files changed

Lines changed: 200 additions & 1 deletion

File tree

README.en.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,31 @@ See **[CHANGELOG](CHANGELOG.en.md)** for important updates. Latest major update:
131131

132132
---
133133

134+
## Commercial Inquiries · Corporate Training
135+
136+
The repository core (tutorials / templates / scripts) is permanently **Apache-2.0**, free for individuals.
137+
138+
The following use cases warrant a conversation first:
139+
140+
| Use case | Audience |
141+
|----------|----------|
142+
| **Corporate training** (10+ people / series) | Team leads / HR / engineering managers |
143+
| **Paid courses / bootcamps** integrating this content | Education companies / training providers |
144+
| **AI-coding consulting** (tool selection / workflow design / CI integration) | Engineering leadership |
145+
| **Print or commercial e-book publishing** (based on [`book/`](./book/)) | Publishers / editors |
146+
| **Speaking engagements** (offline events / annual meetings / conferences) | Conference organizers |
147+
| **White-label / internal wiki integration** | Large teams |
148+
149+
**How to reach out:**
150+
- WeChat Official Account **「AI不止语」** (search `AI_BuZhiYu`) — backstage message with "合作"
151+
- GitHub Issue (prefix title with `[BUSINESS]`): [open inquiry](https://github.com/jnMetaCode/ai-coding-guide/issues/new?title=%5BBUSINESS%5D+)
152+
153+
> Licensing: the repository core stays Apache-2.0 forever. Content under `book/` uses [CC BY-NC-SA 4.0](./book/LICENSE) (free for individuals; commercial use requires a license).
154+
>
155+
> If you're an individual learning, researching, writing a blog post, or building a demo — go right ahead, no need to ask, just credit the source.
156+
157+
---
158+
134159
## Contributing
135160

136161
Contributions welcome! See [CONTRIBUTING.en.md](./CONTRIBUTING.en.md).

README.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,31 @@
120120

121121
---
122122

123+
## 商业合作 · 内训咨询
124+
125+
仓库主体(教程 / 模板 / 脚本)永久 **Apache-2.0 免费开源**,欢迎个人无障碍使用。
126+
127+
但以下场景**建议先沟通**
128+
129+
| 场景 | 适合谁 |
130+
|------|-------|
131+
| **企业内训**(10 人以上 / 系列课)| 团队 lead / HR / 技术总监 |
132+
| **付费课程 / 训练营**整合本仓内容 | 教育机构 / 自媒体培训方 |
133+
| **AI 编程团队咨询**(选型 / 工作流设计 / CI 改造) | 技术 leadership |
134+
| **纸书 / 电子书出版**(基于 [`book/`](./book/) 内容)| 出版社 / 编辑 |
135+
| **演讲 / 闭门分享**(线下活动 / 公司年会 / 行业大会)| 大会主办方 / 企业 |
136+
| **白标 / 内部知识库**(把内容嵌入企业内部 Wiki)| 大型团队 |
137+
138+
**联系方式**
139+
- 微信公众号 **「AI不止语」**(搜索 `AI_BuZhiYu`)后台留言「合作」
140+
- GitHub Issue(标题加 `[BUSINESS]` 前缀):[提交咨询](https://github.com/jnMetaCode/ai-coding-guide/issues/new?title=%5BBUSINESS%5D+)
141+
142+
> 关于 license:仓库主体 Apache-2.0 永远不变;`book/` 目录下的书用 [CC BY-NC-SA 4.0](./book/LICENSE.zh-CN.md)(个人免费 / 商业使用需授权)。
143+
>
144+
> 如果你只是个人学习、研究、写博客、做 demo——尽情使用,不用打招呼,注明来源就好。
145+
146+
---
147+
123148
## 贡献
124149

125150
欢迎参与!详见 [CONTRIBUTING.md](./CONTRIBUTING.md)

book/LICENSE

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
2+
(CC BY-NC-SA 4.0)
3+
4+
Copyright (c) 2026 jnMetaCode and contributors
5+
6+
This work — the "AI 编程实战三卷书" (and the unified web edition rendered from
7+
the `book/` directory) — is licensed under the Creative Commons Attribution-
8+
NonCommercial-ShareAlike 4.0 International License.
9+
10+
You are free to:
11+
12+
• Share — copy and redistribute the material in any medium or format
13+
• Adapt — remix, transform, and build upon the material
14+
15+
Under the following terms:
16+
17+
• Attribution — You must give appropriate credit, provide a link to the
18+
license, and indicate if changes were made. You may do so
19+
in any reasonable manner, but not in any way that suggests
20+
the licensor endorses you or your use.
21+
22+
• NonCommercial — You may not use the material for commercial purposes.
23+
This includes (but is not limited to):
24+
- Selling printed or digital copies for profit
25+
- Bundling into paid courses, paid workshops, or
26+
paid corporate training
27+
- Using the material as the primary deliverable in
28+
client engagements
29+
- Republishing on a paywalled platform
30+
Linking to this work from a commercial site is fine.
31+
Reading at work or for work-related learning is fine.
32+
33+
• ShareAlike — If you remix, transform, or build upon the material,
34+
you must distribute your contributions under the same
35+
license as the original (CC BY-NC-SA 4.0).
36+
37+
• No additional restrictions — You may not apply legal terms or
38+
technological measures that legally restrict others
39+
from doing anything the license permits.
40+
41+
For commercial use cases not covered by the license — corporate training,
42+
paid course distribution, white-label internal handbooks, etc. — please
43+
contact the maintainer to discuss commercial licensing.
44+
45+
Full legal code:
46+
https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode
47+
48+
Human-readable summary:
49+
https://creativecommons.org/licenses/by-nc-sa/4.0/
50+
51+
---
52+
53+
NOTE on dual licensing of this repository:
54+
55+
• The book content under `book/` is licensed CC BY-NC-SA 4.0 (this file).
56+
• All other content in the parent repository (`ai-coding-guide`) — tutorials,
57+
code templates, configuration examples — is licensed under Apache-2.0
58+
(see `../LICENSE`).
59+
• When in doubt: if it lives under `book/`, this license applies. Everything
60+
else is Apache-2.0.
61+
62+
For commercial licensing inquiries, see the maintainer's contact channels in
63+
the repository README under "商业合作 · Commercial Inquiries".

book/LICENSE.zh-CN.md

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
# 授权说明(中文友好版)
2+
3+
> 法律全文以 [`LICENSE`](./LICENSE)(英文)为准,本文档仅作通俗解释。
4+
5+
## 这本书用什么授权?
6+
7+
**Creative Commons 署名-非商业性使用-相同方式共享 4.0 国际许可协议**
8+
(CC BY-NC-SA 4.0)
9+
10+
这是一个**国际通用、出版社认可、读者熟悉**的标准授权。简单说:
11+
12+
### ✅ 你可以这样做(不用打招呼)
13+
14+
- **个人阅读、学习、研究、做笔记**
15+
- 把内容**节选转载**到自己的博客、公众号、知乎、B 站、小红书(**注明来源**即可)
16+
- **二次创作**:基于本书做派生教程、视频解说、播客(**注明来源 + 派生作品同样开源**
17+
- **打印一份给自己看**
18+
- **公司里某个人下载来自学**——这是阅读,不是商用
19+
- **链接到本书**——任何场景都欢迎,包括商业网站
20+
21+
### ❌ 这些用法**必须先获得授权**
22+
23+
- **印刷出版纸质书牟利**(打印自看不算)
24+
- **打包进付费课程、付费 workshop、付费训练营**
25+
- **作为企业内训的主要教材分发**——一对几十人的内训属于商业使用
26+
- **作为客户交付物的主要内容**(甲方要文档,你拿这本书改个 logo 交过去)
27+
- **整本搬到付费墙后面卖**
28+
- 印 ISBN 出版物(必须联系出版社走授权)
29+
30+
### 🔄 派生作品规则
31+
32+
如果你基于本书做派生(翻译、节选汇编、扩展教程)——
33+
34+
- 必须**注明来源**:「源自 [jnMetaCode/ai-coding-guide](https://github.com/jnMetaCode/ai-coding-guide)
35+
- 你的派生作品**必须用相同的 CC BY-NC-SA 4.0 许可发布**——也就是说不能闭源、不能加更严的限制
36+
37+
## 为什么选 CC BY-NC-SA 4.0 而不是自定义许可?
38+
39+
- **国际标准**:出版社、Leanpub、O'Reilly 都认这个
40+
- **读者熟悉**:维基百科、众多开源教程都用 CC 系列,没人需要重新学规则
41+
- **法律可执行**:CC 协议在中国法律体系下被法院承认过
42+
- **传播零摩擦**:分享时一个 logo + 一个链接就能把 license 讲清楚
43+
44+
如果用自定义"花叔风格 Personal Use License",对****来说反而是负担——书的本质是被传阅、被引用、被节选;标准 license 比自定义条款更利于这件事。
45+
46+
## 我想商业使用,怎么联系?
47+
48+
仓库主 README 末尾的「商业合作 · 内训咨询」段落里有联系方式(公众号 / 邮箱)。
49+
50+
典型可商业授权的场景:
51+
52+
- 把本书纳入**付费课程**
53+
- 给员工做**企业内训**(超过 10 人的内部培训)
54+
-**纸书出版**(个人/出版社均可)
55+
- 翻译**英文版/日文版**对外销售
56+
- 摘编进 **B 端产品的帮助文档**
57+
58+
授权通常一对一谈,价格灵活。
59+
60+
## 主仓库的代码部分怎么算?
61+
62+
本仓库**双授权**
63+
64+
| 内容 | 路径 | License |
65+
|------|------|---------|
66+
| 教程文章 | 仓库根目录、`common/``workflows/`、各工具目录 | **Apache-2.0** |
67+
| 配置模板、脚本、SKILL.md |`templates/` 目录 | **Apache-2.0** |
68+
| **本书(mdbook 编译产物)** | `book/` | **CC BY-NC-SA 4.0** |
69+
70+
简单记忆:**`book/` 目录下用 CC,其他全 Apache-2.0**
71+
72+
如果你不确定某段内容算哪类——它要么是 GitHub 仓库里读的(Apache-2.0),要么是从书的 PDF 里读的(CC BY-NC-SA)。

book/README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,12 @@ pandoc -o ../../ai-coding-guide.pdf $(find . -name "*.html" | sort) \
117117

118118
每一项都可以独立 PR 进来。
119119

120+
## License
121+
122+
**CC BY-NC-SA 4.0** — 个人免费 / 禁商业 / 派生开源。详见 [`LICENSE`](./LICENSE) 或 [中文友好版](./LICENSE.zh-CN.md)。
123+
124+
> 与主仓库 Apache-2.0 是双 license 关系:`book/` 目录下用 CC,其他都是 Apache。
125+
120126
## 上游
121127

122128
GitHub: [jnMetaCode/ai-coding-guide](https://github.com/jnMetaCode/ai-coding-guide)

book/src/about.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,12 @@ mdbook build # 生成静态 HTML 到 book/book/
4848

4949
## License
5050

51-
内容遵循 Apache-2.0(与仓库一致)。允许转载、修改、商用,请保留来源。
51+
本书使用 **CC BY-NC-SA 4.0**(署名-非商业-相同方式共享)。
52+
53+
-**个人免费**:阅读 / 学习 / 转载 / 节选 / 二次创作(注明来源即可)
54+
-**商业使用需授权**:付费课程、企业内训(>10 人)、纸书出版、付费墙转售等
55+
- 🔗 详见:[`LICENSE`](https://github.com/jnMetaCode/ai-coding-guide/blob/main/book/LICENSE)(英文全文) · [`LICENSE.zh-CN.md`](https://github.com/jnMetaCode/ai-coding-guide/blob/main/book/LICENSE.zh-CN.md)(中文友好版)
56+
57+
> ⚠️ 仓库**双 license**`book/` 目录下的书用 CC BY-NC-SA 4.0,仓库其他部分(教程文 / 模板 / 脚本)用 Apache-2.0。
58+
59+
商业授权咨询:见仓库主 README 「**商业合作 · 内训咨询**」段落。

0 commit comments

Comments
 (0)