A zero-dependency CI tool replacing multiple CI services.
Project description
ciforge
ciforge is a zero-dependency CLI and GitHub Action that replaces 20 CI services with one robust tool. Run your complete CI pipeline 100% locally or natively within your actions, faster and with zero external dependencies.
Features
- Code Quality: Intelligent linting and AST-based complexity analysis (cyclomatic complexity, long functions).
- Test Coverage Analysis: Deep inspection of test coverage gaps.
- Secret Detection: Catch hardcoded credentials before they reach your repository.
- Config Validation: Native parsing and validation for JSON, YAML, ENV, TOML, and XML files.
- PR Metrics & Velocity Tracking: Analyze pull request size, churn, and time span metrics.
- Multi-Model AI Review: Integrates with OpenAI, Anthropic, or Ollama to find logic flaws and missing edge cases.
- Localization Sync: Finds missing translation keys by comparing localization files against a base en.json.
- Git Hooks Installer: Easily install pre-commit hooks to run ciforge before committing.
- Auto-Generated Badges: Generate dynamic SVG badges reflecting repository health.
- HTML Reports: Export beautiful standalone HTML reports.
- Contributor Welcome Module: Automatically greet first-time contributors.
- Auto-Fixer (
--fix): Automatically resolves low-hanging issues like debug statements and bad formatting. - Custom Ignore Rules: Whitelist files and dummy secrets via
.ciforge-ignore. - Auto-Changelog Generator: Generate
CHANGELOG.mdfrom git log using conventional commits. - Dead Code Detector: Find unreferenced functions and classes.
- Deployment Health Check: Verify production deployments after CI runs.
- Config Drift Detection: Detect out-of-sync environment files (e.g.
.env.productionvs.env.staging). - Architecture Diagram Generator: Auto-generate Mermaid dependency diagrams.
- Auto PR Descriptions: Generate rich markdown PR descriptions from git diffs.
- Mobile Config Linter: Catch errors in
pubspec.yaml,build.gradle, andPodfile.
Installation
pip install ciforge-cli
Usage
Run locally and print to terminal:
ciforge --repo . --base-ref origin/main --format markdown --fail-on high
Generate a beautiful HTML dashboard:
ciforge --repo . --format html --badge
Run the auto-fixer:
ciforge --repo . --fix
Generate a CHANGELOG.md:
ciforge --repo . --changelog
Check for config drift:
ciforge --repo . --drift
Run deployment health check:
ciforge --repo . --deploy-check https://your-production-url.com
Generate architecture diagram:
ciforge --repo . --arch-diagram
Auto-generate PR description:
ciforge --repo . --pr-describe
Install local pre-commit hook (blocks bad commits):
ciforge --install-hook
GitHub Action Usage
Use ciforge directly in your workflows to comment on PRs and enforce standards:
steps:
- uses: actions/checkout@v4
- name: Run CI Forge
uses: Tahiram32/ciforge@v2.0.0
with:
repo: '.'
base-ref: 'origin/main'
format: 'markdown'
fail-on: 'high'
post-comment: 'true'
badge: 'true'
openai-key: ${{ secrets.OPENAI_API_KEY }} # Optional: enables AI Reviewer
❤️ Sponsorship & Commercial Licenses
ciforge is licensed under the strict GNU AGPLv3 license. It is 100% free and open source for individual developers and open-source projects.
Commercial Dual License
If your company wants to use ciforge in a proprietary or closed-source commercial product without being bound by the AGPLv3 restrictions (the "cloud loophole"), you must purchase a Commercial License by sponsoring the project.
Every commercial sponsor helps fund:
- 🚀 New features and integrations
- 🐛 Bug fixes and maintenance
- 📖 Documentation and examples
- 🔒 Security research and improvements
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ciforge_cli-2.0.3.tar.gz.
File metadata
- Download URL: ciforge_cli-2.0.3.tar.gz
- Upload date:
- Size: 32.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0d2e09d666f862329abe6c4cf6420d334df970e0f66632fe7828d187189553c
|
|
| MD5 |
8619a2bedaf3468fb21b7d4dd51db726
|
|
| BLAKE2b-256 |
24f05656f38a5cba525c7802bb86bc509e50b78f48ead17d03762ba25f94b55e
|
Provenance
The following attestation bundles were made for ciforge_cli-2.0.3.tar.gz:
Publisher:
publish.yml on Tahiram32/ciforge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ciforge_cli-2.0.3.tar.gz -
Subject digest:
b0d2e09d666f862329abe6c4cf6420d334df970e0f66632fe7828d187189553c - Sigstore transparency entry: 2124243920
- Sigstore integration time:
-
Permalink:
Tahiram32/ciforge@ba6145de80c7ab36d96552c5b34f1fbfdedd2f86 -
Branch / Tag:
refs/tags/v2.0.3 - Owner: https://github.com/Tahiram32
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ba6145de80c7ab36d96552c5b34f1fbfdedd2f86 -
Trigger Event:
release
-
Statement type:
File details
Details for the file ciforge_cli-2.0.3-py3-none-any.whl.
File metadata
- Download URL: ciforge_cli-2.0.3-py3-none-any.whl
- Upload date:
- Size: 33.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8190c4a2c24a26c7a833666775c3430a0183dcf71a5540360c0d84399f5632c3
|
|
| MD5 |
c7dd493586953109d0af15b6456efd07
|
|
| BLAKE2b-256 |
1e75903a680faae702b8b176ee2cccd01b0dc229ddcf6350de7c8f9c1fae2b95
|
Provenance
The following attestation bundles were made for ciforge_cli-2.0.3-py3-none-any.whl:
Publisher:
publish.yml on Tahiram32/ciforge
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ciforge_cli-2.0.3-py3-none-any.whl -
Subject digest:
8190c4a2c24a26c7a833666775c3430a0183dcf71a5540360c0d84399f5632c3 - Sigstore transparency entry: 2124243945
- Sigstore integration time:
-
Permalink:
Tahiram32/ciforge@ba6145de80c7ab36d96552c5b34f1fbfdedd2f86 -
Branch / Tag:
refs/tags/v2.0.3 - Owner: https://github.com/Tahiram32
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@ba6145de80c7ab36d96552c5b34f1fbfdedd2f86 -
Trigger Event:
release
-
Statement type: