When you runDocumentation Index
Fetch the complete documentation index at: https://docs.useterse.ai/llms.txt
Use this file to discover all available pages before exploring further.
terse deploy, your workflow goes from local code to a hosted, trigger-ready automation in seconds. There’s no Dockerfile, and no infrastructure to configure.
What happens when you deploy
Your code is zipped and uploaded
The CLI collects all project files (excluding
node_modules, .git, .env, and other non-essentials), compresses them into a ZIP archive, and uploads it to cloud storage. This archive
is content-addressed by SHA-256 hash and serves two purposes: it is the input for the image build in the next step, and it backs the source file browser in your project dashboard.Two images are built
Terse builds a pair of Modal sandbox images from your ZIP:
- Dependency image — starts from the detected base runtime (
node:22-slimfor TypeScript) and installs your project’s packages. This layer is hashed by your dependency manifest (package.json, lockfile, etc.) and shared across deploys, so re-deploying without changing dependencies reuses the cached image instantly. - Source image — layered on top of the dependency image with your source code baked in. This layer is hashed by your organization, dependency hash, and source content, so it is also reused automatically when nothing has changed.
Triggers and skills are registered
Each job’s triggers (e.g. a GitHub webhook, a cron schedule) are registered on the Terse platform. Webhook URLs remain stable across redeploys, so you never need to reconfigure external
services. Any jobs from a previous deploy that are no longer in your code are automatically cleaned up.
A trigger fires
When an event matches one of your triggers, Terse launches an isolated Modal sandbox from the pre-built source image for that deploy. Because your code and dependencies
are already baked into the image, the sandbox starts immediately — there is no extraction step and no package installation at runtime.
Security
Each execution runs in its own isolated Modal sandbox with a project-scoped, short-lived API token that is removed when the run finishes (and may also carry an expiration time). Your code and credentials are never shared across runs or organizations.What gets uploaded
The CLI respects standard ignore patterns. The following are always excluded:- TypeScript
node_modules, .git, dist, .next, .turbo, .env, .DS_Store