/ollama-chat-go-htmx-ws

Just a little PoC of a chat app running an LLM locally on Ollama. Just an excuse to have fun with websockets, htmx and Go.

Primary LanguageGo

Ollama Chat

Just a little PoC of a chat app running an LLM locally on Ollama. Just an excuse to have fun with websockets, htmx and Go.

Using:

  • The Ollama Chat API
  • htmx for the frontend interactions
  • Go's text/template for the HTML templating
  • Websocket for the realtime communication
    • The htmx WebSockets extension is used to handle the connection, send and receive messages
    • Melody for websocket handling on the backend
  • TailwindCSS for the styling
  • DiceBear for the funny avatars