Skip to content

DhruvP2205/DevWizard

πŸš€ DevWizard - Enterprise DevOps Automation CLI + GUI

DevWizard Header Banner

Backend Go Frontend React Open Source License MIT Status

Generate β€’ Validate β€’ Simulate β€’ Export DevOps pipelines like a pro.

DevWizard is an intelligent DevOps automation engine βš™οΈ designed to automatically generate production-ready CI/CD pipelines πŸš€, containerization configurations πŸ“¦, and deployment workflows 🌐 for any software project with zero manual setup.

By simply providing a repository URL πŸ”— or local project path πŸ“, DevWizard analyzes the project structure 🧠, detects the programming language πŸ’», framework πŸ—οΈ, build tools πŸ”§, and deployment requirements 🚒, and generates fully validated configurations such as GitHub Actions workflows ⚑, Docker files 🐳, Docker Compose files πŸ“œ, and Kubernetes manifests ☸️.

It also performs validation βœ… and simulation πŸ§ͺ to ensure the generated pipelines are executable, reliable, and production-safe πŸ›‘οΈ.

DevWizard provides both a modern CLI interface ⌨️ and a powerful GUI interface πŸ–₯️, making it accessible to developers of all experience levels from beginners to enterprise teams- while maintaining enterprise-grade reliability 🏒, automation πŸ€–, and usability ✨.


❗ Problem Statement

Modern teams still spend too much time manually building CI/CD pipelines, debugging inconsistent workflow behavior, and rewriting boilerplate infrastructure files across projects.

Core problems DevWizard solves

  • πŸ•’ Time loss from repetitive setup: teams repeatedly create similar pipeline files from scratch.
  • 🧩 Inconsistent standards: each repository ends up with different quality and structure.
  • 🐞 Deployment risk: unvalidated workflows break during CI execution and slow releases.
  • πŸ‘₯ Skill gap barrier: non-DevOps-heavy teams struggle to bootstrap production-ready automation.

🌍 Why This Matters in Industry

Modern engineering teams lose significant time on repetitive pipeline setup, inconsistent CI rules, and manual deployment glue. DevWizard addresses that gap with deterministic generation and validation.

πŸ“ˆ Business + Engineering Impact

  • πŸš€ Faster onboarding: New projects get CI/CD foundations quickly.
  • 🧱 Standardization: Teams share a consistent pipeline baseline across repositories.
  • πŸ›‘οΈ Risk reduction: Validation/simulation reduce pipeline regressions before merge.
  • πŸ“Š Automation readiness: JSON output integrates with higher-level platform tooling.
  • πŸ’° Cost efficiency: Less manual DevOps setup means more developer time on product features.

πŸ“ Why command explanations are important

Each command in this README now includes purpose and impact notes so teams can:

  • understand exactly what the command does,
  • decide when to use it in delivery workflows,
  • and reduce trial-and-error during setup.

🌟 Why DevWizard?

  • ⚑ Fast setup for DevOps workflows (GitHub Actions, Docker, Compose, K8s-ready flow)
  • 🧠 Capability-driven generation using project fingerprinting and rule pipelines
  • βœ… Validation + simulation before final export
  • 🧾 Machine-friendly JSON mode for scripts and automation
  • πŸ§ͺ Developer diagnostics with raw payload visibility
  • πŸ–₯️ GUI + CLI parity for both technical and non-technical users

πŸ”₯ Key Differentiators

  • 🧭 Deterministic stage engine: predictable state transitions for trustworthy CI behavior.
  • 🧠 Capability-aware generation: templates adapt to language/framework/build-tool detection.
  • βœ… Validation + simulation built-in: catch issues before generated assets reach production.
  • 🧾 Automation-native JSON contract: easy integration with bots, portals, and internal platforms.
  • πŸ–₯️ Dual interface strategy: same power for CLI users and GUI-first teams.
  • πŸ›‘οΈ Enterprise readiness: security-aware, auditable, and standardization-friendly workflow output.

🎬 Demo

Quick Demo Paths

60-Second CLI Demo

./devwizard.exe generate --repo https://github.com/DhruvP2205/blast-radius --type github-actions --deploy-target vercel --verbose

What this demo proves:

  • ⚑ Fast project analysis,
  • 🧠 Capability-driven output,
  • βœ… Observable deterministic stages,
  • πŸ“¦ Export-ready CI artifact generation.

πŸ“š Table of Contents


✨ Feature Overview

Core Engine

  • πŸ” Repository/local source analysis
  • βš™οΈ Workflow generation from capability planning
  • βœ… Validation and dry-run simulation
  • πŸ“¦ Export and artifact write-out

Interfaces

  • ⌨️ CLI for scripted and terminal-driven usage
  • πŸ–₯️ GUI for guided configuration, run monitoring, and settings

UX Improvements Already Included

  • Ordered stage logging (queued β†’ analyzing β†’ generating β†’ validating β†’ executing β†’ exporting β†’ completed)
  • Deterministic YAML job ordering (test before deploy)
  • Styled notifications in GUI (SweetAlert2 toasts for actions like copy/download)

Enterprise-Oriented Design Choices

  • 🧭 Deterministic stage transitions to improve observability and reliability
  • 🧾 Structured serializer output for safer automation integration
  • πŸ“ Executable-relative frontend path support for portable desktop usage
  • πŸ›‘οΈ Scoped generation controls to avoid accidental writes in protected contexts

πŸ—οΈ Project Structure

DevWizard/
β”œβ”€ backend/
β”‚  β”œβ”€ cmd/cli/                 # CLI entrypoint
β”‚  β”œβ”€ internal/                # Core logic, API, engine, CLI modules
β”‚  └─ web/dist/                # Frontend production build served by backend runtime
β”œβ”€ frontend/                   # React + Vite app
β”œβ”€ scripts/
β”‚  └─ build-cli.mjs            # Node script to build CLI
β”œβ”€ docs/
β”‚  └─ images/                  # README screenshots and diagrams
β”œβ”€ devwizard.exe               # Local built binary (example)
└─ README.md

🧰 Prerequisites

  • Go (as declared in backend/go.mod, currently go 1.25.7)
  • Node.js + npm
  • Git

Recommended:

  • Windows PowerShell / macOS Terminal / Linux shell
  • VS Code for full project workflow

πŸ“₯ Installation (Windows, Linux, macOS)

This project is source-first. Installation means preparing dependencies and building the CLI binary for your platform.

πŸ“¦ Clone repository (all platforms)

git clone https://github.com/DhruvP2205/DevWizard.git
cd DevWizard

Why this is important:

  • Ensures you are building and running from the official project repository.

πŸͺŸ Windows setup

1) Install tools

winget install Git.Git
winget install OpenJS.NodeJS.LTS
winget install GoLang.Go

Why this is important:

  • Installs Git for repository operations, Node.js for frontend build, and Go for backend/CLI compilation.

2) Verify installed versions

git --version
node --version
npm --version
go version

Why this is important:

  • Confirms your environment is valid before running build commands.

3) Build frontend and CLI

npm install
Set-Location frontend
npm install
npm run build
Set-Location ..\backend
go build -o ..\devwizard.exe .\cmd\cli
Set-Location ..

Why this is important:

  • Produces a working frontend bundle and the Windows executable devwizard.exe.

🐧 Linux setup (Ubuntu/Debian example)

1) Install tools

sudo apt update
sudo apt install -y git curl build-essential
curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
sudo apt install -y nodejs golang-go

Why this is important:

  • Installs required compilers/runtimes and CLI tools needed by DevWizard.

2) Verify installed versions

git --version
node --version
npm --version
go version

Why this is important:

  • Prevents hidden environment mismatches before compilation.

3) Build frontend and CLI

npm install
cd frontend
npm install
npm run build
cd ../backend
go build -o ../devwizard-linux-amd64 ./cmd/cli
cd ..
chmod +x ./devwizard-linux-amd64

Why this is important:

  • Produces a Linux-ready binary and ensures execute permission is set.

🍎 macOS setup (Homebrew)

1) Install tools

brew update
brew install git node go

Why this is important:

  • Installs all required dependencies using a stable package manager flow.

2) Verify installed versions

git --version
node --version
npm --version
go version

Why this is important:

  • Ensures your local toolchain is healthy before builds.

3) Build frontend and CLI

npm install
cd frontend
npm install
npm run build
cd ../backend
go build -o ../devwizard-macos-arm64 ./cmd/cli
cd ..
chmod +x ./devwizard-macos-arm64

Why this is important:

  • Generates a native macOS binary for local execution.

⚑ Quick Start

1) Install dependencies

# Root-level script dependencies
npm install

# Frontend dependencies
cd frontend
npm install
cd ..

Command explanation:

  • npm install (root): installs workspace-level Node dependencies and helper scripts.
  • cd frontend: enters the GUI project.
  • npm install (frontend): installs React/Vite app dependencies.
  • cd ..: returns to repository root.

Why this is important:

  • Without dependency installation, builds and GUI runtime will fail.

2) Build frontend

cd frontend
npm run build
cd ..

Command explanation:

  • cd frontend: navigates to frontend package.
  • npm run build: generates production frontend bundle used by backend GUI mode.
  • cd ..: returns to root for next steps.

Why this is important:

  • GUI startup depends on compiled frontend assets.

3) Build CLI

Option A β€” script

npm run build:cli

Command explanation:

  • npm run build:cli: runs the repository’s build script to compile CLI artifacts.

Why this is important:

  • Gives teams a consistent one-command build path in CI and local dev.

Option B β€” manual

cd backend
go build -o devwizard.exe ./cmd/cli
cd ..

Command explanation:

  • cd backend: enters Go module.
  • go build -o devwizard.exe ./cmd/cli: compiles CLI executable.
  • cd ..: returns to root.

Why this is important:

  • Manual build mode is useful for debugging Go-specific issues quickly.

Build root binary directly

cd backend
go build -o ..\devwizard.exe ./cmd/cli
cd ..

Command explanation:

  • Builds binary directly in root for easier invocation (./devwizard.exe).

Why this is important:

  • Reduces path friction for teammates and automation scripts.

▢️ How to Run

CLI Mode

./devwizard.exe generate --repo https://github.com/DhruvP2205/blast-radius --type github-actions --deploy-target vercel --verbose

Command explanation:

  • Runs generate against a remote Git repository and emits GitHub Actions output.

Why this is important:

  • Demonstrates real-world bootstrap of CI for existing repositories.

GUI Mode

./devwizard.exe --gui

Command explanation:

  • Starts the local web-based GUI interface.

Why this is important:

  • Enables less CLI-heavy users to configure and run workflows visually.

GUI Mode with explicit frontend path

./devwizard.exe --gui --frontend ./frontend

Command explanation:

  • Forces GUI to use a specific frontend path.

Why this is important:

  • Helps when running from custom directories or debug environments.

πŸ› οΈ Command Reference

generate

Generate DevOps assets from a source.

devwizard generate --repo <git-url> --type github-actions
devwizard generate --path <local-project-path> --type dockerfile

Command explanation:

  • First command: generate CI workflow from a Git repository URL.
  • Second command: generate Dockerfile from a local project path.

Why this is important:

  • Covers both common enterprise entry points: monorepo/local apps and hosted repositories.

Common flags:

  • --repo, --branch, --path
  • --type (github-actions, gitlab-ci, dockerfile, docker-compose, kubernetes, terraform)
  • --deploy-target (none, vercel, netlify, kubernetes, container, vm)
  • --runtime, --language, --build-tool, --framework
  • --no-validate, --simulate, --output, --verbose, --json

history

devwizard history --last 10
devwizard history --failed

Command explanation:

  • --last 10: shows most recent runs for quick monitoring.
  • --failed: filters failed jobs for faster incident triage.

Why this is important:

  • Improves operational visibility and debugging speed.

validate

devwizard validate --path ./frontend

Command explanation:

  • Checks generated artifacts and project assumptions without full execution.

Why this is important:

  • Prevents broken pipeline definitions from reaching CI systems.

simulate

devwizard simulate --path ./frontend

Command explanation:

  • Performs a dry-run simulation to preview behavior and stage progression.

Why this is important:

  • Reduces deployment risk by catching logic issues earlier.

🏒 Industry Use Cases

πŸš€ 1) Startup teams shipping quickly

  • Bootstrap CI/CD in minutes instead of hand-writing workflows.
  • Reduce early-stage DevOps bottlenecks when engineering bandwidth is limited.

🏒 2) Enterprises standardizing delivery

  • Enforce predictable pipeline patterns across many repositories.
  • Use structured output and stage logs for governance and internal tooling.

πŸ› οΈ 3) Platform engineering teams

  • Integrate DevWizard JSON mode into internal portals and self-service CI tooling.
  • Provide a guided GUI path for teams less comfortable with deep CLI usage.

πŸ§ͺ Real Examples

Generate GitHub Actions with Vercel deploy flow

devwizard generate \
  --repo https://github.com/DhruvP2205/blast-radius \
  --type github-actions \
  --deploy-target vercel \
  --runtime 20.x

Command explanation:

  • Generates GitHub Actions workflow with Vercel deploy-ready setup and runtime pinning.

Why this is important:

  • Standardizes app delivery with deployment targets and consistent runtime definitions.

Generate from local project with custom output

devwizard generate \
  --path ./frontend \
  --type github-actions \
  --output ./generated

Command explanation:

  • Generates files from local source and writes artifacts to ./generated.

Why this is important:

  • Keeps generated output isolated for review and versioning.

Run with verbose stage diagnostics

devwizard generate --path ./frontend --type github-actions --verbose

Command explanation:

  • Enables detailed logs for stage-level debugging.

Why this is important:

  • Speeds up root-cause analysis in CI template issues.

🧾 JSON Output Contract

Use --json for machine-readable responses:

devwizard generate --path ./frontend --type github-actions --json

Command explanation:

  • Returns structured JSON output for machine consumption.

Why this is important:

  • Enables integration with internal developer portals, bots, and automation pipelines.

Envelope:

{
  "success": true,
  "data": {
    "jobId": "job_...",
    "actionFile": { "name": "...", "content": "..." }
  }
}

Integration impact:

  • This output pattern is easy to parse in CI wrappers, bots, orchestration services, and dashboards.

πŸ“€ Generated Output Artifacts

Depending on command flags and project detection, DevWizard can generate:

  • GitHub Actions workflow definitions
  • GitLab CI definitions
  • Dockerfile and Docker Compose templates
  • Kubernetes manifest starters
  • Terraform starter templates

Why this is important:

  • Teams can standardize delivery assets while still customizing for project needs.

🧠 Pipeline Stages

DevWizard uses deterministic execution stages:

  1. queued
  2. analyzing
  3. generating
  4. validating
  5. executing
  6. exporting
  7. completed

πŸ–ΌοΈ Screenshots & UI Gallery

πŸ–₯️ GUI Experience

1) Dashboard Overview
Quick project snapshot with key navigation points for first-time users.

Dashboard Overview

2) Pipeline Generator
Guided workflow setup for generating CI/CD templates in a few steps.

Pipeline Generator

3) Execution Monitor
Live execution visibility with stage progress from queued to completed.

Execution Monitor

4) Settings Panel
Centralized configuration for environment preferences and defaults.

Settings Panel

5) Developer Mode
Advanced diagnostics and deeper runtime insights for technical users.

Developer Mode


⌨️ CLI Experience

6) CLI Help Command
Command discovery view for available options, flags, and usage format.

CLI Help Command

7) CLI History Command
Execution history output for tracking recent and failed runs.

CLI History Command

8) CLI Generate Command
Primary command output showing analysis and artifact generation flow.

CLI Generate Command


🎨 Visual Graphics

🧭 Workflow Lifecycle Graphic

DevWizard Workflow Graphic

🧠 Capability Detection Graphic

DevWizard Capability Graphic

Why this is useful:

  • πŸ‘€ Makes the README more engaging for first-time visitors.
  • πŸ“Š Communicates architecture and flow faster than text-only sections.
  • 🀝 Helps contributors understand generation logic before reading code.

πŸ›οΈ Architecture

flowchart LR
  U[User] --> CLI[DevWizard CLI]
  U --> GUI[DevWizard GUI]
  GUI --> API[Backend API]
  CLI --> CORE[Core Engine]
  API --> CORE
  CORE --> DETECT[Project Detection]
  CORE --> GEN[Template Generation]
  CORE --> VAL[Validation]
  CORE --> SIM[Simulation]
  CORE --> EXP[Export]
Loading

πŸ” Security Model

DevWizard is designed for safe-by-default generation and enterprise trust.

Security principles

  • πŸ”’ Local-first analysis: project inspection happens locally where possible.
  • 🧾 Deterministic outputs: same inputs produce predictable pipeline artifacts.
  • πŸ›‘οΈ Controlled write behavior: generation respects scoped output boundaries.
  • πŸ‘οΈ Auditability: stage progression and outputs are observable and reviewable.
  • 🚫 No hidden execution model: simulation and validation clarify behavior before adoption.

Operational trust signals


πŸ“¦ Build Targets

Typical output names:

  • πŸͺŸ devwizard-windows-amd64.exe
  • 🐧 devwizard-linux-amd64
  • 🍎 devwizard-macos-amd64
  • 🍏 devwizard-macos-arm64

Example cross-build command style:

go build -o devwizard-windows-amd64.exe ./backend/cmd/cli

Command explanation:

  • Compiles a Windows-target binary from the CLI entrypoint.

Why this is important:

  • Helps release engineering produce distributable binaries for multiple teams.

πŸ› οΈ Troubleshooting

GUI not starting

  • 🧩 Ensure Node/npm are installed and available in PATH.
  • πŸ“ Ensure frontend path is resolvable:
devwizard --gui --frontend ./frontend

Command explanation:

  • Starts GUI with explicit path override to frontend assets.

Why this is important:

  • Resolves path discovery issues in non-standard run locations.

Local path not found

  • πŸ“Œ Use correct absolute/relative path.
  • πŸ“‚ Ensure target is a directory.

Build or dependency issues

cd frontend && npm install
cd ../backend && go mod tidy

Command explanation:

  • Reinstalls frontend packages and syncs Go module dependencies.

Why this is important:

  • Fixes common dependency drift problems across development environments.

πŸ‘¨β€πŸ’» Developer Section

Developer: Dhruv Prajapati
GitHub: https://github.com/DhruvP2205
Project: DevWizard

Maintainer Focus

  • 🧭 Enterprise-grade deterministic behavior
  • πŸ–₯️ Reliable CLI + GUI experience
  • βœ… Production-ready output format and validation pipeline

🀝 Contribution Section

Contributions are welcome and appreciated! πŸŽ‰

How to contribute

  1. Fork the repository
  2. Create a feature branch
  3. Make focused changes
  4. Run checks/build locally
  5. Submit a pull request with screenshots/logs where relevant

Recommended checklist before PR

  • Frontend builds (npm run build)
  • Backend builds (go build)
  • Updated docs (if behavior changes)
  • No unrelated formatting churn

Suggested PR title format

feat(ui): improve sidebar collapse behavior


πŸ—ΊοΈ Roadmap

Near-term

  • βœ… Stabilize end-to-end generate/validate/simulate/export journey
  • πŸ”„ Expand demo assets (GIF/video + richer screenshots)
  • πŸ§ͺ Add focused test cases for edge detection and template correctness

Mid-term

  • 🧩 Plugin-style template packs for additional deployment targets
  • πŸ“Š Enhanced run analytics and execution observability in GUI
  • πŸ” Expanded security hardening and policy checks for generated pipelines

Long-term

  • 🏒 Team workspaces and policy profiles for enterprise organizations
  • πŸ€– AI-assisted remediation suggestions for invalid CI/CD configurations
  • 🌍 Broader cloud/deployment ecosystem integrations

🌐 Open Source Docs

For full open-source governance and collaboration standards, see:

🧩 These files define legal usage, contribution quality, community behavior, and security disclosure workflows.


❓ FAQ

Is DevWizard only for GitHub Actions?

No. It also supports multiple output types like Dockerfile, Docker Compose, Kubernetes, Terraform, and GitLab CI.

Can I use DevWizard in CI scripts?

Yes. Use JSON mode for machine-readable responses and deterministic stage progression for easier parsing.

Can non-CLI users use this tool?

Yes. GUI mode provides a guided experience for configuration and execution.


πŸŽ₯ YouTube & πŸ”— LinkedIn


❀️ Support the Project

If this project helps you:

  • ⭐ Star it
  • 🍴 Fork it and build with it
  • πŸ§ͺ Test it with your repositories
  • πŸ“ Improve docs/screenshots
  • πŸ“£ Share with your developer network

About

DevWizard is an intelligent DevOps automation engine βš™οΈ designed to automatically generate production-ready CI/CD pipelines πŸš€, containerization configurations πŸ“¦, and deployment workflows 🌐 for any software project with zero manual setup.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors