Skip to content

advantch/vanty-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vanty CLI

vanty-cli is a standalone Typer-based CLI for infrastructure and deployment work across Hetzner, Cloudflare, Neon, GitHub, and Resend.

Install

uv tool install .
vanty --help

For local development:

uv sync --dev
uv run vanty --help

Environment

Create a .env file in the package root or export the variables directly:

HETZNER_API_TOKEN=
CF_API_TOKEN=
CF_ACCOUNT_ID=
NEON_API_KEY=
RESEND_API_KEY=
GITHUB_TOKEN=
SSH_KEY_PATH=~/.ssh/id_ed25519
DEFAULT_SERVER=
DEFAULT_SERVER_TYPE=cx23
DEFAULT_LOCATION=nbg1
DEFAULT_IMAGE=ubuntu-24.04

Cloudflare also supports CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID.

Command Groups

  • vanty server: Hetzner server provisioning, listing, SSH, IP lookup
  • vanty deploy: deploy, logs, exec, status, webhook, deploy keys
  • vanty buckets: Cloudflare zones, DNS, R2 buckets, token helpers
  • vanty db: Neon projects, branches, databases, connection URIs
  • vanty email: Resend domains, API keys, test emails
  • vanty lb: Hetzner load balancers and DNS
  • vanty redis: remote Redis maintenance commands

Examples

vanty env
vanty server provision --name api-1 --domain api.example.com --repo https://github.com/advantch/app.git
vanty deploy full --server api-1 --env-file .env.prod
vanty buckets dns --domain example.com --name api --content 1.2.3.4
vanty db create-project my-project --region aws-eu-central-1
vanty email domains add emails.example.com --cloudflare

Releasing

Tags trigger the release workflow. The GitHub Actions pipeline builds, creates a GitHub release, and publishes to PyPI automatically.

git tag v0.2.0
git push origin v0.2.0

Notes

  • server provision reads ops/cloud-init.yaml from this package.
  • The CLI is intentionally standalone and does not depend on Django or llm-data-kit.

About

Vanty-CLI for install and managing applications from advantch.com

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages