Skip to content

DigitalBlueprint239/coach-core-ai

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

40 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Coach Core AI

A comprehensive AI-powered coaching platform built with React, TypeScript, and Firebase. Coach Core AI provides intelligent practice planning, team management, and analytics for sports coaches.

๐Ÿš€ Features

AI-Powered Practice Planning

  • Smart Practice Generator: AI-driven practice plan creation based on team performance data
  • Drill Library: Extensive collection of drills with difficulty ratings and skill focus
  • Adaptive Planning: Plans that adjust based on player progress and team needs

Team Management

  • Roster Management: Complete player database with performance tracking
  • Attendance Tracking: Automated check-in system with analytics
  • Player Profiles: Individual player statistics and progress monitoring

Smart Playbook

  • Interactive Play Designer: Visual play creation with drag-and-drop interface
  • Formation Templates: Pre-built formations for various sports
  • Route Editor: Custom route creation and editing tools
  • Play Library: Organized collection of plays with search and filtering

Analytics Dashboard

  • Performance Metrics: Real-time team and individual performance tracking
  • Progress Analytics: Visual charts and graphs for data analysis
  • AI Insights: Intelligent recommendations based on performance data

AI Assistant

  • Natural Language Interface: Chat with AI for coaching advice and insights
  • Practice Suggestions: AI-generated recommendations for drills and exercises
  • Performance Analysis: Automated analysis of team and player data

๐Ÿ› ๏ธ Tech Stack

  • Frontend: React 18, TypeScript, Tailwind CSS
  • Backend: Firebase (Firestore, Authentication, Functions)
  • AI/ML: OpenAI GPT-4, Custom AI models
  • Deployment: Firebase Hosting, Vercel
  • State Management: React Context, Custom hooks
  • UI Components: Custom component library with Storybook

๐Ÿ“ Project Structure

src/
โ”œโ”€โ”€ ai-brain/           # AI core functionality
โ”œโ”€โ”€ components/         # Reusable UI components
โ”œโ”€โ”€ contexts/          # React contexts
โ”œโ”€โ”€ features/          # Feature-specific components
โ”œโ”€โ”€ hooks/             # Custom React hooks
โ”œโ”€โ”€ services/          # API and external services
โ”œโ”€โ”€ types/             # TypeScript type definitions
โ””โ”€โ”€ utils/             # Utility functions

๐Ÿš€ Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn
  • Firebase account
  • OpenAI API key

โš ๏ธ Important Setup Note

This project requires internet access for initial dependency installation. The testing environment needs react-scripts and testing libraries to be installed. See SETUP.md for detailed instructions.

Installation

  1. Clone the repository

    git clone https://github.com/yourusername/coach-core-ai.git
    cd coach-core-ai
  2. Install dependencies

    npm install
  3. Set up environment variables

    cp env.production.example .env.local

    Edit .env.local with your configuration:

    VITE_FIREBASE_API_KEY=your_firebase_api_key
    VITE_FIREBASE_AUTH_DOMAIN=your_project.firebaseapp.com
    VITE_FIREBASE_PROJECT_ID=your_project_id
    VITE_OPENAI_API_KEY=your_openai_api_key
  4. Set up Firebase

    npm install -g firebase-tools
    firebase login
    firebase init
  5. Start the development server

    npm start

๐Ÿ”ง Configuration

Firebase Setup

  1. Create a new Firebase project
  2. Enable Authentication, Firestore, and Functions
  3. Update firebase.json and firestore.rules as needed
  4. Deploy Firebase configuration:
    firebase deploy

AI Configuration

  1. Set up OpenAI API key in environment variables
  2. Configure AI models in src/ai-brain/core/AIBrain.ts
  3. Test AI functionality with npm run test:ai

๐Ÿ“ฆ Available Scripts

  • npm start - Start development server
  • npm build - Build for production
  • npm test - Run tests
  • Ensure you've run npm install to install react-scripts and all other testing dependencies before executing the test suite.
  • npm run deploy - Deploy to Firebase
  • npm run storybook - Start Storybook
  • npm run test:ai - Test AI functionality

๐Ÿš€ Deployment

Firebase Hosting

npm run build
firebase deploy

Vercel

npm run build
vercel --prod

๐Ÿค Contributing

  1. Fork the repository
  2. Create a feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

๐Ÿ†˜ Support

For support, email support@coachcoreai.com or join our Slack channel.

๐Ÿ”ฎ Roadmap

  • Mobile app development
  • Advanced AI analytics
  • Multi-sport support
  • Integration with wearable devices
  • Video analysis features
  • Social features for coaches

๐Ÿ™ Acknowledgments

  • OpenAI for GPT-4 integration
  • Firebase team for the excellent backend services
  • React team for the amazing framework
  • All contributors and beta testers

Coach Core AI - Empowering coaches with intelligent tools for better team performance.

About

Coach Core AI: AI-powered coaching platform with practice planning, team management, analytics, and more.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors