forge-scaffold
A CLI to scaffold new projects and set up enterprise-grade CI/CD pipelines with a single command.
Install
pip install forge-scaffold
Commands
forge init-ci
Set up a CI/CD pipeline on an existing project.
cd my-project
forge init-ci
Detects your project type automatically (Python, FastAPI, Node, React, Go) and guides you through:
- CI jobs — lint, tests with coverage threshold, security scan, SonarCloud
- CD jobs — Docker build, push to Docker Hub, Trivy CVE scan, SBOM generation
- Deploy — SSH deploy to any server, with optional Caddy reverse proxy + automatic HTTPS
- DNS — manual instructions or automatic Cloudflare A record creation
- Secrets — pushes all credentials to GitHub automatically
forge init
Scaffold a new project from scratch with company standards.
forge init
Creates the project structure, Dockerfile, .gitignore, README, and sets up the GitHub repository with branch protection.
Supported project types
| Type | Lint | Test | Security |
|---|---|---|---|
| Python | ruff / flake8 | pytest + coverage | pip-audit |
| FastAPI | ruff / flake8 | pytest + httpx | pip-audit |
| Node | ESLint | jest / vitest | npm audit |
| React | ESLint | vitest / jest | npm audit |
| Go | golangci-lint | go test | govulncheck |
CI/CD pipeline example
ci.yml lint → test → security → docker-build (optional)
cd.yml build → push → trivy scan → SBOM → deploy via SSH
Every Docker image is tagged with :latest, :sha-xxxxxxx, and :vX.Y.Z on semver tags.
Requirements
- Python 3.9+
- GitHub account (optional, for repo creation and secrets)
- Docker Hub account (optional, for image push)
Metadata
Release files for forge-scaffold 0.1.1
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 |
|---|---|---|---|---|
| forge_scaffold-0.1.1.tar.gz | 21.8 kB | Without provenance | Details for forge_scaffold-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| forge_scaffold-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for forge_scaffold-0.1.1-py3-none-any.whl |
Total release size: 68.4 kB
Release files / forge_scaffold-0.1.1.tar.gz
| Download URL | forge_scaffold-0.1.1.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a231b33ba63e62b59f950dac2135ccb8068e5d0075171ff1f1eb4381db89cdb7
|
|
BLAKE2b-256 checksum How to use checksums |
d4e42d10457518ba7242f213f2b700ede0c7160d6f36ccdddc4d7b92fb6ac57f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Release files / forge_scaffold-0.1.1-py3-none-any.whl
| Download URL | forge_scaffold-0.1.1-py3-none-any.whl |
|---|---|
| Size | 46.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6284b8fc5f0b8eefe799cc064f00554028eb4b9da99877892be877065ed5cf2c
|
|
BLAKE2b-256 checksum How to use checksums |
ffa4baca835c42fcc80abb6f4a6db1713c647456e0699c1a21caec43685e1df2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.6
|
Security for forge-scaffold 0.1.1
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.