deploynator
Token-free, offline, multi-platform deployer for GitHub, GitLab, and Bitbucket.
No cloud costs. No vendor lock-in. One codebase, three platforms.
A production-grade CLI that unifies deployment across the holy trinity of git platforms using a single YAML-driven configuration.
pip install .
deploynator release --type feat --project my-app
Features
| Feature | Description |
|---|---|
| Multi-platform | GitHub (gh), GitLab (glab), Bitbucket (bb) |
| Project discovery | YAML-based project configs in projects/ dir |
| Conventional commits | feat, fix, hotfix, docs, refactor, style, chore, test, release, patch |
| Semver management | Automatic version bumping per commit type |
| Changelog generation | Auto-generated from git log, organized by type |
| Release automation | Tag, push, and create releases on all platforms |
| Documentation | ReadMenator integration for knowledge base generation |
| CI/CD workflows | Auto-generate .github/workflows/deploynator-*.yml |
| Interactive mode | Terminal menu for guided operations |
| Headless mode | Full flag-based CLI for scripting and automation |
| Dry-run mode | Simulate without making changes |
| GPG support | Automatic GPG signing detection and usage |
| lazygit integration | Optional native lazygit hooks |
| Backward compatible | Wraps original DEPLOY.sh workflow |
Architecture
| Contract | File | Responsibility |
|---|---|---|
| Config | _config.py |
Immutable centralized configuration |
| Models | _models.py |
Types: Platform, CommitType, VersionInfo, ProjectConfig |
| Platform | _platforms.py |
GitHubCLI, GitLabCLI, BitbucketCLI (Strategy pattern) |
| Git | _git.py |
Git operations (commit, tag, push, branch) |
| Changelog | _changelog.py |
Changelog generation and formatting |
| Semver | _semver.py |
Semantic version management |
| Deploy | _deploy.py |
Deploy orchestration + project discovery |
| App | _app.py |
Application orchestrator + interactive menu |
| CLI | __main__.py |
Entry point and argument dispatch |
Installation
# From PyPI
pip install deploynator
# From source
git clone https://github.com/grisuno/deploynator.git
cd deploynator
pip install .
# Install with dev dependencies (tests + ReadMenator)
pip install -e ".[dev]"
Usage
Programmatic use (library)
from deploynator import DeploynatorApp
from deploynator._config import Config
app = DeploynatorApp(Config.create())
app.status()
app.release(commit_type="feat", subject="add login", dry_run=True)
See app.py for a runnable example.
Initialize a project
deploynator init
# Creates deploynator.yaml in current directory
Authenticate with platforms
deploynator auth login --platforms github gitlab
deploynator auth status
Start a feature branch
deploynator start --type feat --desc add-login
deploynator start --type fix --desc timeout-issue --remote
Make a conventional commit
deploynator commit --type feat --subject "add OAuth login" --scope auth
deploynator commit --type fix --subject "fix timeout" --body "Increased timeout to 30s" --dry-run
Create a release
# Auto-bump based on commit type
deploynator release --type feat --project my-app --all
# Specify version bump explicitly
deploynator release --type release --bump major --project my-app
# Skip tests (like DEPLOY.sh --no-test) or docs
deploynator release --type feat --project my-app --no-test --no-docs
# Dry run to preview
deploynator release --type feat --project my-app --dry-run
# Deploy to specific platforms
deploynator release --type fix --project my-app --platforms github gitlab
# Deploy all discovered projects
deploynator release --type feat --all
Generate documentation
deploynator docs
# Runs ReadMenator to generate KNOWLEDGE_BASE.md with Mermaid graph
Generate CI/CD workflows
deploynator workflow --all
# Creates .github/workflows/deploynator-ci.yml and deploynator-release.yml
Check status
deploynator status
Interactive mode
deploynator interactive
Repository Structure
deployer/
├── deploynator/ # Tool package (9 contracts)
├── deploynator_repos/ # Local clones of managed repos
│ ├── LazyOwn/ # github.com/grisuno/LazyOwn
│ └── deploynator/ # github.com/grisuno/deploynator (self)
├── projects/ # YAML project definitions
│ ├── deploynator.yaml # Self-deployment config
│ ├── lazyown.yaml # LazyOwn deployment config
│ └── template.yaml # Template for new projects
├── SKILL.md # AI agent integration guide
├── CLAUDE.md # Contract documentation
└── README.md # This file
Project Configuration
Place YAML files in projects/ directory. Each file defines a deployable project:
# projects/my-app.yaml
version: 1.0
name: my-app
description: "My awesome application"
repo_url: "https://github.com/username/my-app"
path: "deploynator_repos/my-app" # Local clone path (relative to deployer root)
platforms:
github:
repo: "username/my-app"
enabled: true
gitlab:
repo: "group/my-app"
enabled: true
bitbucket:
repo: "workspace/my-app"
enabled: false
version:
file: version.json
file_type: json
Requirements
| Tool | Purpose | Required |
|---|---|---|
| git | Version control | Yes |
| gh | GitHub CLI | For GitHub releases |
| glab | GitLab CLI | For GitLab releases |
| bb | Bitbucket CLI | For Bitbucket releases |
| jq | JSON processing | Optional |
| pandoc | HTML generation | Optional |
| readmenator | Knowledge base | Optional (pip) |
| lazygit | Interactive TUI | Optional |
Changelog
See CHANGELOG.md for release history.
License
AGPL-3.0
Deployed with deploynator
Knowledge Base
This project has been analyzed by ReadMenator, a zero-token polyglot static analysis tool. Analysis outputs are available:
- KNOWLEDGE_BASE.md -- Full architecture reference with all classes, functions, imports, dependency graphs, UML class diagrams, security audit findings, community analysis, and more.
- readmenator-agent/ -- Agent-friendly, grep-optimized index.
INDEX.md-- Quick reference: what each file doesAPI.md-- Public function contractsGOTCHAS.md-- Change warningsSECURITY.md-- Findings by severity
- readmenator-wiki/ -- Navigable wiki (start here for the big picture).
index.md-- Entry point: overview, reading order, god nodes, connectionscommunity_*.md-- One synthesis page per code communityREPORT.md-- Honest audit: coverage, confidence, limits
AI agents: Read readmenator-wiki/index.md first for the big picture, then readmenator-agent/INDEX.md for grep-friendly lookup.
Developers: Read KNOWLEDGE_BASE.md for full architecture reference.
Metadata
Release files for deploynator 1.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| deploynator-1.3.3.tar.gz | 61.8 kB | Without provenance | Details for deploynator-1.3.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deploynator-1.3.3-py3-none-any.whl | Python 3 | none | any | Details for deploynator-1.3.3-py3-none-any.whl |
Total release size: 114.8 kB
Release files / deploynator-1.3.3.tar.gz
| Download URL | deploynator-1.3.3.tar.gz |
|---|---|
| Size | 61.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b2d9ac1b02aa95a24fabaa60a346c03b438f662bd72216d7f6147be7d4115e56
|
|
BLAKE2b-256 checksum How to use checksums |
3a03d0f113eae952bb5f2f8d7f68ebb7515ee54856b1a93f2b28ae678d1aced6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / deploynator-1.3.3-py3-none-any.whl
| Download URL | deploynator-1.3.3-py3-none-any.whl |
|---|---|
| Size | 53.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00b7519ca767e85ba0b678d88a1aa8f7126f7d1e3c5fb659c26948b31cc02108
|
|
BLAKE2b-256 checksum How to use checksums |
204445c104fe737616fb92c22429a3363dec2ac7216e19dd7af66ef8c53686af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Security for deploynator 1.3.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.