Cwv Speed Engine
БесплатноНе проверенCWV Speed Studio - Core Web Vitals Auditing, Automated Speed Optimizer, PWA Generator, MCP Server & Web Studio UI (design influenced by Material 3)
Описание
CWV Speed Studio - Core Web Vitals Auditing, Automated Speed Optimizer, PWA Generator, MCP Server & Web Studio UI (design influenced by Material 3)
README
Live Demo CI Matrix UI MCP Ready
CWV Speed Studio (cwv-speed-engine) is an enterprise-grade Core Web Vitals auditing, automated speed transformation, PWA generation, and AI Agent MCP hub designed to help modern web applications achieve and maintain a perfect 100/100 Core Web Vitals score (LCP < 1.2s, CLS 0, INP < 50ms). Runs 100% in-browser on client silicon with zero backend dependencies.
- 🌐 Live Web App: https://cwv-speed-studio.netlify.app/
- ⚡ Attribution: Engineered by 1nc0gn30 • NullAI Platform.
🌟 Key Capabilities
- 🎨 CWV Speed Studio Web UI: Full-featured, offline-ready web UI (design influenced by Material 3) with animated Speed Gauge Dial, metric cards, and 8 interactive studios.
- ⚡ Deterministic Core Web Vitals Auditor: In-depth standards-based analysis for LCP, CLS, INP, FCP, and TTFB with actionable remediation advice.
- 🛠️ Automated HTML Speed Transformer: Automated AST rewrites that inject explicit image dimensions, native lazy loading, font preconnects, script deferrals, and hero preload priority tags.
- 📱 PWA & Service Worker Studio: Interactive builder for W3C web manifests and tiered Service Worker caching strategies (
stale-while-revalidate,cache-first,network-first). - 🖼️ OpenGraph & Social Previewer: Live mockups for Google Search SERP, Twitter Cards, and LinkedIn snippets with 1-click meta tag copying.
- ⚖️ Performance Diff Comparator: Measure before vs after speed gains, metric deltas, and resolved audit findings.
- 🚀 Cache-Control & Headers Exporter: Instant production configs for Netlify, Vercel, Nginx, Cloudflare, Apache, and Next.js.
- 📊 Performance Budget & Network Latency Simulator: Enforce strict asset weight ceilings (Scripts, Styles, Fonts, Images), simulate real-world mobile 3G/4G/5G latency, calculate INP main-thread execution risks, and export standard Lighthouse
budget.jsonfor CI pipelines. - 🤖 AI Agent & MCP Hub: Zero-dependency Model Context Protocol (MCP) server supporting Claude Desktop, Cursor, Cline, and Zed.
- 🚦 CI/CD Quality Gate: Reusable GitHub Actions workflow to block PRs regressing speed scores.
- 📦 Zero Mandatory Dependencies: Core engine and web server run purely on the Python standard library.
🚀 Quick Start
Installation
# Clone the repository
git clone https://github.com/NullAITech/cwv-speed-engine.git
cd cwv-speed-engine
# Install in editable mode
pip install -e .
Launch CWV Speed Studio Web UI
python -m cwv_speed_engine.ui_server --port 8448 --open
Open your browser to http://localhost:8448 to access the interactive studio.
💻 CLI Commands Cheatsheet
# 1. Audit a live URL
cwv-speed audit https://example.com --device mobile
# 2. Audit raw HTML markup
cwv-speed audit --html "<!DOCTYPE html>..."
# 3. Automatically transform HTML for maximum speed
cwv-speed optimize unoptimized.html -o index.html
# 4. Generate Progressive Web App Suite
cwv-speed pwa --name "My Speed App" --strategy stale-while-revalidate
# 5. Export Production Cache Headers
cwv-speed cache --platform netlify -o _headers
# 6. Audit Performance Budget & Multi-Network Latency
cwv-speed budget index.html --script-budget 150 --total-budget 500
# 7. Export Standard Lighthouse budget.json
cwv-speed budget index.html --lighthouse > budget.json
# 8. Run CI Gate on Pull Requests
cwv-speed ci-gate https://staging.example.com --min-score 90 --max-cls 0.05
🤖 AI Agent MCP Integration (Claude & Cursor)
cwv-speed-engine runs natively as an MCP server over stdio.
Claude Desktop Setup
Add to claude_desktop_config.json:
{
"mcpServers": {
"cwv-speed-engine": {
"command": "python3",
"args": ["-m", "cwv_speed_engine.mcp_server"],
"env": {
"PYTHONPATH": "src"
}
}
}
}
Cursor IDE Setup
Add to .cursor/mcp.json:
{
"mcp": {
"servers": {
"cwv-speed-engine": {
"command": "python3",
"args": ["-m", "cwv_speed_engine.mcp_server"],
"env": {
"PYTHONPATH": "src"
}
}
}
}
}
📂 Production Reference Examples
Explore production architecture blueprints in examples/:
- examples/nextjs-optimized/: Next.js 14/15 App Router image optimization, font self-hosting, Early Hints edge middleware.
- examples/astro-speed/: Astro zero-JS Island architecture,
<SpeedHead />component, sharp image processing. - examples/pwa-manifest/: W3C PWA manifest, tiered
sw.jscaching, Material 3 offline page. - examples/nginx-caching/: Nginx configuration for sub-50ms TTFB and 1-year immutable caching.
- examples/mcp-clients/: Ready-to-copy client configs for Claude, Cursor, Cline, and Zed.
📚 Documentation
- Core Web Vitals Metric Guide (2024-2026 Standards)
- Model Context Protocol (MCP) Guide
- High-Performance Caching & HTTP Headers Guide
🧪 Running Tests
PYTHONPATH=src pytest tests/ -v
📄 License
Apache License 2.0. See LICENSE for details.
Engineered with precision by 1nc0gn30 • NullAI Platform (nullai.tech)
Установить Cwv Speed Engine в Claude Desktop, Claude Code, Cursor
unyly install cwv-speed-engineСтавит в Claude Desktop, Claude Code, Cursor и VS Code — сам разбирается с npx, uvx и сборкой из исходников.
Впервые? Поставь CLI: curl -fsSL https://unyly.org/install | sh
Или настроить вручную
Выполни в терминале:
claude mcp add cwv-speed-engine -- uvx --from git+https://github.com/1nc0gn30/cwv-speed-engine cwv-speed-engineПошаговые гайды: как установить Cwv Speed Engine
FAQ
Cwv Speed Engine MCP бесплатный?
Да, Cwv Speed Engine MCP бесплатный — установка в пару кликов через Unyly без оплаты.
Нужен ли API-ключ для Cwv Speed Engine?
Нет, Cwv Speed Engine работает без API-ключей и переменных окружения.
Cwv Speed Engine — hosted или self-hosted?
Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.
Как установить Cwv Speed Engine в Claude Desktop, Claude Code или Cursor?
Открой Cwv Speed Engine на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.
Похожие MCP
LibreOffice Tools
Enables AI agents to read, write, and edit Office documents via LibreOffice with token-efficient design. Supports multiple formats including DOCX, XLSX, PPTX, a
автор: passerbyflutterFigma
Extract design specs and assets
автор: Figmadannote/figma-use
Figma control: create shapes, text and components, and set styles, auto-layout, variables and exports.
автор: dannoteLogo.dev
Search and retrieve company logos by brand or domain. Customize size, format, and theme to match your design needs. Accelerate design, prototyping, and content
автор: NOVA-3951Design Inspiration Server
Searches top design platforms like Dribbble and Behance to provide UI inspiration, color palettes, and layout patterns via the Serper API. It allows users to re
автор: YonasValentinPIX4Dmatic
Enables GUI automation for controlling PIX4Dmatic on Windows through MCP. Supports launching, focusing, capturing screenshots, sending hotkeys, clicking UI elem
автор: jangjo123mcp-dockmaster
An Open-Sourced UI to install and manage MCP servers for Windows, Linux and macOS.
ariekogan/ateam-mcp
Build, validate and deploy multi-agent AI solutions on the ADAS platform: design skills with tools and manage the solution lifecycle.
автор: ariekoganthinkchainai/mcpbundles
Create custom tool bundles, connect providers with OAuth or API keys, and use one MCP server across many integrations, with a UI for bundles and credentials.
автор: thinkchainaijau123/MeiGen-AI-Design-MCP
Image generation and editing with a curated prompt library, prompt enhancement and routing across local ComfyUI, MeiGen Cloud and OpenAI-compatible APIs.
автор: jau123Compare Cwv Speed Engine with
Не уверен что выбрать?
Найди свой стек за 60 секунд
Автор?
Embed-бейдж для README
Похожее
Все в категории design
