framedown 0.1.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (363) hide show
  1. framedown-0.1.0/.dockerignore +22 -0
  2. framedown-0.1.0/.github/workflows/ci.yml +103 -0
  3. framedown-0.1.0/.github/workflows/release.yml +59 -0
  4. framedown-0.1.0/.gitignore +18 -0
  5. framedown-0.1.0/.pre-commit-config.yaml +31 -0
  6. framedown-0.1.0/AGENTS.md +16 -0
  7. framedown-0.1.0/CHANGELOG.md +35 -0
  8. framedown-0.1.0/CLAUDE.md +16 -0
  9. framedown-0.1.0/Dockerfile +42 -0
  10. framedown-0.1.0/LICENSE +201 -0
  11. framedown-0.1.0/NOTICE +17 -0
  12. framedown-0.1.0/PKG-INFO +389 -0
  13. framedown-0.1.0/README.md +351 -0
  14. framedown-0.1.0/changes/2026-11-cli-tui/delta-spec.md +23 -0
  15. framedown-0.1.0/changes/2026-11-cli-tui/proposal.md +26 -0
  16. framedown-0.1.0/changes/2026-11-cli-tui/tasks.md +5 -0
  17. framedown-0.1.0/changes/2026-11-guide-examples/delta-spec.md +31 -0
  18. framedown-0.1.0/changes/2026-11-guide-examples/proposal.md +66 -0
  19. framedown-0.1.0/changes/2026-11-guide-examples/tasks.md +11 -0
  20. framedown-0.1.0/changes/2026-11-kokoro-plugin/delta-spec.md +22 -0
  21. framedown-0.1.0/changes/2026-11-kokoro-plugin/proposal.md +20 -0
  22. framedown-0.1.0/changes/2026-11-kokoro-plugin/tasks.md +4 -0
  23. framedown-0.1.0/changes/2026-11-mcp-agent-translation/delta-spec.md +15 -0
  24. framedown-0.1.0/changes/2026-11-mcp-agent-translation/proposal.md +18 -0
  25. framedown-0.1.0/changes/2026-11-mcp-agent-translation/tasks.md +4 -0
  26. framedown-0.1.0/changes/2026-11-mcp-container/delta-spec.md +26 -0
  27. framedown-0.1.0/changes/2026-11-mcp-container/proposal.md +23 -0
  28. framedown-0.1.0/changes/2026-11-mcp-container/tasks.md +4 -0
  29. framedown-0.1.0/changes/2026-11-phase-6-clarifications/delta-spec.md +24 -0
  30. framedown-0.1.0/changes/2026-11-phase-6-clarifications/proposal.md +9 -0
  31. framedown-0.1.0/changes/2026-11-phase-6-clarifications/tasks.md +3 -0
  32. framedown-0.1.0/changes/2026-11-release-0.1.0/delta-spec.md +13 -0
  33. framedown-0.1.0/changes/2026-11-release-0.1.0/proposal.md +25 -0
  34. framedown-0.1.0/changes/2026-11-release-0.1.0/tasks.md +5 -0
  35. framedown-0.1.0/changes/2026-11-runtime-error-codes/delta-spec.md +13 -0
  36. framedown-0.1.0/changes/2026-11-runtime-error-codes/proposal.md +9 -0
  37. framedown-0.1.0/changes/2026-11-runtime-error-codes/tasks.md +3 -0
  38. framedown-0.1.0/changes/2026-11-translator-errors/delta-spec.md +7 -0
  39. framedown-0.1.0/changes/2026-11-translator-errors/proposal.md +11 -0
  40. framedown-0.1.0/changes/2026-11-translator-errors/tasks.md +3 -0
  41. framedown-0.1.0/demo/reference_demo.md +71 -0
  42. framedown-0.1.0/docker-compose.yml +24 -0
  43. framedown-0.1.0/docs/guide.md +256 -0
  44. framedown-0.1.0/docs/plugins.md +169 -0
  45. framedown-0.1.0/examples/01-framedown-tour/i18n/es.yaml +226 -0
  46. framedown-0.1.0/examples/01-framedown-tour/video.md +124 -0
  47. framedown-0.1.0/examples/02-feature-showcase/video.md +152 -0
  48. framedown-0.1.0/examples/03-multilingual-tracks/i18n/en.yaml +240 -0
  49. framedown-0.1.0/examples/03-multilingual-tracks/i18n/fr.yaml +240 -0
  50. framedown-0.1.0/examples/03-multilingual-tracks/video.md +91 -0
  51. framedown-0.1.0/examples/04-marp-deck/deck.md +110 -0
  52. framedown-0.1.0/examples/README.md +16 -0
  53. framedown-0.1.0/pyproject.toml +132 -0
  54. framedown-0.1.0/skills/README.md +58 -0
  55. framedown-0.1.0/skills/claude-code/framedown/SKILL.md +96 -0
  56. framedown-0.1.0/skills/claude-code/framedown/references/format.md +79 -0
  57. framedown-0.1.0/skills/claude-code/framedown/references/layouts.md +37 -0
  58. framedown-0.1.0/skills/claude-code/framedown/references/motion.md +23 -0
  59. framedown-0.1.0/skills/claude-code/framedown/references/recipes/data-story.md +29 -0
  60. framedown-0.1.0/skills/claude-code/framedown/references/recipes/explainer.md +38 -0
  61. framedown-0.1.0/skills/claude-code/framedown/references/recipes/launch.md +34 -0
  62. framedown-0.1.0/skills/claude-code/framedown/references/review.md +31 -0
  63. framedown-0.1.0/skills/claude-code/framedown/references/voice.md +55 -0
  64. framedown-0.1.0/skills/claude-desktop/framedown/SKILL.md +99 -0
  65. framedown-0.1.0/skills/claude-desktop/framedown/references/format.md +79 -0
  66. framedown-0.1.0/skills/claude-desktop/framedown/references/layouts.md +37 -0
  67. framedown-0.1.0/skills/claude-desktop/framedown/references/motion.md +23 -0
  68. framedown-0.1.0/skills/claude-desktop/framedown/references/recipes/data-story.md +29 -0
  69. framedown-0.1.0/skills/claude-desktop/framedown/references/recipes/explainer.md +38 -0
  70. framedown-0.1.0/skills/claude-desktop/framedown/references/recipes/launch.md +34 -0
  71. framedown-0.1.0/skills/claude-desktop/framedown/references/review.md +31 -0
  72. framedown-0.1.0/skills/claude-desktop/framedown/references/voice.md +55 -0
  73. framedown-0.1.0/skills/claude-desktop/framedown.zip +0 -0
  74. framedown-0.1.0/skills/general/framedown/SKILL.md +99 -0
  75. framedown-0.1.0/skills/general/framedown/references/format.md +79 -0
  76. framedown-0.1.0/skills/general/framedown/references/layouts.md +37 -0
  77. framedown-0.1.0/skills/general/framedown/references/motion.md +23 -0
  78. framedown-0.1.0/skills/general/framedown/references/recipes/data-story.md +29 -0
  79. framedown-0.1.0/skills/general/framedown/references/recipes/explainer.md +38 -0
  80. framedown-0.1.0/skills/general/framedown/references/recipes/launch.md +34 -0
  81. framedown-0.1.0/skills/general/framedown/references/review.md +31 -0
  82. framedown-0.1.0/skills/general/framedown/references/voice.md +55 -0
  83. framedown-0.1.0/specs/SHIPPED_PHASE +1 -0
  84. framedown-0.1.0/specs/analyze/2026-11-28-phase-0-1.md +27 -0
  85. framedown-0.1.0/specs/analyze/2026-11-28-phase-2.md +16 -0
  86. framedown-0.1.0/specs/analyze/2026-11-28-phase-2b.md +11 -0
  87. framedown-0.1.0/specs/analyze/2026-11-28-phase-3.md +12 -0
  88. framedown-0.1.0/specs/analyze/2026-11-28-phase-4.md +12 -0
  89. framedown-0.1.0/specs/analyze/2026-11-28-phase-5.md +11 -0
  90. framedown-0.1.0/specs/analyze/2026-11-28-phase-6.md +17 -0
  91. framedown-0.1.0/specs/analyze/2026-11-29-phase-7.md +33 -0
  92. framedown-0.1.0/specs/api/framedown-api-v1.md +404 -0
  93. framedown-0.1.0/specs/constitution.md +118 -0
  94. framedown-0.1.0/specs/data-model/framedown-schema.md +191 -0
  95. framedown-0.1.0/specs/plans/framedown-phase-0.md +45 -0
  96. framedown-0.1.0/specs/plans/framedown-phase-1.md +48 -0
  97. framedown-0.1.0/specs/plans/framedown-phase-2.md +79 -0
  98. framedown-0.1.0/specs/plans/framedown-phase-2b.md +44 -0
  99. framedown-0.1.0/specs/plans/framedown-phase-3.md +68 -0
  100. framedown-0.1.0/specs/plans/framedown-phase-4.md +62 -0
  101. framedown-0.1.0/specs/plans/framedown-phase-5.md +52 -0
  102. framedown-0.1.0/specs/plans/framedown-phase-6.md +85 -0
  103. framedown-0.1.0/specs/plans/framedown-phase-7.md +60 -0
  104. framedown-0.1.0/specs/prd/framedown.md +387 -0
  105. framedown-0.1.0/specs/tasks/framedown-phase-0-tasks.md +76 -0
  106. framedown-0.1.0/specs/tasks/framedown-phase-1-tasks.md +199 -0
  107. framedown-0.1.0/specs/tasks/framedown-phase-2-tasks.md +108 -0
  108. framedown-0.1.0/specs/tasks/framedown-phase-2b-tasks.md +49 -0
  109. framedown-0.1.0/specs/tasks/framedown-phase-3-tasks.md +74 -0
  110. framedown-0.1.0/specs/tasks/framedown-phase-4-tasks.md +59 -0
  111. framedown-0.1.0/specs/tasks/framedown-phase-5-tasks.md +52 -0
  112. framedown-0.1.0/specs/tasks/framedown-phase-6-tasks.md +71 -0
  113. framedown-0.1.0/specs/tasks/framedown-phase-7-tasks.md +66 -0
  114. framedown-0.1.0/specs/technical/framedown-architecture.md +210 -0
  115. framedown-0.1.0/src/framedown/__init__.py +65 -0
  116. framedown-0.1.0/src/framedown/__main__.py +5 -0
  117. framedown-0.1.0/src/framedown/api.py +767 -0
  118. framedown-0.1.0/src/framedown/audio/__init__.py +1 -0
  119. framedown-0.1.0/src/framedown/audio/mix.py +155 -0
  120. framedown-0.1.0/src/framedown/audio/narration.py +74 -0
  121. framedown-0.1.0/src/framedown/captions/__init__.py +14 -0
  122. framedown-0.1.0/src/framedown/captions/align.py +77 -0
  123. framedown-0.1.0/src/framedown/captions/cues.py +149 -0
  124. framedown-0.1.0/src/framedown/check/__init__.py +153 -0
  125. framedown-0.1.0/src/framedown/cli.py +534 -0
  126. framedown-0.1.0/src/framedown/compile/__init__.py +5 -0
  127. framedown-0.1.0/src/framedown/compile/html.py +310 -0
  128. framedown-0.1.0/src/framedown/compile/sanitize.py +21 -0
  129. framedown-0.1.0/src/framedown/config.py +125 -0
  130. framedown-0.1.0/src/framedown/encode/__init__.py +5 -0
  131. framedown-0.1.0/src/framedown/encode/ffmpeg.py +213 -0
  132. framedown-0.1.0/src/framedown/examples/__init__.py +0 -0
  133. framedown-0.1.0/src/framedown/examples/explainer.md +39 -0
  134. framedown-0.1.0/src/framedown/examples/multilingual.md +29 -0
  135. framedown-0.1.0/src/framedown/examples/narrated.md +34 -0
  136. framedown-0.1.0/src/framedown/examples/reference_demo.md +71 -0
  137. framedown-0.1.0/src/framedown/export/__init__.py +6 -0
  138. framedown-0.1.0/src/framedown/export/html.py +46 -0
  139. framedown-0.1.0/src/framedown/export/hyperframes.py +76 -0
  140. framedown-0.1.0/src/framedown/export/marp.py +124 -0
  141. framedown-0.1.0/src/framedown/export/player.js +63 -0
  142. framedown-0.1.0/src/framedown/i18n/__init__.py +31 -0
  143. framedown-0.1.0/src/framedown/i18n/apply.py +89 -0
  144. framedown-0.1.0/src/framedown/i18n/catalog.py +138 -0
  145. framedown-0.1.0/src/framedown/i18n/translate.py +101 -0
  146. framedown-0.1.0/src/framedown/i18n/translators.py +78 -0
  147. framedown-0.1.0/src/framedown/importers/__init__.py +1 -0
  148. framedown-0.1.0/src/framedown/importers/marp.py +188 -0
  149. framedown-0.1.0/src/framedown/jobs.py +134 -0
  150. framedown-0.1.0/src/framedown/layouts/__init__.py +6 -0
  151. framedown-0.1.0/src/framedown/layouts/base.py +103 -0
  152. framedown-0.1.0/src/framedown/layouts/builtin.py +244 -0
  153. framedown-0.1.0/src/framedown/layouts/charts.py +184 -0
  154. framedown-0.1.0/src/framedown/layouts/highlight.py +42 -0
  155. framedown-0.1.0/src/framedown/layouts/templates/_macros.html.j2 +47 -0
  156. framedown-0.1.0/src/framedown/layouts/templates/bars.html.j2 +17 -0
  157. framedown-0.1.0/src/framedown/layouts/templates/code.html.j2 +5 -0
  158. framedown-0.1.0/src/framedown/layouts/templates/donut.html.j2 +19 -0
  159. framedown-0.1.0/src/framedown/layouts/templates/layouts.css +81 -0
  160. framedown-0.1.0/src/framedown/layouts/templates/line.html.j2 +20 -0
  161. framedown-0.1.0/src/framedown/layouts/templates/list.html.j2 +5 -0
  162. framedown-0.1.0/src/framedown/layouts/templates/media.html.j2 +10 -0
  163. framedown-0.1.0/src/framedown/layouts/templates/mermaid.html.j2 +5 -0
  164. framedown-0.1.0/src/framedown/layouts/templates/quote.html.j2 +11 -0
  165. framedown-0.1.0/src/framedown/layouts/templates/split.html.j2 +13 -0
  166. framedown-0.1.0/src/framedown/layouts/templates/stat.html.j2 +5 -0
  167. framedown-0.1.0/src/framedown/layouts/templates/title.html.j2 +5 -0
  168. framedown-0.1.0/src/framedown/mcp/__init__.py +5 -0
  169. framedown-0.1.0/src/framedown/mcp/content.py +144 -0
  170. framedown-0.1.0/src/framedown/mcp/security.py +62 -0
  171. framedown-0.1.0/src/framedown/mcp/server.py +360 -0
  172. framedown-0.1.0/src/framedown/media/__init__.py +1 -0
  173. framedown-0.1.0/src/framedown/media/video.py +76 -0
  174. framedown-0.1.0/src/framedown/mermaid.py +383 -0
  175. framedown-0.1.0/src/framedown/parse/__init__.py +0 -0
  176. framedown-0.1.0/src/framedown/parse/attrs.py +62 -0
  177. framedown-0.1.0/src/framedown/parse/directives.py +187 -0
  178. framedown-0.1.0/src/framedown/parse/elements.py +343 -0
  179. framedown-0.1.0/src/framedown/parse/frontmatter.py +257 -0
  180. framedown-0.1.0/src/framedown/parse/loader.py +154 -0
  181. framedown-0.1.0/src/framedown/parse/scenes.py +39 -0
  182. framedown-0.1.0/src/framedown/plugins.py +67 -0
  183. framedown-0.1.0/src/framedown/preview/__init__.py +1 -0
  184. framedown-0.1.0/src/framedown/preview/server.py +134 -0
  185. framedown-0.1.0/src/framedown/render/__init__.py +7 -0
  186. framedown-0.1.0/src/framedown/render/progress.py +24 -0
  187. framedown-0.1.0/src/framedown/render/session.py +209 -0
  188. framedown-0.1.0/src/framedown/render/snapshot.py +69 -0
  189. framedown-0.1.0/src/framedown/render/threads.py +22 -0
  190. framedown-0.1.0/src/framedown/render/workers.py +126 -0
  191. framedown-0.1.0/src/framedown/runtime/__init__.py +7 -0
  192. framedown-0.1.0/src/framedown/runtime/fd.js +126 -0
  193. framedown-0.1.0/src/framedown/security.py +36 -0
  194. framedown-0.1.0/src/framedown/skills/__init__.py +0 -0
  195. framedown-0.1.0/src/framedown/skills/framedown/SKILL.md +75 -0
  196. framedown-0.1.0/src/framedown/skills/framedown/references/format.md +79 -0
  197. framedown-0.1.0/src/framedown/skills/framedown/references/layouts.md +37 -0
  198. framedown-0.1.0/src/framedown/skills/framedown/references/motion.md +23 -0
  199. framedown-0.1.0/src/framedown/skills/framedown/references/recipes/data-story.md +29 -0
  200. framedown-0.1.0/src/framedown/skills/framedown/references/recipes/explainer.md +38 -0
  201. framedown-0.1.0/src/framedown/skills/framedown/references/recipes/launch.md +34 -0
  202. framedown-0.1.0/src/framedown/skills/framedown/references/review.md +31 -0
  203. framedown-0.1.0/src/framedown/skills/framedown/references/voice.md +55 -0
  204. framedown-0.1.0/src/framedown/skills/install.py +57 -0
  205. framedown-0.1.0/src/framedown/spec/__init__.py +63 -0
  206. framedown-0.1.0/src/framedown/spec/errors.py +77 -0
  207. framedown-0.1.0/src/framedown/spec/models.py +265 -0
  208. framedown-0.1.0/src/framedown/spec/schema.py +13 -0
  209. framedown-0.1.0/src/framedown/templates/__init__.py +0 -0
  210. framedown-0.1.0/src/framedown/templates/explainer/framedown.toml +10 -0
  211. framedown-0.1.0/src/framedown/templates/explainer/video.md +39 -0
  212. framedown-0.1.0/src/framedown/themes/__init__.py +5 -0
  213. framedown-0.1.0/src/framedown/themes/base.py +32 -0
  214. framedown-0.1.0/src/framedown/themes/midnight/__init__.py +46 -0
  215. framedown-0.1.0/src/framedown/themes/midnight/fonts/FiraCode-Regular.woff2 +0 -0
  216. framedown-0.1.0/src/framedown/themes/midnight/fonts/Inter-ExtraBold.woff2 +0 -0
  217. framedown-0.1.0/src/framedown/themes/midnight/fonts/Inter-Regular.woff2 +0 -0
  218. framedown-0.1.0/src/framedown/themes/midnight/fonts/Inter-SemiBold.woff2 +0 -0
  219. framedown-0.1.0/src/framedown/themes/midnight/fonts/OFL-FiraCode.txt +93 -0
  220. framedown-0.1.0/src/framedown/themes/midnight/fonts/OFL-Inter.txt +93 -0
  221. framedown-0.1.0/src/framedown/themes/midnight/theme.css +63 -0
  222. framedown-0.1.0/src/framedown/timeline/__init__.py +5 -0
  223. framedown-0.1.0/src/framedown/timeline/build.py +195 -0
  224. framedown-0.1.0/src/framedown/timeline/effects.py +34 -0
  225. framedown-0.1.0/src/framedown/timeline/elements.py +115 -0
  226. framedown-0.1.0/src/framedown/tts/__init__.py +6 -0
  227. framedown-0.1.0/src/framedown/tts/base.py +32 -0
  228. framedown-0.1.0/src/framedown/tts/registry.py +38 -0
  229. framedown-0.1.0/src/framedown/tts/tone.py +70 -0
  230. framedown-0.1.0/src/framedown/tui/__init__.py +1 -0
  231. framedown-0.1.0/src/framedown/tui/app.py +130 -0
  232. framedown-0.1.0/tests/cli/test_check.py +28 -0
  233. framedown-0.1.0/tests/cli/test_commands.py +200 -0
  234. framedown-0.1.0/tests/cli/test_init_list.py +57 -0
  235. framedown-0.1.0/tests/cli/test_skills_install.py +41 -0
  236. framedown-0.1.0/tests/cli/test_translate.py +44 -0
  237. framedown-0.1.0/tests/cli/test_version.py +14 -0
  238. framedown-0.1.0/tests/cli/test_voices.py +50 -0
  239. framedown-0.1.0/tests/conftest.py +21 -0
  240. framedown-0.1.0/tests/e2e/test_phase0_gate.py +30 -0
  241. framedown-0.1.0/tests/e2e/test_phase1_gate.py +33 -0
  242. framedown-0.1.0/tests/e2e/test_phase2_gate.py +59 -0
  243. framedown-0.1.0/tests/e2e/test_phase2b_gate.py +143 -0
  244. framedown-0.1.0/tests/e2e/test_phase3_gate.py +145 -0
  245. framedown-0.1.0/tests/e2e/test_phase4_gate.py +114 -0
  246. framedown-0.1.0/tests/e2e/test_phase5_docker.py +50 -0
  247. framedown-0.1.0/tests/e2e/test_phase5_gate.py +79 -0
  248. framedown-0.1.0/tests/e2e/test_phase6_gate.py +125 -0
  249. framedown-0.1.0/tests/e2e/test_phase7_gate.py +56 -0
  250. framedown-0.1.0/tests/fixtures/assets/red.png +0 -0
  251. framedown-0.1.0/tests/fixtures/golden/s1.mid.png +0 -0
  252. framedown-0.1.0/tests/fixtures/golden/s2.end.png +0 -0
  253. framedown-0.1.0/tests/fixtures/golden/s2.in.png +0 -0
  254. framedown-0.1.0/tests/fixtures/golden/s3.mid.png +0 -0
  255. framedown-0.1.0/tests/fixtures/golden/s4.mid.png +0 -0
  256. framedown-0.1.0/tests/fixtures/golden/s5.end.png +0 -0
  257. framedown-0.1.0/tests/fixtures/golden/s5.in.png +0 -0
  258. framedown-0.1.0/tests/fixtures/golden/s6.end.png +0 -0
  259. framedown-0.1.0/tests/fixtures/marp_deck.md +46 -0
  260. framedown-0.1.0/tests/fixtures/multilingual.md +26 -0
  261. framedown-0.1.0/tests/fixtures/narrated.md +32 -0
  262. framedown-0.1.0/tests/fixtures/phase6_demo.md +54 -0
  263. framedown-0.1.0/tests/fixtures/reference_demo.md +71 -0
  264. framedown-0.1.0/tests/golden/test_reference_frames.py +61 -0
  265. framedown-0.1.0/tests/helpers/__init__.py +0 -0
  266. framedown-0.1.0/tests/helpers/browser.py +33 -0
  267. framedown-0.1.0/tests/helpers/cli_docs.py +66 -0
  268. framedown-0.1.0/tests/helpers/media.py +52 -0
  269. framedown-0.1.0/tests/helpers/png.py +9 -0
  270. framedown-0.1.0/tests/helpers/ssim.py +50 -0
  271. framedown-0.1.0/tests/mcp/conftest.py +49 -0
  272. framedown-0.1.0/tests/mcp/test_audio_tools.py +28 -0
  273. framedown-0.1.0/tests/mcp/test_http_security.py +59 -0
  274. framedown-0.1.0/tests/mcp/test_jobs.py +93 -0
  275. framedown-0.1.0/tests/mcp/test_resources.py +119 -0
  276. framedown-0.1.0/tests/mcp/test_tools.py +141 -0
  277. framedown-0.1.0/tests/mcp/test_translate.py +70 -0
  278. framedown-0.1.0/tests/mcp/test_transports.py +71 -0
  279. framedown-0.1.0/tests/media/test_audio_mix.py +121 -0
  280. framedown-0.1.0/tests/media/test_encode.py +71 -0
  281. framedown-0.1.0/tests/media/test_media_hardening.py +67 -0
  282. framedown-0.1.0/tests/media/test_tracks.py +79 -0
  283. framedown-0.1.0/tests/media/test_video_clip.py +77 -0
  284. framedown-0.1.0/tests/perf/test_perf.py +47 -0
  285. framedown-0.1.0/tests/property/test_scene_split.py +26 -0
  286. framedown-0.1.0/tests/property/test_timeline.py +48 -0
  287. framedown-0.1.0/tests/runtime/conftest.py +14 -0
  288. framedown-0.1.0/tests/runtime/test_beginframe.py +61 -0
  289. framedown-0.1.0/tests/runtime/test_burned_captions.py +70 -0
  290. framedown-0.1.0/tests/runtime/test_charts.py +36 -0
  291. framedown-0.1.0/tests/runtime/test_code_ligatures.py +27 -0
  292. framedown-0.1.0/tests/runtime/test_code_steps.py +43 -0
  293. framedown-0.1.0/tests/runtime/test_export_html.py +53 -0
  294. framedown-0.1.0/tests/runtime/test_export_hyperframes.py +34 -0
  295. framedown-0.1.0/tests/runtime/test_kenburns_media.py +35 -0
  296. framedown-0.1.0/tests/runtime/test_mermaid_layout.py +41 -0
  297. framedown-0.1.0/tests/runtime/test_overflow.py +18 -0
  298. framedown-0.1.0/tests/runtime/test_render_session.py +107 -0
  299. framedown-0.1.0/tests/runtime/test_runtime.py +209 -0
  300. framedown-0.1.0/tests/runtime/test_snapshot.py +46 -0
  301. framedown-0.1.0/tests/runtime/test_workers.py +96 -0
  302. framedown-0.1.0/tests/snapshot/__snapshots__/test_compiled_html.ambr +269 -0
  303. framedown-0.1.0/tests/snapshot/__snapshots__/test_schema.ambr +778 -0
  304. framedown-0.1.0/tests/snapshot/test_compiled_html.py +24 -0
  305. framedown-0.1.0/tests/snapshot/test_schema.py +18 -0
  306. framedown-0.1.0/tests/unit/audio/test_narration.py +96 -0
  307. framedown-0.1.0/tests/unit/captions/test_cues.py +151 -0
  308. framedown-0.1.0/tests/unit/check/test_rules.py +70 -0
  309. framedown-0.1.0/tests/unit/compile/test_html.py +98 -0
  310. framedown-0.1.0/tests/unit/encode/test_ffmpeg.py +69 -0
  311. framedown-0.1.0/tests/unit/export/test_hyperframes.py +83 -0
  312. framedown-0.1.0/tests/unit/export/test_marp.py +99 -0
  313. framedown-0.1.0/tests/unit/i18n/test_apply.py +69 -0
  314. framedown-0.1.0/tests/unit/i18n/test_catalog.py +110 -0
  315. framedown-0.1.0/tests/unit/i18n/test_translate.py +90 -0
  316. framedown-0.1.0/tests/unit/i18n/test_translators.py +102 -0
  317. framedown-0.1.0/tests/unit/layouts/test_charts.py +76 -0
  318. framedown-0.1.0/tests/unit/layouts/test_layouts.py +123 -0
  319. framedown-0.1.0/tests/unit/parse/test_attrs.py +28 -0
  320. framedown-0.1.0/tests/unit/parse/test_code_steps.py +35 -0
  321. framedown-0.1.0/tests/unit/parse/test_directives.py +111 -0
  322. framedown-0.1.0/tests/unit/parse/test_elements.py +132 -0
  323. framedown-0.1.0/tests/unit/parse/test_frontmatter.py +141 -0
  324. framedown-0.1.0/tests/unit/parse/test_loader.py +111 -0
  325. framedown-0.1.0/tests/unit/parse/test_scenes.py +37 -0
  326. framedown-0.1.0/tests/unit/spec/test_models.py +69 -0
  327. framedown-0.1.0/tests/unit/test_api.py +104 -0
  328. framedown-0.1.0/tests/unit/test_config.py +43 -0
  329. framedown-0.1.0/tests/unit/test_container.py +85 -0
  330. framedown-0.1.0/tests/unit/test_docs.py +55 -0
  331. framedown-0.1.0/tests/unit/test_examples.py +186 -0
  332. framedown-0.1.0/tests/unit/test_guide.py +72 -0
  333. framedown-0.1.0/tests/unit/test_jobs.py +96 -0
  334. framedown-0.1.0/tests/unit/test_kokoro_package.py +93 -0
  335. framedown-0.1.0/tests/unit/test_licenses.py +54 -0
  336. framedown-0.1.0/tests/unit/test_marp_import.py +91 -0
  337. framedown-0.1.0/tests/unit/test_mermaid.py +120 -0
  338. framedown-0.1.0/tests/unit/test_multilang.py +105 -0
  339. framedown-0.1.0/tests/unit/test_packaging.py +58 -0
  340. framedown-0.1.0/tests/unit/test_plugins.py +49 -0
  341. framedown-0.1.0/tests/unit/test_preview.py +110 -0
  342. framedown-0.1.0/tests/unit/test_release.py +31 -0
  343. framedown-0.1.0/tests/unit/test_security.py +56 -0
  344. framedown-0.1.0/tests/unit/test_skill.py +98 -0
  345. framedown-0.1.0/tests/unit/test_skill_variants.py +118 -0
  346. framedown-0.1.0/tests/unit/test_tooling.py +37 -0
  347. framedown-0.1.0/tests/unit/test_traceability.py +74 -0
  348. framedown-0.1.0/tests/unit/test_tui.py +85 -0
  349. framedown-0.1.0/tests/unit/test_video_elements.py +48 -0
  350. framedown-0.1.0/tests/unit/test_workflows.py +77 -0
  351. framedown-0.1.0/tests/unit/themes/test_midnight.py +39 -0
  352. framedown-0.1.0/tests/unit/timeline/test_audio_timing.py +60 -0
  353. framedown-0.1.0/tests/unit/timeline/test_build.py +65 -0
  354. framedown-0.1.0/tests/unit/timeline/test_elements.py +75 -0
  355. framedown-0.1.0/tests/unit/timeline/test_kenburns.py +59 -0
  356. framedown-0.1.0/tests/unit/tts/test_registry.py +97 -0
  357. framedown-0.1.0/tests/unit/tts/test_tone.py +44 -0
  358. framedown-0.1.0/tools/__init__.py +0 -0
  359. framedown-0.1.0/tools/budget.py +14 -0
  360. framedown-0.1.0/tools/build_skills.py +90 -0
  361. framedown-0.1.0/tools/licenses.py +112 -0
  362. framedown-0.1.0/tools/traceability.py +92 -0
  363. framedown-0.1.0/uv.lock +2320 -0
@@ -0,0 +1,22 @@
1
+ .git
2
+ .github
3
+ .venv
4
+ .idea
5
+ .pytest_cache
6
+ .mypy_cache
7
+ .ruff_cache
8
+ .hypothesis
9
+ .framedown
10
+ **/__pycache__
11
+ *.py[cod]
12
+ tests
13
+ specs
14
+ changes
15
+ tools
16
+ dist
17
+ build
18
+ work
19
+ out
20
+ *.mp4
21
+ *.webm
22
+ *.gif
@@ -0,0 +1,103 @@
1
+ name: CI
2
+
3
+ on:
4
+ push:
5
+ branches: [main, develop]
6
+ pull_request:
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ env:
12
+ UV_PYTHON: "3.14"
13
+
14
+ jobs:
15
+ lint:
16
+ runs-on: ubuntu-latest
17
+ steps:
18
+ - uses: actions/checkout@v5
19
+ with:
20
+ fetch-depth: 0 # gitleaks scans every commit of the pull request
21
+ - uses: astral-sh/setup-uv@v7
22
+ - run: uv sync --locked --extra mcp --extra preview --extra tui
23
+ - run: |
24
+ uv run ruff check .
25
+ uv run ruff format --check .
26
+ uv run bandit -q -c pyproject.toml -r src
27
+ - uses: gitleaks/gitleaks-action@v2
28
+ env:
29
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
30
+
31
+ types:
32
+ runs-on: ubuntu-latest
33
+ steps:
34
+ - uses: actions/checkout@v5
35
+ - uses: astral-sh/setup-uv@v7
36
+ - run: uv sync --locked --extra mcp --extra preview --extra tui
37
+ - run: uv run mypy
38
+
39
+ test:
40
+ runs-on: ubuntu-latest
41
+ timeout-minutes: 15
42
+ steps:
43
+ - uses: actions/checkout@v5
44
+ - uses: astral-sh/setup-uv@v7
45
+ - run: sudo apt-get update && sudo apt-get install -y ffmpeg
46
+ - run: uv sync --locked --extra mcp --extra preview --extra tui
47
+ - run: uv run playwright install --with-deps chromium --only-shell
48
+ - run: uv run pytest --cov --cov-report=xml
49
+
50
+ licenses:
51
+ runs-on: ubuntu-latest
52
+ steps:
53
+ - uses: actions/checkout@v5
54
+ - uses: astral-sh/setup-uv@v7
55
+ - run: uv sync --locked --all-extras --no-dev
56
+ - run: uv run --no-sync python tools/licenses.py
57
+
58
+ traceability:
59
+ runs-on: ubuntu-latest
60
+ steps:
61
+ - uses: actions/checkout@v5
62
+ - uses: astral-sh/setup-uv@v7
63
+ - run: uv sync --locked --extra mcp --extra preview --extra tui
64
+ - run: uv run python tools/traceability.py --phase "$(cat specs/SHIPPED_PHASE)"
65
+
66
+ slow:
67
+ runs-on: ubuntu-latest
68
+ timeout-minutes: 60
69
+ steps:
70
+ - uses: actions/checkout@v5
71
+ - uses: astral-sh/setup-uv@v7
72
+ - run: sudo apt-get update && sudo apt-get install -y ffmpeg
73
+ - run: uv sync --locked --extra mcp --extra preview --extra tui
74
+ - run: uv run playwright install --with-deps chromium --only-shell
75
+ - run: uv run pytest -m "(slow or e2e) and not docker"
76
+
77
+ docker:
78
+ runs-on: ubuntu-latest
79
+ timeout-minutes: 45
80
+ steps:
81
+ - uses: actions/checkout@v5
82
+ - uses: astral-sh/setup-uv@v7
83
+ - run: sudo apt-get update && sudo apt-get install -y ffmpeg
84
+ - run: uv sync --locked --extra mcp --extra preview --extra tui
85
+ - run: uv run pytest -m docker
86
+
87
+ smoke-cross-os:
88
+ strategy:
89
+ fail-fast: false
90
+ matrix:
91
+ os: [macos-latest, windows-latest]
92
+ runs-on: ${{ matrix.os }}
93
+ steps:
94
+ - uses: actions/checkout@v5
95
+ - uses: astral-sh/setup-uv@v7
96
+ # the runtime tests compare frames with ffmpeg and ffprobe, which these runners lack
97
+ - if: runner.os == 'macOS'
98
+ run: brew install ffmpeg
99
+ - if: runner.os == 'Windows'
100
+ run: choco install ffmpeg -y --no-progress
101
+ - run: uv sync --locked --extra mcp --extra preview --extra tui
102
+ - run: uv run playwright install chromium --only-shell
103
+ - run: uv run pytest tests/runtime -m "not e2e"
@@ -0,0 +1,59 @@
1
+ name: Release
2
+
3
+ # Runs only when a maintainer pushes a version tag (explicit human approval required).
4
+ on:
5
+ push:
6
+ tags: ["v*"]
7
+
8
+ permissions:
9
+ contents: read
10
+
11
+ jobs:
12
+ build:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v5
16
+ - uses: astral-sh/setup-uv@v7
17
+ - name: Check that the tag matches both package versions
18
+ run: |
19
+ tag="${GITHUB_REF_NAME#v}"
20
+ for f in pyproject.toml plugins/framedown-kokoro/pyproject.toml; do
21
+ v=$(python3 -c 'import sys, tomllib; print(tomllib.load(open(sys.argv[1], "rb"))["project"]["version"])' "$f")
22
+ if [ "$v" != "$tag" ]; then echo "::error::$f is $v but the tag is $GITHUB_REF_NAME"; exit 1; fi
23
+ done
24
+ - run: uv build
25
+ - run: uv build plugins/framedown-kokoro --out-dir dist
26
+ - uses: actions/upload-artifact@v4
27
+ with:
28
+ name: dist
29
+ path: dist/
30
+
31
+ # One job and one GitHub environment per PyPI project, so each trusted publisher matches
32
+ # exactly one project (both start as pending publishers on the first release).
33
+ publish:
34
+ needs: build
35
+ runs-on: ubuntu-latest
36
+ environment: pypi
37
+ permissions:
38
+ id-token: write
39
+ steps:
40
+ - uses: actions/download-artifact@v5
41
+ with:
42
+ name: dist
43
+ path: dist/
44
+ - uses: astral-sh/setup-uv@v7
45
+ - run: uv publish --trusted-publishing always dist/framedown-*
46
+
47
+ publish-kokoro:
48
+ needs: publish
49
+ runs-on: ubuntu-latest
50
+ environment: pypi-kokoro
51
+ permissions:
52
+ id-token: write
53
+ steps:
54
+ - uses: actions/download-artifact@v5
55
+ with:
56
+ name: dist
57
+ path: dist/
58
+ - uses: astral-sh/setup-uv@v7
59
+ - run: uv publish --trusted-publishing always dist/framedown_kokoro-*
@@ -0,0 +1,18 @@
1
+ .venv/
2
+ __pycache__/
3
+ *.py[cod]
4
+ .pytest_cache/
5
+ .mypy_cache/
6
+ .ruff_cache/
7
+ .hypothesis/
8
+ .coverage
9
+ coverage.xml
10
+ htmlcov/
11
+ dist/
12
+ build/
13
+ .framedown/
14
+ .idea/
15
+ *.egg-info/
16
+ /out/
17
+ /work/
18
+ examples/*/out/
@@ -0,0 +1,31 @@
1
+ # Quality gates (constitution Art. 6). Hooks run in the project environment (uv).
2
+ repos:
3
+ - repo: local
4
+ hooks:
5
+ - id: ruff
6
+ name: ruff (lint)
7
+ entry: uv run ruff check --fix
8
+ language: system
9
+ types: [python]
10
+ - id: ruff-format
11
+ name: ruff (format)
12
+ entry: uv run ruff format
13
+ language: system
14
+ types: [python]
15
+ - id: mypy
16
+ name: mypy
17
+ entry: uv run mypy
18
+ language: system
19
+ types: [python]
20
+ pass_filenames: false
21
+ - id: bandit
22
+ name: bandit
23
+ entry: uv run bandit -q -c pyproject.toml -r src
24
+ language: system
25
+ types: [python]
26
+ pass_filenames: false
27
+ - id: gitleaks
28
+ name: gitleaks
29
+ entry: gitleaks protect --staged --redact --no-banner
30
+ language: system
31
+ pass_filenames: false
@@ -0,0 +1,16 @@
1
+ # framedown — guide for AI agents (AGENTS.md)
2
+
3
+ Read `specs/constitution.md` before any change. Its articles are binding.
4
+
5
+ ## Workflow
6
+
7
+ - **Spec-Driven Development (spec-anchored).** `specs/` is the source of truth. Changes to
8
+ approved specs go through `changes/<yyyy-mm>-<slug>/` (`proposal.md`, `delta-spec.md`,
9
+ `tasks.md`) and are folded into `specs/` once approved.
10
+ - **Test-Driven Development.** For each task in `specs/tasks/`: write a failing test marked
11
+ `@pytest.mark.req("REQ-…")` → commit `test(T-NNN): … [red]` → minimal code →
12
+ commit `feat(T-NNN): … (REQ-…)` → refactor. Then update the task status, the traceability
13
+ matrix and the execution log.
14
+ - Work in batches (first batch 3–5 tasks, then ≤ 8), and report after each one.
15
+ - Branches: `main` ← `develop` ← `feature/*`. Never push, tag or publish without explicit approval.
16
+ - Everything is written in English: specs, code, comments, commits, skills.
@@ -0,0 +1,35 @@
1
+ # Changelog
2
+
3
+ All notable changes to `framedown` and `framedown-kokoro` are documented here. The format follows
4
+ [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project uses
5
+ [Semantic Versioning](https://semver.org/). Both packages share one version.
6
+
7
+ ## [0.1.0] - 2026-11-29
8
+
9
+ First public release. Markdown video format version `framedown: 1`.
10
+
11
+ ### Added
12
+ - **Render pipeline:** Markdown → validated model → timeline → HTML with paused WAAPI
13
+ animations → deterministic Chromium BeginFrame capture → ffmpeg (MP4, WebM, GIF); parallel
14
+ workers; draft quality; `framedown` CLI and Python API (`load`, `plan`, `render`, …).
15
+ - **Layouts and themes:** title, list, stat, code (with steps), image, video, quote, split,
16
+ line and donut charts, Mermaid flowcharts; transitions, enter effects, Ken Burns; `midnight` theme
17
+ and style overrides.
18
+ - **Agents:** MCP server (`framedown mcp`) with validate, plan, check, snapshot, render,
19
+ translate and more; bundled agent skill (`framedown skills install`); `check` rules for
20
+ on-screen density, narration rate and overflow; container image for the MCP server.
21
+ - **Audio:** TTS plugin protocol with the built-in `tone` engine; `duration: auto`; music with
22
+ ducking; SRT/VTT captions and burned captions.
23
+ - **Languages:** `i18n/<lang>.yaml` catalogs, translator plugins, `framedown translate`, one file
24
+ per language or one file with an audio and subtitle track per language, `sync: longest`.
25
+ - **Tools:** live preview, `framedown tui`, `init`, `list`, `export` (HyperFrames, HTML player,
26
+ Marp), `import marp`.
27
+ - **Docs:** user guide, four example videos, agent skills for Claude Code, Claude Desktop
28
+ (`framedown.zip`) and other agents.
29
+ - **framedown-kokoro 0.1.0:** Kokoro-82M voices as a separate TTS plugin (`--tts kokoro`).
30
+
31
+ ### Changed (since the pre-release snapshots)
32
+ - `framedown import marp`: slides with presenter notes get `duration: auto`, so they last as
33
+ long as their narration (REQ-EXP-005).
34
+
35
+ [0.1.0]: https://github.com/ecrespo/framedown/releases/tag/v0.1.0
@@ -0,0 +1,16 @@
1
+ # framedown — agent guide
2
+
3
+ Read `specs/constitution.md` before any change. Its articles are binding.
4
+
5
+ ## Workflow
6
+
7
+ - **Spec-Driven Development (spec-anchored).** `specs/` is the source of truth. Changes to
8
+ approved specs go through `changes/<yyyy-mm>-<slug>/` (`proposal.md`, `delta-spec.md`,
9
+ `tasks.md`) and are folded into `specs/` once approved.
10
+ - **Test-Driven Development.** For each task in `specs/tasks/`: write a failing test marked
11
+ `@pytest.mark.req("REQ-…")` → commit `test(T-NNN): … [red]` → minimal code →
12
+ commit `feat(T-NNN): … (REQ-…)` → refactor. Then update the task status, the traceability
13
+ matrix and the execution log.
14
+ - Work in batches (first batch 3–5 tasks, then ≤ 8), and report after each one.
15
+ - Branches: `main` ← `develop` ← `feature/*`. Never push, tag or publish without explicit approval.
16
+ - Everything is written in English: specs, code, comments, commits, skills.
@@ -0,0 +1,42 @@
1
+ # syntax=docker/dockerfile:1
2
+ # framedown image: MCP server and CLI (Phase 2b REQ-CTR-001; Phase 5 REQ-PKG-005: base pinned by digest,
3
+ # Chromium pinned by the locked Playwright version).
4
+ # docker compose up -d # streamable HTTP on 127.0.0.1:8000/mcp
5
+ # docker run -i --rm -v "$PWD:/work" framedown framedown mcp --root /work # stdio
6
+
7
+ FROM python:3.14-slim-trixie@sha256:f57c4c23b985d95deea5bc5249e2f9c8a512b4cc9d5d3fd31900cbd2f5f0a604 AS builder
8
+ COPY --from=ghcr.io/astral-sh/uv:0.11 /uv /bin/uv
9
+ ENV UV_COMPILE_BYTECODE=1 \
10
+ UV_LINK_MODE=copy \
11
+ UV_PYTHON_DOWNLOADS=never \
12
+ UV_PROJECT_ENVIRONMENT=/opt/venv
13
+ WORKDIR /src
14
+ COPY pyproject.toml uv.lock README.md LICENSE NOTICE ./
15
+ RUN uv sync --locked --no-dev --extra mcp --no-install-project
16
+ COPY src ./src
17
+ RUN uv sync --locked --no-dev --extra mcp --no-editable
18
+
19
+ FROM python:3.14-slim-trixie@sha256:f57c4c23b985d95deea5bc5249e2f9c8a512b4cc9d5d3fd31900cbd2f5f0a604
20
+ ARG UID=1000
21
+ ARG GID=1000
22
+ ENV PATH=/opt/venv/bin:$PATH \
23
+ PLAYWRIGHT_BROWSERS_PATH=/opt/ms-playwright \
24
+ PYTHONUNBUFFERED=1 \
25
+ PYTHONDONTWRITEBYTECODE=1
26
+ RUN apt-get update \
27
+ && apt-get install -y --no-install-recommends ffmpeg fonts-dejavu-core \
28
+ && rm -rf /var/lib/apt/lists/*
29
+ COPY --from=builder /opt/venv /opt/venv
30
+ RUN playwright install --with-deps chromium --only-shell \
31
+ && rm -rf /var/lib/apt/lists/* /root/.cache
32
+ RUN groupadd --non-unique --gid "${GID}" framedown \
33
+ && useradd --non-unique --uid "${UID}" --gid "${GID}" --create-home --shell /usr/sbin/nologin framedown \
34
+ && mkdir -p /work \
35
+ && chown framedown:framedown /work
36
+ COPY --from=builder /src/LICENSE /src/NOTICE /usr/share/doc/framedown/
37
+ USER framedown
38
+ WORKDIR /work
39
+ EXPOSE 8000
40
+ HEALTHCHECK --interval=10s --timeout=3s --start-period=10s --retries=3 \
41
+ CMD ["python", "-c", "import socket; socket.create_connection(('127.0.0.1', 8000), 2).close()"]
42
+ CMD ["framedown", "mcp", "--http", "--host", "0.0.0.0", "--port", "8000", "--root", "/work"]
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
framedown-0.1.0/NOTICE ADDED
@@ -0,0 +1,17 @@
1
+ framedown
2
+ Copyright 2026 The framedown Authors
3
+
4
+ This product is licensed under the Apache License, Version 2.0 (see LICENSE).
5
+
6
+ This product bundles the following third-party assets:
7
+
8
+ - Inter (https://github.com/rsms/inter), Copyright 2016 The Inter Project Authors,
9
+ SIL Open Font License 1.1. Subset WOFF2 files:
10
+ src/framedown/themes/midnight/fonts/Inter-Regular.woff2
11
+ src/framedown/themes/midnight/fonts/Inter-SemiBold.woff2
12
+ src/framedown/themes/midnight/fonts/Inter-ExtraBold.woff2
13
+ License: src/framedown/themes/midnight/fonts/OFL-Inter.txt
14
+ - Fira Code (https://github.com/tonsky/FiraCode), Copyright 2014 The Fira Code Project
15
+ Authors, SIL Open Font License 1.1. Subset WOFF2 file:
16
+ src/framedown/themes/midnight/fonts/FiraCode-Regular.woff2
17
+ License: src/framedown/themes/midnight/fonts/OFL-FiraCode.txt