Skip to main content

Deploy any app in 60 seconds. 60-80% cheaper than AWS.

Project description

varitykit

Deploy any app to the internet for a fraction of what AWS, Vercel, and Render charge. One command. No infrastructure setup.

PyPI version License: MIT Python 3.11+

varitykit is the command-line tool for Varity. You point it at any project — website, API, AI agent — and one command takes it live with a real cost number, usually pennies a month.

Why people switch

Varity AWS Vercel Render
Static website (1 GB transfer/mo) ~$0 ~$1.50 $20 (Pro plan) $7
Small Node / Python API ~$1–3 ~$15 $20 + per-request $7–25
AI agent with an LLM ~$5–15 $50+ not supported $25–85

Same workload, real-money savings. No plan tiers, no per-execution fees, no traffic surprises.

60-second quickstart

pip install varitykit                     # 1. install
varitykit login                           # 2. paste your deploy key
varitykit init my-app                     # 3. scaffold a new Next.js app
cd my-app && varitykit app deploy         # 4. live at https://varity.app/my-app/

Already have an app? Skip step 3. cd into it and run varitykit app deploy.

What kinds of apps work

Validated end-to-end on this release:

Pattern Status Notes
Plain HTML Works as-is
Vite SPA (Vue / React) Build first, then deploy
Next.js with output: "export" Build first, then deploy
Express / Node API Single container; works end-to-end
Next.js with API routes / SSR Deploys; multi-service polish underway
FastAPI / Flask / Django Single-container apps work; apps that need Postgres or an LLM hit a startup-ordering issue we're fixing
AI agent with a local LLM Same as above

Go, Rust, Ruby, Elixir, Java, PHP, and .NET are on the roadmap.

Commands

varitykit doctor              check Node 20+, Python 3.11+, git, npm, network
varitykit login [--key ...]   save your deploy key (or use VARITY_DEPLOY_KEY env var)
varitykit init <name>         scaffold a new Next.js app
varitykit app deploy          deploy from the current directory
varitykit app list            list your deployments
varitykit app info <id>       details for a specific deployment
varitykit migrate --url <gh>  convert a Vercel project to Varity
varitykit completions         install shell tab completion (bash / zsh / fish)

--debug, --json, --version, and --help are available globally.

varitykit init

Wraps npx create-next-app@latest with sensible defaults (TypeScript, App Router, no preset Tailwind / ESLint) and writes a small varity.config.json next to the scaffold. The previous bundled SaaS template is deprecated; --template is accepted for backward compatibility but routes to the same flow.

varitykit app deploy

varitykit app deploy                        # auto — figures out everything
varitykit app deploy --hosting static       # force static hosting
varitykit app deploy --hosting dynamic      # force dynamic hosting
varitykit app deploy --dry-run              # show what would deploy without shipping
varitykit app deploy --name staging         # custom URL slug → varity.app/staging/

For dynamic apps (anything with a server), your code currently needs to be in a public GitHub repo so the host can fetch it at startup. Eliminating that requirement is the next thing we're shipping. (See KNOWN_ISSUES.md.)

varitykit migrate

Converts a Vercel-deployed app to Varity: clones the repo, removes Vercel-specific packages and config (vercel.json, @vercel/blob, @vercel/kv, edge-runtime markers, Next image-optimizer settings), suggests portable replacements (S3-compatible storage for @vercel/blob, ioredis for @vercel/kv), applies them, and deploys.

varitykit migrate --url https://github.com/me/my-vercel-app --dry-run   # preview
varitykit migrate --url https://github.com/me/my-vercel-app             # do it

Verified on real-world Vercel projects: the Next.js framework itself, leerob/leerob.io, shadcn-ui/taxonomy.

Use Varity from your AI editor

Varity ships an MCP server so Cursor, Claude Code, VS Code Copilot, Windsurf, and other AI tools can deploy without typing.

claude mcp add varity -- npx @varity-labs/mcp     # Claude Code
# Then: "deploy this app to Varity"

See @varity-labs/mcp for setup in other clients.

Honest current state

Static deploys (websites, exported Next.js, Vite SPAs) and single-container APIs are production-ready. Multi-service apps — an API with a database, or an AI agent with an LLM — are configured correctly by the CLI, but the order in which the services start up needs polish before launch. See KNOWN_ISSUES.md for the full audit.

Support

License

MIT — see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

varitykit-1.2.19.tar.gz (249.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

varitykit-1.2.19-py3-none-any.whl (298.8 kB view details)

Uploaded Python 3

File details

Details for the file varitykit-1.2.19.tar.gz.

File metadata

  • Download URL: varitykit-1.2.19.tar.gz
  • Upload date:
  • Size: 249.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for varitykit-1.2.19.tar.gz
Algorithm Hash digest
SHA256 a663684215bb14a32f1ad1b5f9e5ab5946d9649675c8e2434435ee1f0d5aacc6
MD5 5b5e0f5a2c78c4620d2cf07a118eed65
BLAKE2b-256 62fcf6b2c5b56e997c9da47751ffd729b112d55c98f8d30edef4ce4473367de4

See more details on using hashes here.

File details

Details for the file varitykit-1.2.19-py3-none-any.whl.

File metadata

  • Download URL: varitykit-1.2.19-py3-none-any.whl
  • Upload date:
  • Size: 298.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for varitykit-1.2.19-py3-none-any.whl
Algorithm Hash digest
SHA256 22464fbb3cc9bd7b661795be15ef9ed71fe3d8fddeddbff6d8e144faa043b54e
MD5 159603eaa359c9674ba264143a26f7be
BLAKE2b-256 e6594b0ff8d80c6c2bc9690dfec851cd5f71296000a14e535062d2ba98eb6dcd

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page