mirror of
https://github.com/bitbaum/botsmann.git
synced 2026-12-04 07:58:30 +01:00
ea7baec755ad64a08d78cd1a0331283b84e45e5d
Reduces files needed to add a new bot from 7-8 to 3-4 by eliminating hardcoded bot lists in multiple locations: - Add `display` field to Bot interface for bots list page metadata - Footer.tsx: Generate AI Assistants links from bots array - app/bots/page.tsx: Remove 100-line botDetails Record, derive from bot.display - menuItems.ts: Generate Professionals menu children from bots array Adding a new bot now automatically updates the footer, navigation menu, and bots list page without any additional code changes. 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%