// documentation

Snapfini Docs

Deploy from your terminal in under 60 seconds.

01 — Quick Start

Install the CLI, login once, then deploy any project with a single command.

# Install globally
npm install -g snapfini

# Authenticate (opens browser to get your token)
snapfini login

# Deploy the current directory
cd my-project/
snapfini deploy

# → Building...
# → ✓ Deployed! https://abc123.snapfini.com

02 — CLI Reference

snapfini loginAuthenticate via browser or --token flag
snapfini login --token <token>Skip browser — paste your token directly
snapfini deployZip & deploy current directory
snapfini deploy --dbDeploy + provision a PostgreSQL database
snapfini deploy --name my-appDeploy with a custom subdomain
snapfini deploy --env .envUpload env vars from a .env file
snapfini listShow all active deployments
snapfini logs <app-id>Stream live container logs
snapfini env list <app-id>List environment variables
snapfini env set <app-id> KEY=VSet an environment variable
snapfini delete <app-id>Delete a deployment (with confirmation)
snapfini open <app-id>Open deployment URL in browser
snapfini statusShow account plan and deployment count

03 — VS Code Extension

Deploy without leaving your editor. The Snapfini extension adds a sidebar panel with all your deployments.

Install

Download the .vsix file from the Snapfini dashboard and install it:

code --install-extension snapfini-1.0.0.vsix

Usage

  • → Click the Snapfini icon in the Activity Bar
  • → Run Snapfini: Login from the Command Palette (Ctrl+Shift+P)
  • → Run Snapfini: Deploy Project or press Ctrl+Shift+D
  • → Right-click any deployment to Open, Logs, or Delete

04 — API Tokens

The CLI and VS Code extension authenticate using API tokens — not your password.

  1. Go to Dashboard → API Tokens
  2. Click Generate and copy the token immediately
  3. Run snapfini login --token snpf_live_xxx

Tokens are stored in ~/.snapfini/config.json. Never commit this file.

05 — Environment Variables

Set env vars at deploy time or update them live (app restarts automatically).

# Upload a .env file at deploy time
snapfini deploy --env .env.production

# Set individual vars after deploy
snapfini env set abc123 DATABASE_URL=postgres://... PORT=3000

# List current vars
snapfini env list abc123

DATABASE_URL is injected automatically when you use --db.

06 — Custom Domains

Every deployment gets a free *.snapfini.com subdomain. You can also point your own domain.

  1. Add a CNAME record pointing to snapfini.com
  2. In the Dashboard, open your app → click Custom Domain
  3. Enter your domain — SSL is provisioned automatically

07 — PostgreSQL

One flag provisions a dedicated Postgres 15 database for your app.

snapfini deploy --db
  • DATABASE_URL is injected as an env var automatically
  • → 512 MB storage on the free plan
  • → Backups run every 24h and are stored for 7 days

08 — Plan Limits

ResourceFreePro (soon)Scale (soon)Business (soon)
Projects111Unlimited
RAM512 MB2 GB4 GB8 GB
vCPU0.5248
App Storage1 GB5 GB10 GB50 GB
DB Storage1 GB5 GB10 GB50 GB
Custom DomainsSubdomain
Auto SSL
PostgreSQL
SupportPriorityPriority24/7 Dedicated
Malware Protection