Skip to content

mbumpus/webp-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebP Converter

Convert images to WebP format in your browser. Privacy-first, client-side only, no uploads.

Built in 8 minutes using Crewly Codes • Governed AI development • Full audit trail


🚀 Try It Live

👉 builtwith.crewly.codes/webp


📊 Build Stats

Metric Value
Build Time 8 minutes
Lines of Code ~1,200
Cost $0.56
Iterations 0 (perfect first try)
Bugs in Production 0
Final Confidence 95% 🟢

🏗️ How It Was Built

This utility was developed using Crewly Codes, an AI Product Manager that orchestrates multi-persona crews with full governance and transparency.

The Process

1. Morgan (AI Product Manager) - Generated spec (2 min)

  • Created user stories with acceptance criteria
  • Defined success metrics
  • Identified technical constraints (privacy-first, client-side only)

2. Dev Crew - Built the application (6 min)

  • AIAgentDeveloper created HTML/CSS/JavaScript
  • Used Canvas API for client-side conversion
  • Implemented drag-and-drop, quality controls, real-time preview
  • Privacy-first architecture (no server needed)

3. QA Engineer - Validated quality (< 1 min)

  • Tested against all acceptance criteria
  • No issues found (perfect first try)
  • Approved for Product Manager review

4. Product Manager - Approved for release (< 1 min)

  • Reviewed QA validation
  • Confirmed all acceptance criteria met
  • Approved with 95% confidence

Total: 8 minutes, $0.56, zero production bugs

Read the full build story →


✨ Features

  • 🖼️ Multiple Format Support - PNG, JPEG, GIF, BMP, SVG
  • ⚙️ Adjustable Quality - Fine-tune compression (0-100%)
  • 👀 Live Preview - See before/after comparison
  • 📊 Stats Display - Original size, converted size, reduction %
  • 💾 Instant Download - One-click save
  • 📱 Fully Responsive - Works on desktop, tablet, mobile
  • Fast Processing - Client-side conversion (no uploads)

🔒 Privacy

  • 100% client-side - Images never leave your browser
  • No tracking - No analytics, cookies, or data collection
  • No uploads - All processing happens locally
  • Open source - Verify the code yourself
  • Offline capable - Works without internet after initial load

🛠️ Tech Stack

  • Vanilla JavaScript - No frameworks, pure JS
  • HTML5 Canvas API - For image processing
  • CSS3 - Modern styling with gradients and animations
  • No dependencies - Everything built from scratch

🚀 Quick Start

Run Locally

# Clone the repository
git clone https://github.com/yourusername/webp-converter.git
cd webp-converter

# Serve with any static server
python3 -m http.server 8000
# OR
npx serve

# Open browser
open http://localhost:8000

Deploy to Cloudflare Pages

  1. Push to GitHub
  2. Connect repo to Cloudflare Pages
  3. Deploy (no build step needed)
  4. Done!

📂 Project Structure

webp-converter/
├── index.html          # Main HTML file
├── src/
│   ├── converter.js    # Core conversion logic
│   ├── ui.js          # UI interactions & modal
│   └── utils.js       # Helper functions
├── styles/
│   └── main.css       # All styles (including Crewly modal)
└── README.md

🤖 Built With Governed AI

This utility demonstrates the Cabinet Method - a framework for governed AI development:

The Governance Framework

  • Multi-persona orchestration - Different AI roles (PM, Dev, QA) with specific responsibilities
  • Structured handoffs - Clear context transfer between personas
  • Blocking authority - QA can reject builds with evidence requirements
  • Complete audit trails - Every decision logged with reasoning and confidence
  • Human oversight gates - Critical decisions require human validation

Why This Matters

Traditional AI coding tools run autonomously and hope for the best. Crewly Codes puts humans at every critical decision point:

  1. Morgan generates specs → YOU approve them
  2. AI crew builds code → YOU watch and validate
  3. QA evaluates quality → YOU provide evidence
  4. PM decides to ship → YOU make the final call

Full transparency. Complete control. Real governance.


📝 License

MIT License - feel free to use, modify, and distribute


🔗 Links


🙋 Questions?

Want to learn more about governed AI development or build your own utilities?


Built with AI Product ManagementPowered by DigitalEgo frameworks

About

Privacy-first WebP converter built in 8 minutes with Crewly Codes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors