Skip to main content

Crate cai_web

Crate cai_web 

Source
Expand description

CAI Web - Local web interface

Provides a local web server with REST API and dashboard for exploring AI coding history.

§Features

  • REST API for queries
  • Interactive HTML/JS dashboard
  • WebSocket for real-time updates
  • Static file serving

§Example

use cai_web::run;

// Create a storage implementation and pass to run()
// let storage = ...;
// run(storage, 3000).await?;

Structs§

AppState
Shared application state
Config
Web server configuration

Functions§

run
Run the web server

Type Aliases§

Result
Result type for CAI operations