
WTFM
io.github.SupportPages-io由 GitHub 帳號 SupportPages-io 發布v0.7.3更新於 Oct 29, 2026
Your coding agent writes the user docs from your codebase, screenshots included.
概覽
一個本機外掛,讓編碼代理依據你的程式碼庫撰寫附圖的終端使用者說明文件,截圖由你自己的介面程式碼算繪產生。
- 可以做什麼
- 依據專案原始碼、路由與按鈕文字撰寫給終端使用者看的操作指南與疑難排解文章
- 為每篇文章產生最多三張截圖,以真實介面的 HTML 模擬稿在本機 Chromium 算繪成 PNG
- 儲存前檢查文章結構、文案與截圖
- 將文章以純 Markdown 資料夾形式存到指定目錄,圖片放在旁邊
- 查看專案設定與文章進度,並執行診斷檢查
- 可選擇把已儲存文章以草稿形式上傳到 SupportPages.io 說明中心,或在那裡一次產生整套手冊
- 適用情境
- 當你需要給從不閱讀程式碼的使用者看的文件,例如附截圖的操作指南,而不是 API 參考或 README 時使用。適合已在 Claude Code 或 Codex 中工作、希望把文章提交到程式碼倉庫旁的團隊。
- 執行需求
- macOS 或 Linux(ARM64 或 x64,Windows 需用 WSL)、Git,以及已安裝並登入的 Claude Code 或 Codex。透過 shell 安裝腳本或作為 Codex 外掛安裝,後者需要 Node.js 22.12 以上與 npm。首次設定時會下載 Chromium。發佈功能與整套手冊指令需要 SupportPages.io 帳號。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 WTFM,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
WTFM
Write the F***ing Manual.
A plugin for your coding agent that writes the user docs. Screenshots included.
[License: Apache 2.0] [Platforms: macOS and Linux] [Works with Claude Code and Codex]
Install · Quick start · Examples · CLI · Publish · FAQ · Docs · Website
[Claude Code writing an illustrated guide to adding a site in Plausible Analytics: the prompt, the writer's progress, and the finished article with screenshots]
Real output from plausible/analytics, replayed fast. A real run takes a few minutes.
WTFM is a plugin for your coding agent that writes your user docs. Ask Claude Code or Codex for a guide and it reads your source, writes the steps in plain language, and shows every screen with a screenshot rendered from your real templates and CSS. No running app, no manual captures, no account.
Not API reference, not a README: docs for the people who will never read your code, like the customer who can't find the export button, or the admin inviting their team.
WTFM was formerly SupportPages Writer. The
supportpagescommand still works as an alias forwtfm, and existing installations, settings andSUPPORTPAGES_*environment variables are unchanged.
Set it up once in your terminal, then just ask your agent:
You → Claude Code: Write an illustrated guide to inviting a teammate.
Features
- Written from your source. Routes, button labels and flows come from the code, not from a description you type, so the steps match what users actually see.
- Screenshots without running the app. Mockups are rebuilt from your own markup, styles and branding, then rendered to PNG in a local headless Chromium.
- Plain Markdown output. Each article is an
index.mdwith its images beside it, ready to commit next to your code or drop into any docs site. - Checked before it's saved. Every article passes structure, copy and screenshot checks first.
- Uses the agent you already have. Claude Code or Codex, with your own subscription and model settings.
- Local-first. Nothing is sent to SupportPages.io unless you choose to publish.
Examples
The same loop on other open-source codebases. Each image is one screenshot from a guide WTFM wrote from that repository's source; the apps were never run.
For a whole help centre, see WTFM's own docs: every article and screenshot there was written by WTFM from this repository.
Install
The installer downloads a checksum-verified release with its own Node.js, installs
the wtfm command into ~/.local/bin (no sudo), and offers to add it to your
PATH. It also installs supportpages as an alias for wtfm.
You'll need:
- macOS or Linux, on ARM64 or x64 (on Windows, use WSL)
- Claude Code or Codex, installed and signed in
- Git
Chromium for screenshots is downloaded the first time you run wtfm setup.
Updating: releases check for updates once a day and install them in the background.
Run wtfm update to update now, or set SUPPORTPAGES_AUTO_UPDATE=0 to turn
automatic updates off.
Install in Codex
WTFM is also a Codex plugin. You'll need Node.js 22.12 or later with npm on your
PATH.
Then start a new Codex session. The first time the plugin starts, it installs its npm
packages (without running their install scripts) and downloads Chromium for
screenshots in the background. Codex asks you to review the plugin's two hooks in
/hooks before they run; WTFM works without them. To update, run
codex plugin add wtfm@supportpages again.
Build from source
You'll need Node.js 22.12 or later, npm and Git.
This builds your checkout and installs it as wtfm (with the supportpages alias).
Run ./install-cli.sh again after pulling changes.
Quick start
Configure once in the terminal, then do everything else in your coding agent.
1. Set up your computer
This connects Claude Code and/or Codex, adds the SupportPages.io writer to them and downloads the screenshot renderer. When it asks how you want to work, choose Save articles in my projects without an account.
2. Set up your project
Pick where articles should be saved and which model to use. WTFM then studies the project's structure, styles and branding once, so every article starts from that analysis.
3. Ask your coding agent
Open Claude Code or Codex in your project (restart any session that was already open) and ask for an article in plain words:
Write an illustrated guide to inviting a teammate.
A few minutes later the article is in your project:
That's the whole loop. Some other things to ask:
What help articles do we have?
Write a troubleshooting article for when a sign-in link has expired.
CLI commands
You only need the terminal to set things up and keep them running. Writing happens in your coding agent.
Run wtfm --help for every option. status and doctor accept --json.
Your articles
- Where they go.
output/articles/<slug>/by default. To keep them in your repo, choose a folder likedocs/helpduringinitor withwtfm configure. - Writing style. Pick from friendly, minimal, technical or formal with
wtfm configure. - Screenshots. Each article gets up to three. The main path gets them first; optional branches are described in text. Every screenshot carries a small "created automatically by supportpages.io" strip.
How it works
setupconnects a local MCP server and a writer agent to Claude Code or Codex.inithas your agent map the project once: framework, routes, layouts, CSS and branding.- When you ask for an article, the writer agent reads the relevant source, writes the steps, and builds each screenshot as an HTML mockup of your real UI.
- The mockups are rendered to PNG with a local Chromium, checked against your source, and saved with the article.
Publish
Give your users somewhere to read it. A Markdown folder in your repo helps nobody who can't find it. SupportPages.io, made by the same team, turns the guides WTFM writes into a help centre your users can search and ask: on your own domain, in your branding, and kept current as the product changes.
- Kept current on every merge. When a pull request merges, SupportPages.io reads the diff and drafts the article updates for you to review.
- Video walkthroughs. Each guide can come with a narrated video that clicks through the same steps, with captions.
- Answers, not just search. Readers ask in their own words and get an answer drawn from your articles, with the sources linked.
- Your branding on your own domain, an editor to review drafts before anyone sees them, and publishing straight from your coding agent.
Everything above works without it, and a free account hosts up to 10 articles.
The same pattern applies: connect once in the terminal, then work in your agent.
Connect a project:
You'll sign in or create an account in your browser and choose a help centre. Any
articles you've already saved upload as drafts. (Setting up a new project? Choose
Publish them to a SupportPages.io help centre during wtfm init instead.)
Then keep asking your agent:
Write a guide to exporting a report.
New articles arrive in the help centre as drafts, with a link to review them in the editor. Publishing is always a separate step: click Publish in the editor, or ask:
Publish the guide to exporting a report.
A help centre never needs access to your GitHub or Bitbucket. Only wtfm yolo does.
wtfm yolo: write the whole manual
Starting from nothing? wtfm yolo plans every guide your product needs and
writes them all at once, on SupportPages.io's servers instead of your computer and your
coding agent's usage.
It walks you through whatever is missing: browser sign-in, choosing or creating a help
centre, and connecting your repository (SupportPages.io needs read access to write from
your code). It then shows your plan's article allowance and asks before starting
(--yes skips the question). The free plan covers your first 10 guides.
Progress shows live: sections, recommended articles, then drafts as they are written.
Everything lands as drafts; nothing goes live until you publish it in the editor, whose
link is printed at the end. Ctrl+C only stops watching: the run keeps going, and
wtfm status picks it up again. If a run fails, run wtfm yolo again to resume it
without losing the drafts already written.
Privacy
- Local projects send only anonymous usage counts and crash reports to SupportPages.io (see below). Your coding agent and its model provider read your source, as they do for any other task.
- Publishing uploads the article, its images and a small provenance record. Your source code is never uploaded.
wtfm yolowrites on SupportPages.io from the repository you connect there; it is the only command that gives SupportPages.io access to your code.- Credentials are stored in private files under
~/.config/supportpages, never in your repository. Signing in also saves your account email there, to show which account is connected. - Other network requests carry none of your code or articles. Chromium for
screenshots downloads from Google's Chrome for Testing storage, and the plugin's
packages install from the npm registry. When a project's own styles can't be
compiled, analysis fetches its CSS framework (Bootstrap, Bulma or Foundation) from
the jsDelivr CDN, and a mockup with no project styles loads Tailwind from its CDN
while rendering. An article's optional generated images use OpenAI only if you
have set your own
OPENAI_API_KEY; WTFM never sets it. - Project analysis runs unattended.
initandanalysestart your agent with its permission prompts off (--dangerously-skip-permissionsfor Claude Code,--dangerously-bypass-approvals-and-sandboxfor Codex). Writing articles uses the agent's normal approval prompts.
Plugin hooks
Installed as a Claude Code plugin, WTFM registers two hooks. Neither sends anything over the network except the Chromium download, and neither can block or change a tool call.
SessionStartchecks whether Chromium for screenshots is installed. If it isn't, it starts puppeteer's Chromium download in the background, once, and returns straight away without printing anything into the session.PostToolUseruns after every tool call, but does nothing unless an article is being written (a.rtfm-trace/CURRENTmarker in your project). During a run it appends one line per tool call to.rtfm-trace/<article>.ndjsonin your project: the time, tool name, file path, search pattern and the first 500 characters of a shell command. The trace stays on your computer and is used to spot repeated work in a run. It prints nothing and always exits successfully.
Anonymous usage counts and crash reports
WTFM tells us how many installs are in use and when something breaks, so we can fix it. It says so the first time you set up a project, and it's easy to turn off. It is sent to SupportPages.io without your sign-in and stays anonymous until you sign in from this computer; after that, usage from this computer is linked to your account. Turning it off stops both.
What is sent
- A random install ID created on this computer (not derived from it), the WTFM
version, the coding client's name (e.g.
claude-code), your OS, CPU architecture and Node.js major version. - A count when WTFM is first used and when it is uninstalled (and whether its
settings were kept), when a project is set up (local or hosted),
and when an article or video walkthrough finishes: its outcome, where it went
(local, uploaded or generated on SupportPages.io), an error code if it failed,
and how many seconds it took; likewise when a
wtfm yolorun starts and ends. - For unexpected errors only: the error type and code, and stack frames with every
path outside WTFM replaced by
<external>. Messages from other code are never sent.
What is never sent: your code, file names or paths, article titles or content, repository or project names, or credentials. Your IP address is not stored. The install ID is also sent when you sign in from this computer, which is what links later usage from it to your account.
Turn it off with any of these:
- ask your coding agent to turn off SupportPages telemetry;
- run
wtfm telemetry off; - set
SUPPORTPAGES_TELEMETRY=0orDO_NOT_TRACK=1.
It is always off in CI. wtfm doctor shows whether it's on and why; set
SUPPORTPAGES_TELEMETRY_DEBUG=1 to print each report to stderr as it is sent.
FAQ
Is this for API docs or READMEs? No. WTFM writes end-user documentation: how-to and troubleshooting guides for the people who use your product, with screenshots. Your agent already handles developer docs well.
Why not just ask Claude Code to write the docs? It will write you decent steps. It won't show the screen, and it guesses at labels it hasn't looked up. WTFM adds a project analysis, a renderer that builds screenshots from your own UI code, and checks that run before anything is saved.
What does it cost?
WTFM is free and Apache 2.0. Articles run on your own Claude Code or Codex subscription.
wtfm yolo is the exception: it runs on SupportPages.io and needs an account; the free
plan covers 10 guides.
wtfm: command not found
Open a new terminal, or run the PATH command the installer printed.
My agent can't see the SupportPages tools.
Restart any Claude Code or Codex sessions that were open during wtfm setup.
Setup won't finish.
Run wtfm doctor, fix what it reports, then run wtfm init again.
An article was interrupted halfway.
Ask your agent to continue it, or run wtfm status to see where it stopped.
Does it collect usage data? Only anonymous counts and crash reports, never your code or articles. See Anonymous usage counts and crash reports to see exactly what is sent or turn it off.
Can I use it on Windows? Yes, inside WSL.
More on supportpages.io/wtfm.
Contributing
Bug reports and pull requests are welcome. When reporting a bug, include your OS,
wtfm --version, the command you ran and its output, with credentials and
private code removed. For larger changes, open an issue first so we can agree on the
approach.
To work on the code:
The article engine in engine/ is synced from upstream on each engine release, so
changes there are reviewed here and ported back by the maintainers.
License
Apache 2.0. The UI stylesheets bundled under engine/ keep their own
licenses; see NOTICE. The license doesn't cover the SupportPages name or logo.
來源:README.md,提交 1ab355b
工具
0版本歷史
5- v0.7.3最新Oct 29, 2026
- v0.6.0Oct 23, 2026
- v0.5.7Oct 21, 2026
- v0.5.6Oct 20, 2026
- v0.5.5Oct 19, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分