Toupas

Docs

Toupas for coding agents

Toupas makes the app on the user's computer live, at a link anyone can open. The user isn't expected to know anything about servers or deployment, so don't ask them for deployment details: Toupas works them out.

Make the app live

Call toupas_make_live with dir, the absolute path of the app's folder. It signs the user in if needed, works out how to prepare the app, writes toupas.json, prepares the app (in Docker for apps with their own server), sends only changed files, waits until the new version is live, and returns the link. Calling it again updates the live app.

The first time, it may stop and return:

Words to use with the user

Say "make live", "update the live app", "app", "version", "settings". Avoid "deploy", "deployment", "project", "container", "environment variable" unless the user uses them.

After it's live

Rules