flypod

v1.0.2
dev.flypod/flypod Checked 13 hours ago Published 6 days ago

Publish a folder of static files or Markdown at an HTTPS share link.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

deploy_site Publish a new site

Publishes files as a new website at a share link and returns its URL. Each call creates a separate site at a new URL; update_site changes an existing one. Limits: 200 files and 4 MB in total. Those limits apply to files written into this call. The flypod CLI reads a folder from disk instead (a Storybook, a docs build, a site full of images): `npx flypod <folder>` takes 800 files and 30 MB on the free plan, 50 MB on Pro. A connector signed in to an account also has upload_link: a link that takes a zip of the folder from `curl` and publishes it as the account, on a site it owns or a new one. The…

ParameterTypeDescription
files *objectText files to publish, as a map from path to file content, e.g. {"index.html": "<!doctype html>…", "css/site.css": "…"}. Paths are relative, use forward slashes, and must not start with a slash. T…
binary_filesobjectOptional non-text files (images, fonts) as a map from path to base64-encoded bytes. Intended for a few small assets; text belongs in `files`.

update_site Publish a new version of a site

Replaces the content of an existing site with the given files, at the same URL. The files are the complete new version, not a patch: anything left out is no longer served. The previous version is kept and rollback_site restores it.

ParameterTypeDescription
files *objectText files to publish, as a map from path to file content, e.g. {"index.html": "<!doctype html>…", "css/site.css": "…"}. Paths are relative, use forward slashes, and must not start with a slash. T…
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.
binary_filesobjectOptional non-text files (images, fonts) as a map from path to base64-encoded bytes. Intended for a few small assets; text belongs in `files`.
manage_tokenstringThe manage_token returned by deploy_site for this site. Needed while the site is temporary; not needed for a site that belongs to the signed-in account.

rollback_site Roll a site back to an earlier version

Makes an earlier version of a site live again at the same URL. With no version_id it restores the version before the current one. get_site lists the versions available.

ParameterTypeDescription
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.
manage_tokenstringThe manage_token returned by deploy_site for this site. Needed while the site is temporary; not needed for a site that belongs to the signed-in account.
version_idstringThe version to make live. Omit for the previous version.

get_site Look up a site

Returns a site's URL, name, when it expires, which version is live, and its version history.

ParameterTypeDescription
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.
manage_tokenstringThe manage_token returned by deploy_site for this site. Needed while the site is temporary; not needed for a site that belongs to the signed-in account.

compare_versions Compare two versions of a site

Lists the files added, removed and modified between two versions of a site. With no arguments beyond the site it compares the live version with the one before it.

ParameterTypeDescription
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.
fromstringThe older version_id. Defaults to the version before `to`.
manage_tokenstringThe manage_token returned by deploy_site for this site. Needed while the site is temporary; not needed for a site that belongs to the signed-in account.
tostringThe newer version_id. Defaults to the live version.

duplicate_site Duplicate a site

Copies a temporary site's live content to a new site at a new URL, leaving the original untouched. The copy is temporary and comes with its own site_id and manage_token. A site that belongs to an account cannot be duplicated this way.

ParameterTypeDescription
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.

deploy_file Publish an attached file

Publishes a file the person attached in the chat as a new site at a share link, without its content being written out as tool input. A .zip is published as a whole site (its index.html is the home page), an .html file as the home page, and any other file (an image, a PDF) under its own name. Limit: 25 MB. Available where the chat app hands attached files to tools (ChatGPT); elsewhere deploy_site takes the files' content. The result is the same as deploy_site's: a url, a site_id and a manage_token.

ParameterTypeDescription
file *objectThe attached file, as the chat app provides it.

configure_timeline Turn the version timeline on or off for a site

Shows or hides a History chip on the site's pages that lets any visitor open its earlier versions and compare two of them, which is useful while a site is being reviewed. Off by default. When it is on, the result includes a history_url that shows two versions side by side, and get_site lists a url for each version. While it is on, versions that were replaced remain publicly viewable.

ParameterTypeDescription
enabled *booleanTrue to show the timeline, false to hide it.
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.
manage_tokenstringThe manage_token returned by deploy_site for this site. Needed while the site is temporary; not needed for a site that belongs to the signed-in account.

protect_site Password protect a site, or show, change or remove its password

Makes a site private behind a password (flypod Pro), or shows its password again. With enabled true and no password, flypod makes a strong one (four words and a number) if the site has none, and otherwise keeps it. The result has the password, a share_url that opens the site without typing, and a curl line for scripts. The share_url (or the password) is what the person shares. rotate makes a new password, which signs every device and link out. enabled false makes the site public again. Without Pro it fails with an upgrade link.

ParameterTypeDescription
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.
enabledbooleanTrue (default) to protect the site or show its password; false to make it public.
manage_tokenstringThe manage_token returned by deploy_site for this site. Needed while the site is temporary; not needed for a site that belongs to the signed-in account.
passwordstringA password of the person's own choosing, 8 to 128 characters. Omit to have flypod make one.
rotatebooleanTrue for a new generated password.

configure_domain Put a site on the person's own domain, or check or remove it

Connects a custom domain such as www.example.com to a site (flypod Pro). The result names the person's DNS provider, the one record to add in that provider's own field names, a link to the page where it is added, and `say`: the same steps in one plain sentence for the person. With no domain it reports the status, which goes pending_dns, then pending_certificate, then active (usually minutes after the record is added). If `problem` is set, its fix says exactly what to change. remove true disconnects the domain. A www. subdomain works with every DNS provider.

ParameterTypeDescription
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.
domainstringThe domain to connect, e.g. www.example.com. Omit to get the status of the site's domains.
manage_tokenstringThe manage_token returned by deploy_site for this site. Needed while the site is temporary; not needed for a site that belongs to the signed-in account.
removebooleanTrue to disconnect `domain` from the site.

list_sites List the account's sites

Lists the sites that belong to the flypod account this connector is signed in to, with each site's URL, name and kept_until (when the site will be removed: on the free plan, 6 months after its last deploy, and deploying again starts the 6 months over; null on Pro and Studio).

keep_site Keep a temporary site

Attaches a temporary site to the signed-in flypod account so it is no longer removed after 14 days. The URL does not change. Requires the connector to be signed in; otherwise the person can use the keep_url from deploy_site.

ParameterTypeDescription
manage_token *stringThe manage_token returned by deploy_site for this site.
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.

rename_site Rename a site

Sets the display name of a site on the account page. The URL does not change. An empty name clears it.

ParameterTypeDescription
name *stringThe new display name. Names longer than 60 characters are cut to that length.
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.

delete_site Delete a site

Permanently deletes a site that belongs to the signed-in account: its URL stops working and every version is removed. This cannot be undone.

ParameterTypeDescription
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.

upgrade_plan Get a link to upgrade to flypod Pro or Studio

Returns a payment link for flypod Pro: custom domains, password-protected sites, and higher limits on deploys, storage and updates per hour. The person pays on that page themselves (card, Apple Pay or Google Pay; about 30 seconds); calling this tool charges nothing. Once they have paid, the account has Pro's features and limits. Signed in, the link is for this connector's account; otherwise it asks the person to sign in first. With plan "studio", the link is for flypod Studio ($12 a month): everything in Pro with 25 GB of storage, 5,000 deploys a month and 50,000 requests per site a day. On a…

ParameterTypeDescription
intervalstringBill monthly (default) or yearly.
planstringWhich plan: Pro (default on the free plan) or Studio (default on Pro).

send_feedback Send feedback to the flypod team

Sends a short note to the flypod team about flypod itself: something it cannot do that the task needed, a limit that got in the way, an error, or that the job was done with another tool or host instead, and why. The team reads these notes to decide what to fix and build next. Email addresses, flypod tokens and URL query strings are removed before a note is stored. Works without an account and changes nothing on any site.

ParameterTypeDescription
kind *stringWhat the note is about: missing_feature (flypod cannot do something needed), limit, error, used_another_tool (the job went elsewhere), or other.
message *stringWhat happened and what was needed, in plain words (at most 1000 characters).
codestringThe error code a flypod tool returned, if any, e.g. too_large.
toolstringThe flypod tool the note is about, if any, e.g. deploy_site.

configure_comments Turn comments on or off for a site

Enables or disables visitor comments on a site and sets who may comment: `anonymous` (anyone), `passcode` (anyone with the shared passcode), or `approved` (comments appear after the owner approves them). Disabling keeps existing comments. Only the site's owner can change this.

ParameterTypeDescription
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.
enabledbooleanTrue to turn comments on, false to turn them off.
modestringWho may comment. Leave out to keep the current mode.
passcodestringThe shared passcode, for mode `passcode`.

list_comments List comments on a site

Lists the comment threads on a site, each with the text it is attached to, its status and its first comment. Also reports whether comments are enabled and in which mode.

ParameterTypeDescription
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.
pagestringOnly threads on this page path, e.g. `/` or `/pricing.html`.
statusstringWhich threads to list. Defaults to open. `pending` is the moderation queue.

get_comment_thread Read a comment thread

Returns one comment thread with every reply.

ParameterTypeDescription
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.
thread_id *stringThe thread_id of a comment thread, as returned by list_comments.

post_comment Comment on a page

Starts a comment thread on a page of a site, attached to a passage of its text. `quote` has to be text that appears on the page exactly as written there.

ParameterTypeDescription
body *stringThe comment.
page *stringThe page path, e.g. `/` or `/pricing.html`.
quote *stringThe exact text on the page the comment is about.
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.

reply_to_comment Reply to a comment thread

Adds a reply to an existing comment thread.

ParameterTypeDescription
body *stringThe reply.
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.
thread_id *stringThe thread_id of a comment thread, as returned by list_comments.

update_comment_thread Resolve, reopen, approve or reject a comment thread

Changes the state of a comment thread: `resolve` marks it done, `reopen` undoes that, and `approve` or `reject` decide a thread waiting in the moderation queue (owner only).

ParameterTypeDescription
action *stringWhat to do with the thread.
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.
thread_id *stringThe thread_id of a comment thread, as returned by list_comments.

delete_comment_thread Delete a comment thread

Deletes a comment thread. Allowed for the thread's author and for the site's owner.

ParameterTypeDescription
site_id *stringThe site_id returned by deploy_site, or listed by list_sites.
thread_id *stringThe thread_id of a comment thread, as returned by list_comments.