Cepha.CLI 1.0.48

dotnet tool install --global Cepha.CLI --version 1.0.48
                    
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
                    
if you are setting up this repo
dotnet tool install --local Cepha.CLI --version 1.0.48
                    
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=Cepha.CLI&version=1.0.48
                    
nuke :add-package Cepha.CLI --version 1.0.48
                    

🧬 Cepha CLI

The command-line toolkit for building, testing, and deploying ASP.NET MVC applications that run entirely in WebAssembly.

NuGet Downloads .NET 10 MIT License


What is Cepha?

Cepha is a pioneering SDK (NetWasmMvc.SDK) that runs the full ASP.NET MVC pipeline β€” controllers, Razor views, routing, model binding, and Identity β€” entirely inside the browser via WebAssembly.

Layer Technology
Runtime .NET 10 WASM running in a dedicated Web Worker
Rendering Razor .cshtml views compiled and executed client-side
Main Thread Zero .NET code β€” only a thin display surface (main.js)
Persistence SQLite via OPFS (Origin Private File System)
Networking SignalR hubs, CephaKit edge workers

Cepha CLI (cepha) is the official command-line tool that scaffolds, develops, benchmarks, and deploys Cepha applications.


Installation

dotnet tool install --global Cepha.CLI

Requires .NET 10 SDK or later.

After installation, verify:

cepha --version

Quick Start

# Create a new project
cepha new my-app

# Start the development server
cd my-app
cepha dev

# Open https://localhost:5001 in your browser

The entire application β€” controllers, views, routing β€” runs in a Web Worker. The main thread only renders HTML.


Commands

cepha new <name> β€” Scaffold a new project

Creates a production-ready Cepha MVC application with the full project structure.

cepha new my-app              # Standard MVC app
cepha new my-app --identity   # With ASP.NET Identity (login, registration, roles)
cepha new my-app --benchmark  # With performance benchmark suite

Generated structure:

my-app/
β”œβ”€β”€ Controllers/
β”‚   └── HomeController.cs
β”œβ”€β”€ Views/
β”‚   β”œβ”€β”€ Home/
β”‚   β”‚   β”œβ”€β”€ Index.cshtml
β”‚   β”‚   └── Privacy.cshtml
β”‚   └── Shared/
β”‚       └── _Layout.cshtml
β”œβ”€β”€ wwwroot/
β”‚   β”œβ”€β”€ css/cepha.css          # Material-inspired design system
β”‚   β”œβ”€β”€ main.js                # Display surface (main thread)
β”‚   β”œβ”€β”€ cepha-runtime-worker.js
β”‚   └── service-worker.js
β”œβ”€β”€ Program.cs
└── my-app.csproj

cepha dev β€” Start the development server

Builds and launches the WASM application host with live output.

cepha dev

cepha kit β€” Start the CephaKit backend server

Launches a backend runtime server for hybrid scenarios (client WASM + server API).

cepha kit                # Node.js mode (default, port 3001)
cepha kit --port 4000    # Custom port
cepha kit --wrangler     # Cloudflare Wrangler mode

CephaKit provides:

  • HTTPS development certificates (auto-exported)
  • Backend API endpoints alongside the WASM frontend
  • Hot-reload compatible architecture

cepha publish β€” Build and deploy for production

Publishes the application with Brotli pre-compression and multiple deployment targets.

cepha publish                  # Interactive target selection
cepha publish --folder         # Local folder output
cepha publish --cloudflare     # Cloudflare Pages deployment
cepha publish --azure          # Azure Static Web Apps
cepha publish --kit            # Cloudflare Pages + CephaKit Edge Worker

Cloudflare deployment features:

  • Automatic Wrangler authentication (OAuth browser flow)
  • Brotli pre-compression reporting
  • Custom domain connection via Cloudflare API (DNS + SSL)
  • CephaKit Edge Worker with SPA routing, CORS, WASM MIME types, and immutable caching

cepha benchmark β€” Run performance stress tests

Launches an automated benchmark suite that stress-tests the WASM runtime against React, Vue, and Vanilla JS.

cepha benchmark

8 stress tests across 4 frameworks (Cepha, React 18, Vue 3, Vanilla JS):

Test What it measures
πŸ”₯ Animation Storm 500 spring-physics DOM nodes with mitosis splitting
🎬 DOM Flood Raw frame throughput β€” thousands of DOM writes/sec
🎯 Click Storm Moving targets β€” event latency under sustained fire
🌌 Particle Physics N-body gravity simulation, 5000 particles
πŸ’Ž WebGL Forge 100K vertices, GPU saturation test
πŸ—„οΈ Data Siege Millions of objects β€” sort, search, transform
πŸ” Crypto Matryoshka Nested AES-GCM + SHA-256 deep chain
πŸ•³οΈ Tunnel Breach ALL tests simultaneously

Features:

  • πŸ€– Auto-Pilot β€” Runs all tests sequentially with automatic scoring
  • βš”οΈ Framework Battle β€” Runs every test across all 4 frameworks, displays comparison table with winner announcement
  • πŸ“Š Compare All β€” Side-by-side score comparison with bar charts

cepha info β€” Display project information

cepha info

Shows SDK version, Identity status, CephaKit status, controller count, view count, and build state.

cepha help β€” Show usage documentation

cepha help

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚                    Browser                       β”‚
β”‚                                                  β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”    postMessage    β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”β”‚
β”‚  β”‚  Main Thread  │◄────────────────►│Web Worker β”‚β”‚
β”‚  β”‚              β”‚                   β”‚           β”‚β”‚
β”‚  β”‚  main.js     β”‚   DOM frames     β”‚ .NET 10   β”‚β”‚
β”‚  β”‚  (display    │◄─────────────────│ MVC       β”‚β”‚
β”‚  β”‚   surface)   β”‚                   β”‚ Runtime   β”‚β”‚
β”‚  β”‚              β”‚   user events    β”‚           β”‚β”‚
β”‚  β”‚  Renders     │─────────────────►│Controllersβ”‚β”‚
β”‚  β”‚  HTML only   β”‚                   β”‚Views      β”‚β”‚
β”‚  β”‚              β”‚                   β”‚Routing    β”‚β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜                   β”‚SQLite     β”‚β”‚
β”‚                                     β”‚Identity   β”‚β”‚
β”‚                                     β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Key design principles:

  1. Worker Sovereignty β€” The .NET runtime runs exclusively in a Web Worker, never blocking the UI thread.
  2. Zero JS Framework β€” The main thread is a thin display surface (~500 lines of vanilla JS). No React, no Vue, no Angular.
  3. Real MVC β€” Controllers, model binding, Razor views, ViewBag, layouts, partial views β€” the full ASP.NET MVC programming model.
  4. Offline-First β€” SQLite via OPFS provides persistent storage. Service worker enables full offline operation.

Deployment Targets

Target Command Features
Local Folder cepha publish --folder Static files ready for any hosting provider
Cloudflare Pages cepha publish --cloudflare OAuth login, auto-deploy, custom domains
Cloudflare + CephaKit cepha publish --kit Edge Worker with SPA routing, CORS, WASM headers
Azure Static Web Apps cepha publish --azure SWA configuration with navigation fallback

Requirements


Comparison with Traditional Approaches

Feature Cepha Blazor WASM React SPA
Runtime location Web Worker Main thread Main thread
UI thread blocking Never Possible Possible
Programming model MVC (Controllers + Razor) Components Components
Server required No No No
Offline storage SQLite (OPFS) localStorage localStorage
Bundle size (Hello World) ~9 MB (Brotli) ~5 MB ~200 KB
Framework on main thread None (vanilla JS) Blazor runtime React runtime

πŸ›‘οΈ Security & Verification

Every release of Cepha CLI is built through a secure GitHub Actions pipeline with multi-layer verification:

Check Description
πŸ” Build Provenance (SLSA) Cryptographic proof that this package was built from source
πŸ“‹ SBOM Software Bill of Materials (SPDX) β€” full dependency tree
πŸ›‘οΈ Vulnerability Scan All dependencies checked against known CVE databases
βœ… Smoke Test Automated install + run verification on every release

Verify Package Integrity

You can independently verify that any Cepha CLI release was built from this repository:

# 1. Install the tool
dotnet tool install --global Cepha.CLI

# 2. Download the .nupkg for verification (replace VERSION with actual version)
curl -L -o cepha-cli.nupkg https://www.nuget.org/api/v2/package/Cepha.CLI/VERSION

# 3. Verify provenance (requires GitHub CLI: https://cli.github.com)
gh attestation verify cepha-cli.nupkg --owner sbay-dev

Alternatively, find the locally cached package after install:

Windows:  %USERPROFILE%\.dotnet\tools\.store\cepha.cli\VERSION\cepha.cli\VERSION\cepha.cli.VERSION.nupkg
Linux:    ~/.dotnet/tools/.store/cepha.cli/VERSION/cepha.cli/VERSION/cepha.cli.VERSION.nupkg

View Attestations on GitHub

All attestations and security reports (SBOM, vulnerability scan) are attached to each GitHub Release.


License

MIT Β© sbay-dev


Built with 🧬 NetWasmMvc.SDK β€” ASP.NET MVC, sovereign in the browser.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last Updated
1.0.48 111 2/21/2026
1.0.47 83 2/21/2026
1.0.46 87 2/21/2026
1.0.44 95 2/18/2026
1.0.43 84 2/18/2026
1.0.42 91 2/18/2026
1.0.41 82 2/18/2026
1.0.40 84 2/18/2026
1.0.39 87 2/18/2026
1.0.38 84 2/18/2026
1.0.37 86 2/18/2026
1.0.36 85 2/18/2026
1.0.35 86 2/18/2026
1.0.34 86 2/18/2026

v1.0.37: Official Cepha logo. Professional README. Framework Battle benchmark. Cloudflare Pages + CephaKit Edge Worker deployment.