forj-cli
v1.0.4
Published
Forj CLI — Infrastructure provisioning command-line tool
Downloads
1,005
Maintainers
Readme
forj-cli
One command. Production-ready infrastructure.
npx forj-cli init my-startup provisions domain, GitHub repos, Cloudflare DNS, and wires all email records (MX, SPF, DKIM, DMARC) in under 2 minutes.
Install
# Run directly
npx forj-cli init my-startup
# Or install globally
npm install -g forj-cli
forj init my-startupFeatures
- Interactive mode with guided prompts
- Non-interactive mode for AI agents (
--non-interactive,--json) - Domain registration via Namecheap
- GitHub org verification + repo creation
- Cloudflare DNS zone management
- Automatic DNS wiring (MX, SPF, DKIM, DMARC, CNAME)
- Real-time SSE streaming during provisioning
- API key auth for programmatic access
Commands
forj init [project] Initialize project infrastructure
forj status Show project infrastructure status
forj add <service> Add a service to your project
forj dns Manage DNS records
forj login Authenticate with Forj
forj logout Sign out and clear credentialsAgent / CI Usage
npx forj-cli init my-startup \
--non-interactive \
--domain my-startup.com \
--services domain,github,cloudflare,dns \
--github-org my-startup \
--jsonLinks
- Website: forj.sh
- GitHub: forj-sh/forj
- API docs: MCP Integration Guide
License
MIT
