Skip to content

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.

Notifications You must be signed in to change notification settings

angristan/ollama-chat-go-htmx-ws

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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.

Topics

Resources

Stars

Watchers

Forks