Status: [LIVE] Endpoints found: https://api.anthropic.com/v1/messages Source: https://github.com/AnilARR/ChatAR # ChatAR A Claude.ai-style chat application: an **Angular** frontend talks to a **.NET 10** Web API, which calls the **Anthropic Claude API**. ``` Angular (http://localhost:4200) ──► ChatApi .NET 10 (http://localhost:5080/api) ──► https://api.anthropic.com/v1/messages no API key holds the API key ``` The browser never sees the Anthropic API key. It only calls the ChatAR API. ## Screenshots | Start screen | Chat (light) | |---|---| | ![ChatAR start screen](docs/screenshots/home-light.png) | ![ChatAR chat in light mode](docs/screenshots/chat-light.png) | | Chat (dark mode) | Mobile drawer | |---|---| | ![ChatAR chat in dark mode](docs/screenshots/chat-dark.png) | ChatAR mobile drawer | ## Features - Streaming answers that appear word by word (`fetch` + `ReadableStream` in the browser, SSE parsing on the server) - Animated typing indicator until the first token arrives, plus a Stop button (`AbortController`) that also cancels the upstream Claude call - Regenerate the last answer, or retry it after an error - Markdown rendering with `marked`: code blocks with a language label and a copy button, tables and lists. Raw HTML is escaped, and Angular's sanitizer stays on. - Copy button on every answer - Chats are saved in `localStorage`. Each chat is titled from its first message, and you can rename or delete it. - Model selector (Sonnet 5.5, Opus 5.5, Haiku 5.5). The server checks the choice against an allow-list. - Warm Claude-like design with automatic dark mode. The layout is responsive and the sidebar becomes a slide-over drawer on mobile. - Backend: input validation, a limit of 20 requests per minute per IP, CORS restricted to the frontend origin, ProblemDetails errors, logging, and Claude status codes passed through to the client - Unit and integration tests for both the backend and the frontend - Docker and docker-compose files for running both a