
LibKa
io.github.aivigator-ai由 GitHub 帳號 aivigator-ai 發布v2.0.2更新於 Oct 30, 2026
One LibKa Markdown file to web pages, PDFs, slides and Word files, each checked and signed.
概覽
LibKa MCP 伺服器讓助理列出並說明 LibKa Markdown 區塊、檢查文件,並將其建置為經過檢查與簽章的網頁、PDF、投影片和 Word 輸出。
- 可以做什麼
- 列出並說明 35 種 LibKa Markdown 區塊類型及其語法與規則
- 檢查 LibKa Markdown 文件中的問題,並依檔案與行號回報
- 依文件 front matter 的要求建置輸出:網頁、A4 PDF、16:9 投影片和 Word 檔案
- 在真實瀏覽器中執行無障礙檢查,產生簽章的檢查清單和 WCAG 2.2 / EN 301 549 符合性報告
- 適用情境
- 適合以 LibKa Markdown 撰寫手冊、指南、政策、報告或簡報時使用,讓助理起草內容、驗證語法並執行建置與無障礙檢查,不必離開對話。
- 執行需求
- 以本機 stdio 程序執行,來自 npm 套件 @libka/mcp。建置與檢查需要 Node.js 22.18 或更新版本以及 Google Chrome;PDF/UA-1 驗證另需 Java 21 和 veraPDF。僅在 Windows 上開發與測試,macOS 未經測試。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 LibKa,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
LibKa Design Platform
[check] [Licence: Apache-2.0] [Node.js 22.18 or newer]
Write a document once in LibKa Markdown. Get a web page, an A4 PDF, 16:9 slides and an editable Word file, each checked for accessibility, with a signed record of what was checked.
LibKa is a design system (W3C DTCG design tokens) and a document platform. You write one file in LibKa Markdown, Markdown extended with LibKa blocks: steps, callouts, tables, charts, diagrams, timelines, comparisons, release notes and more (35 block types in all). The build renders the outputs the document asks for. Guard then checks each one, the pages in a real browser, and signs a manifest of the checks for the outputs that pass. LibKa Studio lets anyone write the same documents visually, without touching Markdown.
- Website: https://libka.aivigator.ai/
- Try LibKa Studio in your browser: https://libka-studio.aivigator.ai/
- Documentation:
docs/, starting with getting started and the block catalog
Status: version 2.0.2. Developed and tested on Windows; CI runs the full test suite on Linux (Ubuntu) and the health check on Windows; macOS is not tested.
Why LibKa
Markdown publishing tools already turn one source into web pages, PDFs and slides. LibKa's difference is that it checks every output and says exactly what it checked:
- The rules that can be automated are enforced; the rest is listed for a person: blocks carry their accessibility rules (an image cannot go in without alternative text), the build stops on problems with
file:linemessages, Guard measures the rendered result in Chrome, not the source, and the conformance report names what a person still has to review. - The PDF is repaired and validated: Chrome's tagged PDFs are repaired for PDF/UA-1 and, when Java and veraPDF are installed, validated by veraPDF, the PDF Association's reference validator, on every rule a machine can check (the rest of PDF/UA, such as a meaningful reading order, needs a person).
- Every output gets a record: a signed manifest of the checks and a WCAG 2.2 / EN 301 549 conformance report per build.
- A design system, not a theme: colours, type and spacing come from DTCG tokens whose contrast the token build gates, in light, dark and high contrast.
- Visual editing for people who never touch Markdown, with the page and Word checks live in LibKa Studio, while the LibKa Markdown stays the single source.
LibKa is a good fit for manuals, guides, policies, reports and decks that must be accessible and consistent. It is not a page-layout tool: you choose blocks, not positions.
LibKa Studio
An installable web app that keeps documents on your own device: a visual editor, a source editor, or both side by side; a live preview of the web page, phone, A4 and slides; the page and Word checks while you type, with one-click fixes where a fix is safe and plain-word explanations otherwise; versions, a command palette, English and Czech, light, dark and high contrast, offline once opened. The Studio has its own accessibility self-audit (docs/acr/studio.md), tested with the keyboard alone, NVDA, forced colours, reflow and touch emulation.
Run it locally: npx -y @libka/cli studio, and open the address it prints.
Quick start
Start a project:
The starter has an example document, npm run check (the source only, in a couple of seconds, without a browser), a GitHub Actions workflow that builds and checks every push and pull request with the LibKa Guard action, marking a problem in the source on its line and a finding in an output on its file, and a README of next steps. A document chooses its outputs in its front matter, outputs: [web, pdf, deck, docx]; without that line it gets the web page and the PDF. Each project signs with its own key, made by its first build in .libka/ and trusted in .libka/trusted-keys.json (signing keys).
From a clone of this repository:
Writing documents
A document is written in LibKa Markdown: Markdown with front matter and LibKa blocks. The file stays .md and opens in any text editor; only LibKa renders the blocks, other Markdown viewers show them as plain ::: lines.
examples/manual/guide.mdis a short example that explains the syntax;examples/open-source-guide/guide.mdis a real, long guide: two of GitHub's Open Source Guides (CC BY 4.0) as a manual and a deck.- Every block is defined once, in
packages/blocks: syntax, attributes, a JSON schema, accessibility rules, anti-patterns, and what the web page, PDF, slides and Word file do with it. - Slides come from the same file: every
##and###is a slide,:::notesholds speaker notes, and overfull slides are shrunk a little or continued. - Czech documents (
lang: cs) get Czech labels and Czech typography.
What every output gets
- Checks in a real browser: axe-core with the WCAG 2.2 A and AA rules; the contrast of every visible text against its real background, 4.5:1 and 7:1 when the reader asks for more contrast; LibKa's structure rules; a page that fits a 320-pixel-wide screen without scrolling sideways (reflow); slides that must fit; a strict Content Security Policy.
- A PDF validated against PDF/UA-1 (ISO 14289-1) by veraPDF: every rule a machine can check, when Java and veraPDF are installed (otherwise the manifest, the conformance report and
verifysay the PDF was not validated). - A Word file with real structure: headings, lists, footnotes, tables whose header row repeats, pictures with alternative text, the document language; Guard checks its structure and contrast.
- A signed manifest: the source, the LibKa version, the hashes of every output and every check result. It proves the files are the ones that were checked and which checks ran; what it does not prove is written down too.
- A conformance report listing all 55 WCAG 2.2 A/AA success criteria with their EN 301 549 clauses: checked automatically, failed, needs a person, or not applicable.
- Byte-identical builds: the same source gives the same web page and Word file, and the same PDF with the same Chrome version.
What LibKa does not claim. Automated checks cover part of accessibility. An output that passes is "checked by these tests", not "accessible" or "compliant": the conformance report says what a person still has to review. The draft report for LibKa's outputs is docs/acr/libka-outputs.md.
AI authoring
- Agent Skill in
.claude/skills/libka-author/: the workflow, and the exact syntax of every block (generated from the registry). - MCP server
@libka/mcp(inpackages/mcp): list and describe blocks, check a document, build it. - For Claude Code, both come as one plugin:
/plugin marketplace add aivigator-ai/open-libka-design-platform, then/plugin install libka@libka. Claude Desktop, claude.ai, the API and other MCP clients:docs/ai-tools.md. - Whatever an AI writes goes through the same checks. Content the document declares as AI-written (an AI summary with its reviewer, an AI badge) is listed in the signed manifest.
Repository map
Contributing
Issues and pull requests are welcome: read CONTRIBUTING.md first; AI coding agents start from AGENTS.md. Questions and ideas go to Discussions (SUPPORT.md says what to expect); new blocks and features are listed in CHANGELOG.md when they ship. Two things to know up front:
- This repository is published from the maintainers' development repository. An accepted pull request is applied there and comes back with the next release, with you credited as co-author of the release commit and thanked in the changelog.
- Sign off every commit (
git commit -s). TheSigned-off-byline certifies the Developer Certificate of Origin: that you may contribute the change under the project's licence. A check on the pull request asks for it; there is no separate agreement to sign.
check.py runs everything a pull request must pass: the Python tests, the strict TypeScript type check, every test (Chrome tests included), the token build and a check that no generated file is stale.
Licence
Apache License 2.0 (LICENSE); third-party material is listed in NOTICE. The fonts are under the SIL Open Font License. LibKa, LibKa Design Platform and LibKa Studio are the publisher's product names, which the licence does not grant: a modified version you publish needs its own name (NOTICE).
Created by aivigator.ai
來源:README.md,提交 068b90f
工具
0版本歷史
3- v2.0.2最新Oct 29, 2026
- v2.0.1Oct 13, 2026
- v2.0.0Oct 12, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分