AI-assisted novel and Galgame script repository
- Typst 92.9%
- Python 6.9%
- PowerShell 0.2%
|
|
||
|---|---|---|
| .agents | ||
| .claude/skills/chapter-write | ||
| .github/workflows | ||
| .idea | ||
| .opencode/skills/chapter-write | ||
| .vscode | ||
| background_settings | ||
| book | ||
| fonts | ||
| images | ||
| reference | ||
| scripts | ||
| templates | ||
| .gitignore | ||
| AGENTS.md | ||
| cg_generate_plan.md | ||
| CLAUDE.md | ||
| README.md | ||
INTER INCONSISTENCY
AI 辅助 Galgame 脚本编写仓库。Typst 构建,中文对话体小说。
项目结构
novel/
├── book/ # 正文章节(V01-V05 + AfterStory)
│ ├── AfterStory/
│ ├── V01/ # 第1卷 零初始化
│ ├── V02/ # 第2卷 预取
│ ├── V03/ # 第3卷 正规表达式
│ ├── V04/ # 第4卷 循环依赖
│ └── V05/ # 第5卷 解耦
├── background_settings/ # 背景设定与人设
│ ├── timeline-config.toml # 时间线配置
│ └── characters/
│ ├── 故事内核.typ
│ ├── 男主角.typ
│ ├── 女主角.typ
│ ├── 女配1.typ
│ └── 女配2.typ
├── templates/ # Typst 模板
│ ├── chapter.typ
│ ├── character.typ
│ ├── def.typ
│ └── theme.typ
├── fonts/ # 思源黑体
├── images/ # 角色立绘等资源
├── reference/ # 参考材料(不进 PDF)
│ ├── analysis/ # 情节分析
│ ├── book_candidates/ # 候选章节
│ └── INTER INCONSISTENCY/ # 原始 md 章节
├── scripts/ # 构建与工具脚本
│ ├── builder.py # 生成 build/_index.typ
│ ├── build_timeline.py # 生成 build/timeline.typ
│ └── legacy/ # 一次性修复/转换脚本
├── build/ # 构建产物(gitignore)
│ ├── _index.typ # 自动生成,勿手动编辑
│ ├── timeline.typ # 自动生成
│ └── novel*.pdf
├── .github/workflows/build.yml # CI
└── AGENTS.md # AI 协作约定
构建
# 1. 生成时间线
python scripts/build_timeline.py
# 2. 生成索引
python scripts/builder.py
# 3. 编译 PDF
typst compile build/_index.typ build/novel.pdf --root . --font-path fonts --ignore-system-fonts
字体规范
所有汉字字体统一使用项目内置的思源黑体,Typst 中写作 font: "Source Han Sans SC"。不要为中文文本配置 Microsoft YaHei、宋体、黑体等系统字体回退;本地和 CI 编译都必须带 --font-path fonts --ignore-system-fonts,确保使用 fonts/SourceHanSansSC-Regular.otf 与 fonts/SourceHanSansSC-Bold.otf。
游客告示
Github 公共仓库会审查 R18 内容。如有兴致请移步其他渠道。
SERIOUS WARNING
- 文本内容纯属虚构,如有雷同,属实是科技奇迹
- 文本内存在在现实世界中显然违法的行为,禁止一切模仿
- 文本内存在大量违反世俗伦理的情节、R18 内容,严禁未成年人阅读