mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-05 15:39:38 +01:00
50a04ec06201b43afb28a50cebc8becc70bb37c9
Add model visibility and switching UI for AI professionals: - ModelIndicator: shows current model with icon in chat header - ModelSelector: dropdown to switch models (auth-gated for guests) - PrivacyTierInfo: expandable Cloud vs Self-Hosted comparison - ChatAuthCTA: dismissible guest conversion banner Config files (SSOT): - privacy-tiers.ts: tier definitions, model display config - auth-cta.ts: CTA content for guest/authenticated users Also increases quick-chat maxTokens from 256 to 1024 to prevent response cutoff. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Botsmann - Your Private AI Professionals
Expert guidance from AI advisors in law, health, research, language, art, and business. Available 24/7, completely private, at a fraction of traditional costs.
Live at: botsmann.vercel.app
Our AI Professionals
| Professional | Role | Description |
|---|---|---|
| Lex | Legal Advisor | Contract reviews, legal questions, case analysis |
| Imhotep | Health Advisor | Health questions, symptom guidance, wellness support |
| Nerd | Research Assistant | Literature review, data analysis, research synthesis |
| Heidi | Language Coach | German/Swiss German learning, translation, cultural guidance |
| Muse | Artistic Advisor | Art feedback, creative direction, style development |
| Trident | Business Strategist | Business planning, strategy, market analysis |
Technology Stack
- Frontend: React, Next.js 14, TailwindCSS
- Backend: Next.js API routes, OpenAI/Groq API
- Database: Supabase (PostgreSQL + pgvector)
- Deployment: Vercel
Getting Started
Prerequisites
- Node.js 18+
- OpenAI or Groq API key
Installation
# Clone and install
git clone https://github.com/g-but/botsmann.git
cd botsmann
npm install
# Configure environment
cp .env.example .env
# Edit .env with your API keys
# Start development server
npm run dev
Project Structure
botsmann/
├── app/ # Next.js App Router
│ ├── api/ # API routes
│ ├── bots/ # Detailed bot pages
│ ├── professionals/ # Minimal professional pages
│ └── ...
├── components/ # Shared UI components
├── data/ # Static data (professionals, bots)
├── lib/ # Utilities and helpers
└── types/ # TypeScript definitions
Development
npm run dev # Start dev server
npm run build # Production build
npm run lint # ESLint check
npm run test # Run tests
Deployment
Push to main branch triggers automatic deployment to Vercel via GitHub Actions.
git add .
git commit -m "Your changes"
git push origin main
Documentation
- Best Practices - Coding standards (DRY, SSOT, SoC)
- Commands - Available npm scripts
- Shared Context - Architecture overview
Enterprise
For law firms, medical practices, and businesses needing private, compliant AI deployment, see our Enterprise page.
License
Languages
TypeScript
89.7%
HTML
3.6%
PLpgSQL
2.2%
JavaScript
1.6%
Python
1.3%
Other
1.6%