CharmLlama is a delightful CLI-based chat application that allows you to interact with Ollama's open-source language models locally. Built with Go and Charm libraries, it offers a rich terminal experience for AI-powered conversations.
- 🚀 Easy installation and setup
- 🤖 Automatic Ollama installation and management
- 🎨 Interactive model selection
- ✨ Stunning CLI interface with animations
- 💬 Real-time chat with Ollama models
- 📜 Markdown rendering for AI responses
- 🔄 Scrollable chat history
- Go 1.17 or later
- Ollama (CharmLlama will guide you through the installation if not present)
If you have Go installed, you can install CharmLlama using:
go install github.com/marpit19/charmlama@latest
If the binary exists, add the Go bin directory to your PATH: For Zsh, add this line to your ~/.zshrc file:
export PATH=$PATH:$(go env GOPATH)/bin
Then reload your shell configuration:
source ~/.zshrc
- Visit the Releases page.
- Download the appropriate binary for your operating system:
- Windows:
charmlama-vX.X.X-windows-amd64.exe
- macOS:
charmlama-vX.X.X-darwin-amd64
- Linux:
charmlama-vX.X.X-linux-amd64
- Windows:
- Rename the binary to
charmlama
(orcharmlama.exe
on Windows). - Move the binary to a directory in your PATH.
- On macOS and Linux, make the binary executable:
chmod +x charmlama
- Clone the repository:
git clone https://github.com/marpit19/charmlama.git cd charmlama
- Build the project:
go build -o charmlama
- Move the binary to a directory in your PATH.
- Open a terminal and run:
charmlama
- If Ollama is not installed, CharmLlama will guide you through the installation process.
- Select a model from the available options.
- Start chatting with the AI!
/exit
: Exit the application
For more information on available commands, use:
charmlama --help
We welcome contributions to CharmLlama! Please see our Contributing Guide for more details on how to get started.
CharmLlama is released under the MIT License. See the LICENSE file for details.
If you encounter any issues or have questions, please open an issue on our GitHub repository.
Built with ❤️ by Arpit Mohapatra