Settings

Theme

Show HN: AI Chat App on Durable Streams and Tanstack DB

oss.chat

2 points by sorenbs 10 days ago · 0 comments · 1 min read

Reader

I built an AI chat app that uses Durable Streams from ElectricSQL as both the storage format and transport medium. It has the very nice property that tokens are stored durably as they are steamed back from the LLM provider, and then streamed to the frontend for a smooth user experience.

The frontend uses Tanstack DBs differential dataflow implementation to tie together meta data from Postgres with the chat streams in the Durable Stream.

Made a detailed explainer of all the components.

No comments yet.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection