
Learning WebSockets by Building a Streaming AI Chat with Raw ASGI
Build a small AI-style chat with token streaming and cancellation to learn how WebSockets and ASGI work together.
4 posts

Build a small AI-style chat with token streaming and cancellation to learn how WebSockets and ASGI work together.

A simple comparison of WSGI and ASGI, using an AI agent that spends most of its time waiting for LLM APIs.

I migrated this personal blog from Gatsby to Astro, but the main goal was to fix long-standing UI problems and simplify the site's structure.

Discover the power of Flask's Server-Sent Events for better developer's experience of chatbots.