convex-dev-persistent-text-streaming

Community

Real-time AI text streaming with persistent storage

Authorjcdiv47
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Deliver AI-generated text to users with minimal perceived latency while ensuring every chunk is durably persisted to a Convex database so responses are not lost on disconnects or failures.

Core Features & Use Cases

  • Real-time streaming: Emit text chunks to the browser as they arrive so users see responses immediately.
  • Automatic persistence: Queue and persist streamed chunks to Convex with ordering and deduplication to maintain consistency.
  • Resumable sessions: Track progress in the database to resume interrupted streams from the last saved chunk, enabling robust reconnections.
  • Use Case: Build a chat UI in React that displays streaming LLM responses while reliably saving every chunk for audit, playback, or later search.

Quick Start

Use the convex-dev-persistent-text-streaming component to stream AI responses to the frontend while persisting each chunk to your Convex database for durable storage.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: convex-dev-persistent-text-streaming
Download link: https://github.com/jcdiv47/cool-paper/archive/main.zip#convex-dev-persistent-text-streaming

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.