跳到正文
oss.chat(经 Hacker News)·· 2026-06-13AI 评分27

Show HN:基于 Durable Streams 和 Tanstack DB 的 AI 聊天应用

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

阅读原文

本站未展示全文,请前往来源网站阅读。

AI 导读

开发者构建了一款 AI 聊天应用,用 ElectricSQL 的 Durable Streams 同时作为存储格式和传输介质,LLM 返回的 token 在流式输出时被持久化存储,再流向前端。前端借助 Tanstack DB 的差分数据流实现,将 Postgres 中的元数据与 Durable Stream 中的聊天流整合。作者还发布了各组件的详细解析。

来源:oss.chat(经 Hacker News) · oss.chat