I open sourced (MIT) this repo to help developers save time setting up AI-powered chat applications. It’s a starter template with a Svelte + Typescript frontend, a FastAPI backend, and OpenAI integration. You can use it to build interactive chat experiences or experiment with modern web frameworks.
I chose Svelte for this project because it’s a great way to use plain JavaScript without the complexities of frameworks like React. Svelte compiles your code in a way that handles much of what can make React programming cumbersome, resulting in cleaner and more intuitive code.
It’s worth noting that this template doesn’t include LangChain. It’s designed to be simple and lightweight, making it a great starting point for those who want to customize their own AI chat applications.
This setup aims to save you about a month of work by providing a ready-to-go architecture for async OpenAI responses.
I’d love to hear your thoughts, suggestions, or any feedback you have. If you try it out, let me know how it works for you!
Here’s the repo: https://github.com/mthomason/mbot
Looking forward to the discussion!