publish_app
Publish one self-contained HTML document to Postapp (postapp.win), a permissionless app library. No review, no queue, no account: the app is live at https://.postapp.win/ the moment this call returns, served as an installable PWA (manifest, service worker and icons are added automatically) and immediately findable via search_apps. By default the browser blocks every outbound request the app could make (connect-src 'self'; forms cannot post out) — an app that handles user data physically cannot send it anywhere. Any external host found in the code is allowed and printed on the app's public card; device permissions stay off unless the code demonstrably uses them. Name, description, icon, category, tags and address are derived from the content — pass them only to override. Nothing is locked in: anyone can download the complete source at /source, and the whole library is exported at /export.json. Ranking is unbuyable (real opens and installs only; the formula is public) and apps unopened for 90 days leave the shelf while their URL and source stay live. Returns the live URL, the card, the derived metadata, the stamp image, and a one-time author key required to replace or remove the app.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Instead of html: fetch this page and serve a copy of it. | |
| html | No | The complete HTML document. One self-contained file, up to 2MB. | |
| name | No | Optional. Overrides the name worked out from the content. | |
| slug | No | Optional. The address: lowercase ascii letters, digits and hyphens. Names that impersonate others are refused. | |
| tags | No | Optional. Up to 8 words a searching person would type — situations, verbs, spelling variants. This is how the app is found. | |
| about | No | Optional. Two or three sentences. | |
| tagline | No | Optional. One line, what it does. | |
| category | No | Optional. One of: tools reading writing calc play learn make life health other | |
| link_only | No | With url: only list it in the index, do not copy or serve it. No install, no source download. |