XD2Sketch/react-chat-stream

⚛️ React Hook to add 🤖 ChatGPT-like word-by-word event streams

42
/ 100
Emerging

This is a React Hook for developers building conversational AI applications. It helps you display bot responses word-by-word, similar to ChatGPT, directly from your own backend API. You provide the API endpoint, and it handles rendering the streamed text in your React frontend, giving users a smooth, interactive chat experience.

No commits in the last 6 months.

Use this if you are a frontend developer building a custom chat interface in React and want to stream responses from your own backend API with a word-by-word display.

Not ideal if you are looking for a complete AI SDK that handles both backend AI model integration and frontend display, or if your backend cannot provide responses as a `text/event-stream`.

frontend-development chat-interface web-application user-experience API-integration
Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 9 / 25
Maturity 16 / 25
Community 17 / 25

How are scores calculated?

Stars

75

Forks

13

Language

TypeScript

License

MIT

Last pushed

Apr 08, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/XD2Sketch/react-chat-stream"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.