bama
BAMA: Build Any Mac App. Agent skills to research, clone, design, build, optimize, and test native macOS apps with Swift and SwiftUI.
翻译准备中
从学术论文、视频或代码库生成离线HTML报告。
AI 翻译
Generate offline HTML reports from academic papers, videos, or code bases
AI 摘要 · README
技能JavaScript · CSSGitHub @Alchemist-Jo自行安装运营者未确认
试用过了吗? 点一下就好,无需登录。
尚未检测到更新。GitHub 发布版本后会显示在这里。
个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
安装型项目无需部署域名也可验证。个人仓库可通过 GitHub 登录验证,组织仓库可使用上方的仓库验证文件。
正在加载完整 README。 以下为已保存的摘录。
An agent skill that explains one body of material as one offline HTML file. The material can be an academic paper, a video or lecture series, a document, a code base, a dataset or a comparison. The reader should be able to follow the page, recompute its worked example and find the source behind each claim without opening the original.
SKILL.md is a staged guide for a long-running agent:查看完整 README ↗An agent skill that explains one body of material as one offline HTML file. The material can be an academic paper, a video or lecture series, a document, a code base, a dataset or a comparison. The reader should be able to follow the page, recompute its worked example and find the source behind each claim without opening the original.
SKILL.md is a staged guide for a long-running agent:
| Material | Route |
|---|---|
| One paper | A Markdown audit source rendered into a reading atlas with scripts/render-reading.cjs, following paper deep read |
| A video, course or series | An HTML lesson built with scripts/build-html.mjs, following video acquisition |
| A document, code, data or comparison | The HTML lesson or the Markdown report route |
A field or course textbook with prerequisites, exercises and review rounds belongs to textbook-anything. Both skills share the lesson theme, the builder and the rendered audit.
Visual design fixes the type scale at six sizes per width, the reading measure at 648px for Chinese and 576px for English (828px and 672px in the full-page desktop layout at 1280px and wider), figure labels at 12px or more on a 390px screen, WCAG AA contrast, and one accent hue with one caution hue. scripts/render-audit.mjs checks these on the rendered page:
node scripts/render-audit.mjs docs/learning-example.html --widths 1440,390 --out build/audit --print
It sets true viewport widths through the DevTools protocol, saves screenshot tiles and an overview for each width, and reports page overflow, the rendered type scale, text below 12px, contrast measured against the pixels behind the text, overlapping or clipped figure labels, broken or enlarged images, raw Markdown or TeX, and internal links without a target. It needs Node 22 or later and a local Chrome or Chromium. The agent then opens every tile, because the script does not measure alignment, spacing or figure crops.
npx skills add Alchemist-Jo/html-report --skill html-report -g
Use $html-report to deep-read this paper as one offline HTML page.
Use $html-report to turn this lecture into Chinese learning material with
worked examples, practice and reasoned answers. Keep source times next to figures.
npm ci --ignore-scripts --no-audit --no-fund
python3 -m venv .venv
source .venv/bin/activate
python3 -m pip install -r requirements-html.txt
node scripts/build-html.mjs examples/retries.source.html docs/learning-example.html
node scripts/render-reading.cjs examples/attention-is-all-you-need-deep-read.md docs/attention-is-all-you-need-deep-read.html
npm test
npm run doctor
Building needs Node 20+ and Python 3.10+, and the audit needs Node 22+. The resulting HTML opens without those tools or a network connection. If using a separate Python environment, set SKILL_HTML_PYTHON to its executable.
Worked interactive example · Editable source · Paper reading example
The paper renderer and deep-read route are adapted from paper-reading-skill. The staged agent workflow is informed by youtube-render-pdf. See LICENSE, third-party notices and method sources.