Skip to main content

Crate chat_echo

Crate chat_echo 

Source
Expand description

chat-echo — Web chat interface for AI entities.

Provides a WebSocket-based chat relay between a browser frontend and a backend LLM service (via bridge-echo). Includes a Nord-themed responsive web UI with assets embedded in the binary.

§Usage as a library

use chat_echo::{ChatEcho, config::Config};

let config = Config::from_env();
let mut chat = ChatEcho::new(config);
// chat.start().await.expect("server");

Modules§

bridge
config
ws

Structs§

AppState
Shared application state accessible from all handlers.
ChatEcho
The chat-echo plugin. Manages the web chat interface lifecycle.

Functions§

create
Factory function — creates a fully initialized chat-echo plugin.