frameworks/solid/examples/tanchat
| Name | Last commit message | Last commit date |
|---|---|---|
| .. | ||
README.md
TanStack Chat Application#
Am example chat application built with TanStack Start, TanStack Store, and Claude AI.
Sidecar service#
This applicaton requires a sidecar microservice to be running. The server is located in the ai-streaming-service directory.
In that directory you should edit the .env.local file to add your Anthropic API key:
ANTHROPIC_API_KEY=your_anthropic_api_key
Then run the server:
cd ai-streaming-service
npm install
npm run dev
β¨ Features#
AI Capabilities#
- π€ Powered by Claude 3.5 Sonnet
- π Rich markdown formatting with syntax highlighting
- π― Customizable system prompts for tailored AI behavior
- π Real-time message updates and streaming responses (coming soon)
User Experience#
- π¨ Modern UI with Tailwind CSS and Lucide icons
- π Conversation management and history
- π Secure API key management
- π Markdown rendering with code highlighting
Technical Features#
- π¦ Centralized state management with TanStack Store
- π Extensible architecture for multiple AI providers
- π οΈ TypeScript for type safety
Architecture#
Tech Stack#
- Routing: TanStack Router
- State Management: TanStack Store
- Styling: Tailwind CSS
- AI Integration: Anthropic's Claude API