Chris Nicholas @chrisnicholas.dev · Jul 6

I'm using various @vercel.com parts for the chat! The UI is components from AI Elements, and AI SDK/Gateway power the generation. The messages themselves are stored in @liveblocks feeds. Feeds allow you to store any kind of real-time multiplayer list, such as logs, chats, and more.

2 likes 1 replies

?

Replies

Chris Nicholas · Jul 6

The HTML code is stored in Yjs, hosted by @liveblocks.io. Yjs allows you to create multiplayer editing experiences, and in combination with CodeMirror's editor, like in this example, you can write code live with others.