2025-08-10 00:51:58 +02:00
|
|
|
# whiskr
|
2025-08-05 04:03:21 +02:00
|
|
|
|
2025-08-10 01:17:13 +02:00
|
|
|
whiskr is a private, self-hosted web chat interface for interacting with AI models via [OpenRouter](https://openrouter.ai/).
|
|
|
|
All chat history and settings are stored locally in the browser, ensuring no server-side storage.
|
2025-08-05 04:03:21 +02:00
|
|
|
|
|
|
|
## Features
|
|
|
|
|
2025-08-10 01:17:13 +02:00
|
|
|
- Private and self-hosted
|
|
|
|
- Supports any model available on your OpenRouter account
|
|
|
|
- Real-time streaming responses
|
|
|
|
- Edit, delete, or copy any message
|
|
|
|
- Persistent settings for model, temperature, and other parameters
|
|
|
|
- Full conversation control including clearing and modifying messages
|
|
|
|
|
|
|
|
## TODO
|
|
|
|
|
|
|
|
- Image and file attachments
|
|
|
|
- Reasoning effort control
|
|
|
|
- Web search tool
|
|
|
|
- Import and export of chats
|
|
|
|
|
|
|
|
## Built With
|
|
|
|
|
|
|
|
**Frontend**
|
|
|
|
- Vanilla JavaScript and CSS
|
|
|
|
- [marked](https://github.com/markedjs/marked) for Markdown rendering
|
|
|
|
- [highlight.js](https://highlightjs.org/) for syntax highlighting
|
|
|
|
- Fonts: [Inter](https://rsms.me/inter/) (UI), [Comic Code](https://tosche.net/fonts/comic-code) (code)
|
|
|
|
- Icons: [SVGRepo](https://www.svgrepo.com/)
|
|
|
|
- Color palette: [Catppuccin Macchiato](https://catppuccin.com/)
|
|
|
|
|
|
|
|
**Backend**
|
|
|
|
- Go
|
|
|
|
- OpenRouter API for model completions
|
2025-08-05 04:03:21 +02:00
|
|
|
|
|
|
|
## Getting Started
|
|
|
|
|
2025-08-10 01:17:13 +02:00
|
|
|
1. Copy `.example.env` to `.env` and set `OPENROUTER_TOKEN`:
|
2025-08-05 04:03:21 +02:00
|
|
|
```bash
|
|
|
|
cp .example.env .env
|
|
|
|
```
|
2025-08-10 01:17:13 +02:00
|
|
|
2. Build and run:
|
2025-08-05 04:03:21 +02:00
|
|
|
```bash
|
2025-08-10 01:17:13 +02:00
|
|
|
go build -o whiskr
|
|
|
|
./whiskr
|
2025-08-05 04:03:21 +02:00
|
|
|
```
|
2025-08-10 01:17:13 +02:00
|
|
|
3. Open `http://localhost:3443` in your browser.
|
2025-08-05 04:03:21 +02:00
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2025-08-10 01:17:13 +02:00
|
|
|
- Send a message with `Ctrl+Enter` or the send button
|
|
|
|
- Hover over a message to edit, delete, or copy it
|
|
|
|
- Adjust model, temperature, prompt, or message role from the controls in the bottom-left
|
|
|
|
|
|
|
|
## License
|
|
|
|
|
|
|
|
GPL-3.0 see [LICENSE](LICENSE) for details.
|