Skip to main content

Get your project up and running in a few minutes on your own vps.

Project description

fujin

[!IMPORTANT] This tool is currently contains minimal features and is a work-in-progress

fujin is a simple deployment tool that helps you get your project up and running on a VPS in minutes. It manages your app processes using systemd and runs your apps behind caddy.

Publish Package PyPI - Version PyPI - Python Version MIT License Status

Features

  • 🚀 One-command server bootstrap
  • 🔄 Rollback broken deployments
  • 🔐 Zero configuration SSL certificates
  • 🔁 Swappable proxy (caddy, nginx and dummy to disable proxy)
  • 🛠️ Secrets injection from password managers (Bitwarden, 1Password, etc.)
  • 📝 Easily customizable systemd and proxy configurations
  • 👨‍💻 Remote application management and log streaming
  • 🐍 Supports packaged python apps and self-contained binaries

For more details, check out the documentation📚.

Why?

I wanted kamal but without Docker, and I thought the idea was fun. At its core, this project automates versions of this tutorial. If you've been a Django beginner trying to get your app in production, you probably went through this.

I'm using caddy here by default instead of nginx because it's configurable via an API and it's is a no-brainer for SSL certificates. Systemd is the default on most Linux distributions and does a good enough job.

Fujin was initially planned to be a Python-only project, but the core concepts can be applied to any language that can produce a single distributable file (e.g., Go, Rust).

The goal is to automate deployment while leaving you in full control of your Linux box. It's not a CLI PaaS - it's simple and expects you to be able to SSH into your server and troubleshoot if necessary. For beginners, it makes the initial deployment easier while you get your hands dirty with Linux. If you need a never-break, worry-free, set-it-and-forget-it setup that auto-scales and does all the magic, fujin probably isn't for you.

Inspiration and alternatives

Fujin draws inspiration from the following tools for their developer experience. These are better alternatives if you need a more robust, set-and-forget solution

  • fly.io
  • kamal (you probably can't just forget this one)

License

fujin is distributed under the terms of the MIT 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

fujin_cli-0.12.1.tar.gz (130.6 kB view details)

Uploaded Source

Built Distribution

fujin_cli-0.12.1-py3-none-any.whl (35.7 kB view details)

Uploaded Python 3

File details

Details for the file fujin_cli-0.12.1.tar.gz.

File metadata

  • Download URL: fujin_cli-0.12.1.tar.gz
  • Upload date:
  • Size: 130.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for fujin_cli-0.12.1.tar.gz
Algorithm Hash digest
SHA256 102a41cda2428183b30eb618e5958d67773a38394a0692ce9ff38e7464482d87
MD5 75e66f6362b094f1c56546691b69af04
BLAKE2b-256 6e450f87155f84c7d5e20a6d1d19f5f772bb502eeadcdd702af0deb0ccc93cad

See more details on using hashes here.

File details

Details for the file fujin_cli-0.12.1-py3-none-any.whl.

File metadata

  • Download URL: fujin_cli-0.12.1-py3-none-any.whl
  • Upload date:
  • Size: 35.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.0

File hashes

Hashes for fujin_cli-0.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c1fccad220ac00694ba62b009f7da0290d9d3c7ca23f3b702ddfb4d44b8fb586
MD5 64430de202834f1de2f60996eb98eb38
BLAKE2b-256 07b9a0b5232b70ef122fe8316a3d886f90a9ca3449c0a0b436852b932532cee8

See more details on using hashes here.

Supported by

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