mirror of
https://github.com/bitbaum/orangecat.git
synced 2026-12-04 20:28:04 +01:00
Major changes: - AI streaming: Add unified client for OpenRouter SSE and local (Ollama) providers - Local AI detection: Auto-detect and configure local model providers - Rate limiting: Canonical adapters with X-RateLimit-* headers across APIs - SSE: Add lib/sse.ts for consistent event-stream parsing Cleanup: - Remove /demo, /donate, /fund-us, /funding, /fundraising pages - Simplify ModelSelector component (288 → 80 lines) - Consolidate timeline queries New features: - Voice input component and hook - Query provider for React Query - Model registry with status badges - HTTP headers config Tests & Docs: - E2E tests for project creation wizard - Unit tests for auth, streaming, components - CHANGELOG.md for version tracking - Deployment checklist and PR summary docs Bug fixes: - Timeline schema and functions migration fixes - Messaging RLS recursion fix - Auth callback improvements - Bitcoin formatting precision - Lint fixes for unused variables Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
7.9 KiB
7.9 KiB
📚 OrangeCat Documentation
Welcome to the OrangeCat Bitcoin Crowdfunding Platform documentation!
This is your centralized knowledge base for understanding, developing, deploying, and maintaining the OrangeCat platform.
🚀 Quick Start
For New Developers
- Developer Guide - Complete setup and first steps
- Development Setup - Environment configuration
- Contributing Guide - How to contribute effectively
For Users
- API Reference - API documentation for integrations
- Features Guide - Platform features overview
📂 Documentation Structure
docs/
├── getting-started/ # 🚀 Onboarding & setup
├── architecture/ # 🏗️ System design & architecture
├── development/ # 💻 Development guides & workflows
├── workflows/ # 🔄 Proven operational workflows
├── features/ # ✨ Feature documentation
│ └── posting/ # 📝 Posting system (mobile-first)
├── operations/ # 🔧 Operations & maintenance
├── deployment/ # 🚢 Deployment guides
├── security/ # 🔒 Security practices
├── testing/ # 🧪 Testing guides
├── changelog/ # 📝 Release notes
├── standards/ # 📏 Standards & conventions
└── archive/ # 🗄️ Historical docs (2024)
📖 Key Documentation
Architecture & Design
- System Architecture - High-level system design
- Database Schema - Database design and relationships
- Services Architecture - Service layer design
- Component Architecture - UI component patterns
Development
- Best Practices - Development guidelines
- Engineering Principles - First principles (privacy/local-first, SSOT/DRY/SoC, a11y, security)
- Code Review Guide - Code review process
- Technical Debt - Current technical debt items
- Dashboard Analysis - Dashboard page analysis
- Hooks Guide - Custom React hooks
- Utils Guide - Utility functions
- Types Guide - TypeScript types
Features
- Posting System ⭐ NEW - Twitter/X-style posting with mobile-first design
- Bitcoin Wallet - Bitcoin wallet integration
- Intelligent Onboarding - Smart user onboarding
Workflows
- Supabase Migration Workflow - Complete migration guide
- Migration Quick Reference - Fast lookup for common tasks
- Migration Lessons Learned - What we learned from failures
Database
- Database Schema - Complete schema reference
- Migrations Guide - Database migration workflow
- Schema Quick Reference - Quick lookup
- Database Improvements - Recent improvements
Operations
- Deployment Guide - Production deployment
- Environment Setup - Environment variables
- Troubleshooting - Common issues
- Port Management - Development ports
Security
- Security Overview - Security principles
- Auth System - Authentication implementation
- Security Audit - Latest security audit
Testing
- Test Guide - Testing strategy
- Test Coverage - Coverage report
- User Journeys - E2E test scenarios
🎯 Common Tasks
Development
- Setting up local environment: See Development Setup
- Running migrations: See Migration Workflow or Quick Reference
- Creating components: See Component Architecture
- Writing tests: See Test Guide
Deployment
- Deploy to production: See Deployment Guide
- Set up monitoring: See Observability
- Configure CI/CD: See CI/CD Guide
Debugging
- Performance issues: See Performance Debugging
- Database issues: See Troubleshooting
- Error handling: See Error Handling
📋 Standards & Best Practices
Code Standards
- Documentation Standards - How to write docs
- Datetime Standards - Date/time handling
- Color System - Design system colors
Templates
- Component Template - Component boilerplate
- API Endpoint Template - API endpoint structure
- ADR Template - Architecture decision records
- Documentation Template - Doc structure
🔍 Finding Information
Search Documentation
Use your IDE's search (Ctrl+Shift+F) to search across all documentation files.
Recently Updated
- My Cat: Voice + Local Models - 2026-01-18 ⭐ NEW
- Engineering Principles - 2026-01-18 ⭐ NEW
- My Cat Spec - 2026-01-18
📞 Getting Help
Team Resources
- GitHub Issues - Report bugs and request features
- Pull Requests - All code changes require review
- Architecture Decisions - Document in
docs/architecture/
External Documentation
- Next.js Docs - React framework
- Supabase Docs - Database and auth
- Tailwind CSS - Styling framework
- Zustand - State management
🎯 Documentation Principles
This documentation follows these principles:
- ✅ Always Current - Updated with every major change
- ✅ Actionable - Step-by-step instructions
- ✅ Contextual - Explains why, not just how
- ✅ Searchable - Clear structure and keywords
- ✅ Reviewed - Regular reviews and updates
- ✅ No Duplication - Single source of truth
📝 Contributing to Docs
When contributing documentation:
- Follow the Documentation Standards
- Use the appropriate template
- Keep docs in the correct directory
- Update this index if adding new sections
- Test all code examples
- Get docs reviewed with code PRs
Last Updated: 2025-11-16 Version: 2.2.0 Maintainers: Development Team
🗄️ Archive
Historical documentation is preserved separately:
- Archive Index
- Previous audits, evaluations, and implementation plans