Guides / 04

Publish a website your AI assistant wrote

You asked an assistant for a website and it gave you HTML: in a chat, in a preview pane, or as a folder of files. This guide takes that code from the conversation to an address you can send to anyone.

01

Get the code out of the chat and into a file

If your assistant offers a download for the file, use it. Otherwise copy the whole code block, from <!DOCTYPE html> to </html>, paste it into a plain text editor, and save it as index.html.

  • On a Mac, TextEdit saves rich text by default. Choose Format, then Make Plain Text, before you save.
  • On Windows, Notepad adds .txt to the name unless you set Save as type to All files.

If the assistant wrote several files, keep them in one folder with the names and subfolders it used, and make sure the main page is called index.html. The links between the files depend on those names.

Not sure you have everything? Ask for it in one piece:

Give me the complete website as a single index.html file, with the CSS and JavaScript inside it.

02

Check what the page depends on

Double-click the file to open it in your browser. If it looks right there, that is a good sign.

Assistant-written pages often load things from the web: Tailwind from a CDN, Google Fonts, a chart library, images. All of that works on Tinyworks, as long as each address starts with https://.

What does not work is anything that needs a server. If the project includes files such as server.js, app.py or .php pages, or mentions a database, ask the assistant:

Make this a static website that runs entirely in the browser, with no backend.

If the page has a contact form that posts to a backend, plan to replace it with the Tinyworks form once the website is uploaded. It collects responses without a server of your own.

03

Upload it

  1. Open Upload a website and sign in with your email address. Tinyworks emails you a sign-in link, so there is no password to choose.
  2. Drop in the HTML file, the folder or a ZIP. A folder does not need zipping first. For a single page you can skip the file: choose Paste HTML and paste the code straight from the chat.
  3. Give the website a name.
04

Read the private preview

Tinyworks checks the files and opens a private preview. Nothing is public yet, and nobody else can open it.

Click every link and look at every page. If the preview says it blocked part of the website, look for an address that starts with http:// and change it to https://. A missing image usually means a file was left out of the folder, or its name does not match the link.

05

Publish

Press Publish, check the address Tinyworks shows you, and confirm. Your website is now live at an address like https://your-site.tinyworks.host.

Send that link to anyone. On the Free plan each page shows a small “Hosted on Tinyworks” badge. Launch and Pro remove it.

06

Change it later

Ask your assistant for the change, save the new file, and choose Upload update on the website’s page. You get a new private preview, and visitors keep seeing the current version until you publish again.

The address stays the same. Each publish is saved as a version, and your plan keeps the most recent ones, so if an update goes wrong you can restore the previous one.

A small correction does not need the assistant at all: you can edit text, links and images in the browser.