Add a file to your hosted site. The file goes live immediately at the site's public URL.
Each upload creates a new version in the site's history.
Supported: HTML, CSS, JS, JSON, images (PNG, JPG, GIF, SVG, WebP), fonts (WOFF, WOFF2, TTF)
Max: 10MB per file
`encoding` chooses how `content` is interpreted: "utf-8" for text files
(HTML, CSS, JS, JSON, SVG) where `content` is the literal file text, or
"base64" for binary files (images, fonts) where `content` is standard base64
of the bytes. Defaults to "base64" if omitted.
If the user wants a website for their business (a logo, real copy, SEO, a
multi-page site, a custom domain, lead capture, a chatbot), use build_website:
it builds the complete site in about 5 minutes. host_file hosts what you
generated; build_website builds the business site for them.