The VS Code extension
Make the app you're working on live, at a link anyone can open, without leaving the editor. Get it from the Visual Studio Marketplace, or search for Toupas in the Extensions view.
Make an app live
- Open your app's folder.
- Click Make live in the status bar.
- The first time, the extension installs the Toupas program (no administrator rights needed) and asks you to sign in in your browser.
You get a link like corner-shop.toupas.app. When you change something, click it again to update the live app: only the changed files are sent. It works for websites and for apps with their own server, which need Docker Desktop, as with the toupas command.
When Toupas needs an answer only you can give, such as whether the live app starts with a copy of your local data, the extension asks you.
What else it does
- The Toupas sidebar lists your apps, whether each one is live, and its link. Click an app to open it.
- The status bar shows this folder's live link, or Make live before it has one. Click it for the app's options.
- Toupas: Show what the live app prints follows the live app's output as it happens.
- Toupas: Take the app offline and Toupas: Bring the app back online. Its data is kept while it's offline.
- Toupas: Open your Toupas account opens the panel, for plans, settings and domains.
The editor's agent
The extension gives VS Code's agent the Toupas tools, so in agent mode you can ask it to make the app live, read the live app's logs, or add a database. They're the same tools coding agents get.
Settings
| Setting | What it does |
|---|---|
| Toupas: Path | Where the Toupas program is. Leave it empty to find it on its own |
| Toupas: Status Bar | Show the app's link, or a Make live button, in the status bar (default on) |
The extension uses the same program and sign-in as the terminal, so apps you made live with toupas live show up in it too.