A super minimal chatbot starter template using modern NextJS and Substrate. Built to be as concise as possible with few dependencies, so it's easy to fork.
- Renders streaming UI
- Handles chat history
- Modern, polished React UI with minimal dependencies
We're planning to extend this a bunch with things like speech-to-text input, text-to-speech output, memory, and more. File an issue if there are features you want to see us build!
Currently the chatbot is food/cooking themed, but it's easy to extend.
# install the dependencies
npm install
# Add your Substrate API Key to the environment (https://www.substrate.run/dashboard/keys)
export SUBSTRATE_API_KEY=...
# run the dev server
npm run dev
# open your browser to use it (on localhost:3000 by default)
open http://localhost:3000