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.

概覽

AI 產生的概覽

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 未經測試。
安裝前請注意
建置會在專案的 .libka 目錄寫入輸出檔案和簽章金鑰,每個專案以自己的金鑰簽署清單。自動檢查只涵蓋無障礙的一部分,通過檢查不代表符合標準。文件中宣告為 AI 撰寫的內容會記錄在簽章清單中。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 LibKa,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

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.

[How LibKa builds a document: a LibKa Markdown file is linted, built into a web page, a PDF, slides and a Word file; Guard checks each output (axe-core WCAG 2.2, contrast, structure, reflow at 320 px, veraPDF PDF/UA-1, Word structure); outputs that pass get a signed manifest and a conformance report]

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:line messages, 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

[LibKa Studio in Split mode: the visual editor, the LibKa Markdown source and the live preview side by side, with no problems found]

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

You needFor
Node.js 22.18 or newer, Google ChromeBuilding and checking documents (libka doctor says what your computer has)
Java 21 and veraPDF (install without administrator rights)Validating PDFs against PDF/UA-1 (optional for building: without them a PDF is built, and its manifest, its conformance report and verify say it was not validated; required by check.py)
Python 3.12 or newerWorking on LibKa itself (check.py)

Start a project:

bash
npm create libka@latest my-docs        # add -- --lang cs for the example in Czechcd my-docsnpm installnpm run build                          # web page, PDF, slides and Word file in dist/, checked and signednpm run verify                         # the files (the slides too) are the ones that were checked and signed

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:

bash
git clone https://github.com/aivigator-ai/open-libka-design-platform.git && cd open-libka-design-platformnpx --yes [email protected] installnode packages/cli/src/libka.ts build examples/manual/guide.md     # the outputs land in examples/manual/dist/

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.

markdown
---title: Setting up the routerlang: enoutputs: [web, pdf, docx]---
## Connect it
:::steps1. **Plug in the power** The light turns orange.2. **Connect the cable** Use the yellow port.:::
:::callout[Before you start]{variant=important}Keep the box: the Wi-Fi password is on its label.:::
  • examples/manual/guide.md is a short example that explains the syntax; examples/open-source-guide/guide.md is 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, :::notes holds 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 verify say 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 (in packages/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

PathWhat it is
tokens/, libka.resolver.json, generate.pyThe DTCG design tokens and their build: CSS, SCSS, Tailwind (docs/tokens.md, the design-system manual)
packages/blocksThe block registry, the catalog and skill-reference generators
packages/modelLibKa Markdown to typed blocks, with problems by line, each with a code and safe fixes (docs/problem-codes.md)
packages/renderWeb page, slides, charts, slide fitting, Content Security Policy, typography, the block styles
packages/guardThe browser checks, the Word file checks, the WCAG / EN 301 549 mapping, the signed manifest
packages/pdf, packages/docxPDF/UA repair and veraPDF validation; the Word file
packages/editorVisual editing: the ProseMirror schema, the lossless round-trip with LibKa Markdown, the block commands
packages/cli, packages/mcplibka build | lint | check | verify | studio | doctor; the MCP server
packages/create-libkaThe starter, npm create libka
npm/, plugins/libka, .claude-plugin/The npm packages' build and the quick-start test; the Claude Code plugin and its marketplace file
apps/studioLibKa Studio
examples/, docs/Examples; the documentation and the maintainer guide

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). The Signed-off-by line 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
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

3
  1. v2.0.2最新Oct 29, 2026
  2. v2.0.1Oct 13, 2026
  3. v2.0.0Oct 12, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分