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.18.tar.gz (215.4 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.18-py3-none-any.whl (242.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: varitykit-1.2.18.tar.gz
  • Upload date:
  • Size: 215.4 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.18.tar.gz
Algorithm Hash digest
SHA256 6281dcc9ef486454b3a8795bed03f5ca325464635a0c4e16fe2ab43bd5fff587
MD5 5881908c3959d3f31705ae2e64c527ce
BLAKE2b-256 3f0d3233216d6befa9f682c73b489a3daa83e01c0e186d5560180a83b194a267

See more details on using hashes here.

File details

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

File metadata

  • Download URL: varitykit-1.2.18-py3-none-any.whl
  • Upload date:
  • Size: 242.5 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.18-py3-none-any.whl
Algorithm Hash digest
SHA256 e78735d6e476dff75a91cccd3b2252482d923c777c89ddb0522597e20fec6c3d
MD5 825f11f1595c3ae3dc1ae36f122594b2
BLAKE2b-256 c39e6b8dd3b706bf206ca035afa2220ab8620b19ec154ce67c740be9f205aa8a

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