/chamot

Lightweight and LLM-powered Hacker News Terminal App

Primary LanguageGoMIT LicenseMIT

Chamot, Lightweight and LLM-powered Hacker News Terminal App

chamot-build

logo

🚀 Features

  • 💻 Vim-like Keymaps
  • 🌈 Elegant Markdown Rendering
  • 🌍 Hacker News Stories, Comments, and Articles
  • 🦙 Ollama for Instant Insights

🌟 Showcase

show

Story

story

Command Description
j Move Down
k Move Up
d Half-page Down
u Half-page Up
g Go Top
G Go Bottom
Enter Show Article
Space Show Comment
o Open Chat
s Summarize Article
Ctrl-c Quit App

Article

article

Command Description
j Move Down
k Move Up
d Half-page Down
u Half-page Up
g Go Top
G Go Bottom
Ctrl-x Previous View
Ctrl-c Quit App

Comment

comment

Command Description
j Move Down
k Move Up
d Half-page Down
u Half-page Up
g Go Top
G Go Bottom
Ctrl-x Previous View
Ctrl-c Quit App

Chat

chat

Command Description
Enter Send Message
Ctrl-] Cancel Response
Ctrl-d Half-page Down
Ctrl-u Half-page Up
Ctrl-x Previous View
Ctrl-c Quit App

📦 Quickstart

Get Ollama

❯ curl -fsSL https://ollama.com/install.sh | sh
❯ ollama serve
❯ ollama pull llama3.2:1b

Note

Chamot can be used without Ollama running.

Run Chamot

❯ curl -L -o chamot.tar.gz https://github.com/lascauje/chamot/archive/refs/tags/v0.1.0.tar.gz && tar -xzf chamot.tar.gz && cd chamot-0.1.0
❯ go run main.go

Note

Please refer to the .env file and adjust it according to your needs.

Ensure that the OLLAMA_MODEL variable matches the name of the running Ollama model.

🌴 Under the Hood