1
0
mirror of https://github.com/coalaura/whiskr.git synced 2025-09-08 17:06:42 +00:00

update readme

This commit is contained in:
Laura
2025-08-31 20:04:13 +02:00
parent 07ca59cfb1
commit 8943fd83bb

View File

@@ -6,29 +6,38 @@ whiskr is a private, self-hosted web chat interface for interacting with AI mode
## Features ## Features
- Private and self-hosted (data stored in localStorage) ### Core Functionality
- Supports any model available on your OpenRouter account - **Private & Self-Hosted**: All your data is stored in `localStorage`.
- Real-time streaming responses - **Broad Model Support**: Use any model available on your OpenRouter account.
- Edit, delete, or copy any message - **Real-time Responses**: Get streaming responses from models as they are generated.
- Persistent settings for model, temperature, and other parameters - **Persistent Settings**: Your chosen model, temperature, and other parameters are saved between sessions.
- Full conversation control including clearing and modifying messages - **Authentication**: Optional user/password authentication for added security.
- Title generation (and refresh)
- Smooth UI updates with [morphdom](https://github.com/patrick-steele-idem/morphdom), selections, images, and other state are preserved during updates ### Conversation Control
- Easy model selection: - **Full Message Control**: Edit, delete, or copy any message in the conversation.
- Tags indicate if a model supports **tools**, **vision**, or **reasoning** - **Collapse/Expand Messages**: Collapse large messages to keep your chat history tidy.
- Search field with fuzzy matching to quickly find models - **Retry & Regenerate**: Easily retry assistant responses or regenerate from any point in the conversation.
- Models are listed newest -> oldest - **Title Generation**: Automatically generate (and refresh) a title for your chat.
- Web search tools (set the `tokens.exa` to enable): - **Import & Export**: Save and load entire chats as local JSON files.
- `search_web`: search via Exa in auto mode; returns up to 10 results with short summaries
- `fetch_contents`: fetch page contents for one or more URLs via Exa /contents ### Rich UI & UX
- `github_repository`: get a quick overview of a GitHub repository (repo info, up to 20 branches, top-level files/dirs, and the README) without cloning (optionally set `tokens.github` for higher rate limits and private repos) - **File Attachments**: Attach text, code, or images to your messages for vision-enabled models.
- Images attachments for vision models using simple markdown image tags - **Reasoning & Transparency**:
- Text/Code file attachments - View the model's thought process and tool usage in an expandable "Reasoning" section.
- Reasoning effort control - See detailed statistics for each message: provider, time-to-first-token, tokens-per-second, token count, and cost.
- Structured JSON output - Keep track of the total cost for the entire conversation.
- Statistics for messages (provider, ttft, tps, token count and cost) - **Advanced Model Search**:
- Import and export of chats as JSON files - Tags indicate if a model supports **tools**, **vision**, or **reasoning**.
- Authentication (optional) - Fuzzy matching helps you quickly find the exact model you need.
- **Smooth Interface**: Built with [morphdom](https://github.com/patrick-steele-idem/morphdom) to ensure UI updates don't lose your selections, scroll position, or focus.
### Powerful Integrated Tools
- **`search_web`**: Search the web via Exa; returns up to 12 results with short summaries.
- **`fetch_contents`**: Fetch and summarize the contents of one or more URLs.
- **`github_repository`**: Get a comprehensive overview of a GitHub repository. The tool returns:
- Core info (URL, description, stars, forks).
- A list of top-level files and directories.
- The full content of the repository's README file.
## TODO ## TODO
@@ -88,7 +97,7 @@ After a successful login, whiskr issues a signed (HMAC-SHA256) token, using the
When running behind a reverse proxy like nginx, you can have the proxy serve static files. When running behind a reverse proxy like nginx, you can have the proxy serve static files.
```ngnix ```nginx
server { server {
listen 443 ssl; listen 443 ssl;
server_name chat.example.com; server_name chat.example.com;
@@ -117,13 +126,12 @@ server {
## Usage ## Usage
- Send a message with `Ctrl+Enter` or the send button - Send a message with `Ctrl+Enter` or the send button.
- Just add a message with the add button - Hover over a message to reveal controls to **edit, delete, copy, collapse, or retry**.
- Hover over a message to edit, delete, or copy it - Click **"Reasoning"** on an assistant message to view the model's thought process or tool usage.
- Adjust model, temperature, prompt, or message role from the controls in the bottom-left - Adjust model, temperature, prompt, or message role from the controls in the bottom-left.
- Use the model search field to quickly find models (supports fuzzy matching) - Attach images using markdown syntax (`![alt](url)`) or upload text/code files with the attachment button.
- Look for tags in the model list to see if a model supports tools, vision, or reasoning - Use the buttons in the top-right to **import/export** the chat or **clear** all messages.
- Use `![alt](url)` in your message to display an image inline. If the model supports vision, the same image URL is passed to the model for multimodal input.
## License ## License