mirror of
https://github.com/coalaura/whiskr.git
synced 2025-09-08 17:06:42 +00:00
ced125a455dc44d16c43729978a6fcf12e8c7dac
Local AI Chat
A simple, private, self-hosted web chat interface to interact with AI models via the OpenRouter API. All chat history and settings are stored locally in your browser, ensuring your privacy.
Features
- Private & Self-Hosted: Your conversations never leave your machine.
- Broad Model Support: Use any model available on your OpenRouter account.
- Real-time Streaming: Get responses from the AI as they are generated.
- Full Conversation Control: Edit, delete, or clear messages at any time.
- Persistent Settings: Remembers your chosen model, temperature, and other settings.
Getting Started
- Set your API Key: Copy the
.example.env
file to.env
and add yourOPENROUTER_TOKEN
.
cp .example.env .env
- Build and Run:
go build -o chat
./chat
- Open your browser to
http://localhost:3443
.
Usage
- Send Message: Type in the input box and press
Ctrl+Enter
or click the send button. - Edit/Delete: Hover over a message to reveal the edit and delete options.
- Options: Change the model, temperature, or message role using the controls at the bottom-left.
Languages
JavaScript
41%
Go
35.9%
CSS
19.5%
HTML
3.6%