Publish a page to fmrl.site
fmrl_publishPublish HTML or Markdown as a new fmrl.site page and get a shareable link; pages are private by default and expire in seven days unless kept.
Instructions
Publish HTML or Markdown as a new page on fmrl.site and answer its link. Each call makes a new page: to change one you already published use fmrl_edit, and to publish a file from disk use fmrl_publish_file. Only call it when the person asked to share, send, or get a link for something. Pages are private by default: encrypted on this machine, with the key only in the link after #p= and in this machine's key ring. Pass visibility: "public" only when the person asked for a public page. A page lasts seven days unless someone keeps it from the page itself. Public content or a title carrying a recognizable credential (a private key, or an AWS, GitHub, Slack, Anthropic, OpenAI, Google, Stripe, GitLab, npm, Hugging Face or fmrl key) is refused. Each publish counts toward this key's monthly free publishes, shown by fmrl_whoami.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Page title; the first heading is used when left out. For a private page the server stores no title; when the content is rendered from Markdown the encrypted document's own title uses it (falling back to the first heading), and raw HTML is sealed as-is. | |
| format | No | html or md; leave out to let the server detect it. | |
| content | Yes | The HTML or Markdown to publish: 2 MiB at most public; private pages are encrypted first, so roughly 1.4 MB fits. | |
| private | No | Older form of visibility: true is private, false is public. Prefer visibility. | |
| visibility | No | private (the default): encrypted here before upload; the link carries the key after #p=, the page has no title or preview on fmrl.site, and opens only with that key. public: anyone with the link can read it, and it shows a title and preview. Either can be kept from the page itself. Pass public only when the person asked for a public page, after showing them what will be shared. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| notes | No | ||
| status | Yes | ||
| raw_url | Yes | ||
| link_url | No | ||
| recovery | No | ||
| attach_url | No | ||
| expires_at | Yes | ||
| manage_url | Yes |