跳到主要内容
PlantUML for GitHub

PlantUML for GitHub EN

PlantUML · Firefox

Renders plantuml code blocks directly on GitHub pages using the client-side TeaVM-compiled PlantUML engine.

5.0/5 3 人评分 1.1千用户 v0.2.4当前版本

简介

Render PlantUML diagrams natively on GitHub.com. This extension detects
plantuml code blocks on any GitHub page (READMEs, issues, pull
requests, discussions, wikis) and renders them inline as SVG diagrams,
exactly the way GitHub already renders Mermaid.

No server. No tokens. No tracking. Zero permissions.

The entire PlantUML engine runs client-side inside a sandboxed iframe
shipped with the extension. Nothing is sent to a remote server, no API
keys are required, and the extension declares zero host permissions,
no storage access, and no tabs API access. It only runs on
github.com.

Features

  • Renders all standard PlantUML diagrams: sequence, class, component,
    deployment, state, use-case, activity, object, timing, and more.
  • Also recognizes the puml and wsd language aliases.
  • Each rendered block has a small header bar with a toggle button that
    switches between the diagram and the original PlantUML source (using
    GitHub's own syntax highlighting).
  • Follows GitHub's light/dark color mode automatically.
  • Works on issues, PRs, discussions, READMEs, wikis, and gists.

How it works

The TeaVM-compiled PlantUML engine is bundled with the extension and
runs entirely inside a sandboxed iframe with an opaque origin — no
network access, no shared state with the host page. The same
architecture GitHub itself uses for Mermaid.

Open source

MIT-licensed. Source code and issue tracker:
https://github.com/plantuml/plantuml-for-github

PlantUML for GitHub 是做什么的

PlantUML for GitHub 是一款面向 Firefox 的开发者工具类扩展,主要用来调试页面、查看样式与请求、测试接口、辅助前端开发。官方对它的介绍是:Renders plantuml code blocks directly on GitHub pages using the client-side TeaVM-compiled PlantUML engine.在Firefox 附加组件商店(AMO)上,它当前版本 0.2.4,评分 5(3 人评价),约 1,085 名用户。

适合什么人用

从功能定位看,PlantUML for GitHub 更适合前端工程师、测试与需要经常查看页面结构的用户。如果你平时只是偶尔遇到相关需求,用浏览器自带功能也能凑合;但如果这件事每天都发生,装一个专门处理它的扩展通常比手动操作省事得多。

怎么安装 PlantUML for GitHub

  1. 打开Firefox 附加组件商店(AMO)上的官方页面;
  2. 点「添加到浏览器」并确认权限提示;
  3. 装好后在扩展列表里固定图标,方便随时开关。

本站只做索引与介绍,安装包来自官方商店。如果商店页面提示当前地区不可用,说明该扩展未在你所在区域上架。

常见问题

PlantUML for GitHub 是免费的吗?

PlantUML for GitHub 在Firefox 附加组件商店(AMO)免费提供下载。它是浏览器扩展,装上就能直接用,不需要注册账号。

PlantUML for GitHub 安全吗?

它只申请了 0 项权限,范围比较克制,没有申请「读取所有网站数据」这种大权限。

PlantUML for GitHub 支持哪些浏览器?

当前收录的版本来自Firefox 附加组件商店(AMO),适用于 Firefox。同一个扩展在其他商店可能有对应版本,但功能与版本号不一定相同。

怎么卸载 PlantUML for GitHub?

在扩展管理页找到 PlantUML for GitHub,点移除即可。它在本地保存的设置会一起清掉,不会残留数据。

权限清单 来自 manifest.json 原文

接口权限 1

  • clipboardWrite