How to share an HTML report made with Codex
Have Codex write a self-contained HTML report, then publish it from the terminal as a private link for named people. Commands included.
Last updated
Steps
- 1
Ask Codex for a single-file report
Use the prompt below so the output is one HTML file with data embedded.
- 2
Open the file locally
Check that it renders from disk with no server running.
- 3
Publish from the terminal
Run npx linkwoven publish report.html with an --invite list.
- 4
Send the link
Invited people verify by email code. You are notified on first open.
- 5
Update in place
When the report changes, run linkwoven update with the same link.
Coding agents such as OpenAI's Codex are good at turning a repository, a dataset or a test run into a readable HTML report. The report lands as a file on your disk. This guide covers the last step: getting it to a reviewer, client or manager as a link.
Status: the Linkwoven CLI and MCP server are part of the private beta. Commands on this page describe the beta. Join the waitlist to get access.
Prompt Codex for a report that travels
Write a report of [what you want summarised] to ./report.html.
Requirements:
- One self-contained HTML file. Inline CSS and JavaScript.
- Embed all data as JSON inside a script tag. No runtime fetches.
- Charts may load one library from cdn.jsdelivr.net.
- Start with a summary of five lines or fewer, then sections with h2 headings.
- Tables must be sortable and readable on a phone.
- Do not include secrets, tokens, absolute local paths or .env values.
The last line matters. A report generated from a working directory can pick up things you did not mean to share.
Review before you publish
- Open
report.htmlin a browser. - Search the source for
token,secret,passwordand your home directory path. - Confirm that customer names or internal figures in it are meant for this audience.
Publish from the terminal
# Invite specific people. They verify by email code.
npx linkwoven publish ./report.html --title "Migration report" --invite dana@example.com,lee@example.com
# Or set the access mode directly.
npx linkwoven publish ./report.html --access password
The command prints the link. Add --json to get machine-readable output for a script.
To publish a folder, such as a multi-page site built into ./dist, pass the folder. The CLI zips it for you.
Let Codex do the publishing
Add the local MCP server to Codex's configuration file:
[mcp_servers.linkwoven]
command = "npx"
args = ["linkwoven", "mcp"]
Check the Codex documentation for the current location and format of that file. Then you can say:
Publish report.html privately to dana@example.com and give me the link.
The agent calls the publish_document tool and reports the URL. A full tool list is in publishing from AI agents.
Keep one link as the report changes
linkwoven update https://linkwoven.com/v/your-link ./report.html
Everyone who has the link sees the new version. Permissions stay the same and the earlier version is kept in the history. This suits a weekly report: one link in the team channel, new content each run.
Which access mode
| Audience | Flag |
|---|---|
| Named reviewers | --invite a@example.com,b@example.com |
| A group that shares a password | --access password |
| Anyone, but you want to know who | --access email |
| Public | --access public |
Each mode is described in access modes.
Limits
- Reports that call outside APIs at view time will not work. Data must be in the file. See the HTML checker rules.
- A permitted viewer can screenshot or copy the report.
- Reading time in the activity list is an estimate, shown with a "~".
The same steps work with other agents. See sharing HTML reports from Cursor.
Frequently asked questions
- Can Codex publish the report itself?
- Yes, in two ways. It can run the CLI command in your shell, or it can call the Linkwoven MCP server if you add it to Codex's configuration. Both are part of the private beta.
- Does this send my repository to Linkwoven?
- No. Only the file or folder you publish is uploaded. Review the report before publishing, because generated reports can include code, paths or environment values.
- Will the link be public?
- Not by default. Links created through the CLI or MCP are non-public unless you pass public access explicitly.
- Do I need an account to try it?
- The plan is that publishing without logging in works and gives a link that expires after 7 days, with a claim link to keep it. Inviting specific people requires logging in.