New:Socket for Asana Is Now Available.Learn more
Get Started

@zerct/zerct

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zerct/zerct

Deploy Rust backends and static frontends to Zerct.

latest
Source
npmnpm
Version
0.1.47
Version published
Weekly downloads
9
-84.21%
Maintainers
1
Weekly downloads
 
Created
Source

zerct

Deploy Rust backends and static frontends to Zerct.

npx @zerct/zerct init my-app --template fullstack-rust-tanstack
cd my-app/web && bun install && cd ..
npx @zerct/zerct doctor --json
npx @zerct/zerct deploy --wait --json

npx @zerct/zerct is the public npm command.

Rust backends expect Cargo.toml, Cargo.lock, and zerct.toml. They must pass cargo fmt --all --check, locked Cargo checks, listen on 0.0.0.0:$PORT, and expose the configured health endpoint.

Static frontends must use TypeScript browser source, tsgo --noEmit for typecheck, and native linting such as oxlint, biome check, or deno lint.

From a full-stack repo root, the same deploy command discovers nested zerct.toml files and deploys the whole workspace in one command.

Preview before deploying:

npx @zerct/zerct preview

Agent repair loop:

npx @zerct/zerct doctor --json
npx @zerct/zerct deploy --wait --json
npx @zerct/zerct logs --build job_1 --json

Fix the first failed agent_instruction. If a build fails, inspect build logs, fix the first actionable log error, rerun doctor, then redeploy.

Managed Postgres apps receive DATABASE_URL, ZERCT_DATABASE_URL, and ZERCT_DATABASE_CONNECTION_LIMIT. Use that limit as the max size for your database pool.

Agents can also inspect API capabilities, account identity, usage, account activity, apps, complete app overviews, deploys, builds, app/deploy/build logs, env metadata, custom domains, domain verification, billing checkout links, billing portal links, and support ticket create, list, and resolve actions through the same CLI.

When a free-tier limit blocks work, run:

npx @zerct/zerct billing checkout --json

When Zerct support is needed, include enough evidence for a support agent:

npx @zerct/zerct support create "Deploy failed" "Agent retried deploy after doctor." --app app_1 --build job_1 --deploy deploy_1 --failing-command "npx @zerct/zerct deploy --wait --json" --first-log-line "cargo check failed in src/main.rs" --json

When the issue is fixed, resolve the ticket:

npx @zerct/zerct support resolve ticket_0123456789abcdef0123 --json

On first deploy, the CLI opens browser login, waits for GitHub or Google, stores the Zerct session in the OS credential store when available, and continues the deploy. Later commands reuse that session.

Keywords

zerct

FAQs

Package last updated on 28 May 2026

Related posts