Metadata-Version: 2.4
Name: scrum-cli
Version: 1.0.0
Summary: AI-powered meeting assistant with real-time transcription and roast mode
Home-page: https://github.com/Rachit-Gandhi/scrum-cli
Author: Rachit Gandhi
Author-email: Rachit Gandhi <rachitgandhi2002@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/Rachit-Gandhi/scrum-cli
Project-URL: Repository, https://github.com/Rachit-Gandhi/scrum-cli
Project-URL: Issues, https://github.com/Rachit-Gandhi/scrum-cli/issues
Project-URL: Documentation, https://github.com/Rachit-Gandhi/scrum-cli/blob/main/README.md
Keywords: meeting,transcription,ai,assistant,scrum,cli,roast
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Office/Business :: Groupware
Classifier: Topic :: Communications :: Conferencing
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: click>=8.0.0
Requires-Dist: chromadb>=0.4.0
Requires-Dist: fastapi>=0.116.1
Requires-Dist: google-generativeai>=0.7.0
Requires-Dist: groq>=0.30.0
Requires-Dist: numpy==1.26.4
Requires-Dist: openai-whisper>=20250625
Requires-Dist: psutil>=5.9.0
Requires-Dist: pyannote-audio>=3.3.0
Requires-Dist: pydub>=0.25.1
Requires-Dist: python-dotenv==1.1.0
Requires-Dist: requests>=2.28.0
Requires-Dist: rich>=13.0.0
Requires-Dist: scikit-learn<1.7.1
Requires-Dist: selenium>=4.0.0
Requires-Dist: setuptools-rust>=1.11.1
Requires-Dist: torch>=2.7.1
Requires-Dist: torchaudio>=2.7.1
Requires-Dist: uvicorn>=0.35.0
Requires-Dist: webdriver-manager>=3.8.0
Requires-Dist: websockets>=15.0.1
Requires-Dist: onnxruntime==1.15.0
Requires-Dist: numba>=0.53.1
Provides-Extra: dev
Requires-Dist: pytest>=6.0; extra == "dev"
Requires-Dist: black; extra == "dev"
Requires-Dist: flake8; extra == "dev"
Requires-Dist: mypy; extra == "dev"
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: requires-python

# SCRUM-CLI

AI meeting assistant that transcribes audio and roasts your corporate buzzwords.

## What it does

- Transcribes meeting audio with speaker names
- Interactive AI chat about your meetings  
- `/ridiculous` mode roasts meeting culture with buzzword counts
- Vector search across all meetings
- Real-time transcription

## Install & Run

### Quick Install with uv (Recommended)
```bash
# Install uv package manager
curl -LsSf https://astral.sh/uv/install.sh | sh

# Clone and install
git clone https://github.com/Rachit-Gandhi/scrum-cli.git
cd scrum-cli
uv sync
cp .env.example .env
# Add your API keys to .env
uv run scrum-cli transcribe meeting.mp3 --chat
```

### Traditional pip install
```bash
pip install scrum-cli
cp .env.example .env
# Add your API keys to .env
scrum-cli transcribe meeting.mp3 --chat
```

## API Keys Needed

Get these and put in `.env`:
- `GEMINI_API_KEY` from [Google AI Studio](https://ai.google.dev/)
- `HUGGING_FACE_TOKEN` from [HuggingFace](https://huggingface.co/settings/tokens)

**⚠️ HACKATHON JUDGES: Please use your own API keys. The ngrok tunnel below will be updated during judging.**

## Live Demo Access

**Ngrok URL:** [WILL BE UPDATED FOR JUDGING]
```
# This will be replaced with live tunnel URL
```

## Chat Commands

```
/ridiculous   # Roast mode with buzzword analysis
/summary      # Meeting summary
/actionitems  # Extract action items  
/stats        # Speaker stats
/whosaid      # Search who said what
```

## Example Output

```
🎭 ROAST ANALYSIS
├── 🎯 Buzzwords: "synergy" (7x), "leverage" (12x)  
├── 🗣️ Mike dominated 67% of airtime
├── 📝 Grade: D+ ("More buzzwords than decisions")
└── 🏆 "Let's leverage synergistic solutions"
```

## ⚙️ Requirements

- **Python 3.9+**
- **Required API Keys:**
  - [Google Gemini API key](https://ai.google.dev/) (required)
  - [HuggingFace token](https://huggingface.co/settings/tokens) (for speaker diarization)

## 📖 Usage Examples

### Basic Transcription
```bash
# Transcribe an audio file
scrum-cli transcribe meeting.mp3

# With speaker diarization
scrum-cli transcribe meeting.mp3 --speakers
```

### Interactive Chat Interface
```bash
# Start transcription with chat interface
scrum-cli transcribe meeting.mp3 --chat
```

### Available Chat Commands

```bash
/help         # Show all commands
/summary      # Professional meeting summary  
/ridiculous   # Hilarious roast analysis 🎭
/actionitems  # Extract action items
/decisions    # Show decisions made
/stats        # Speaker statistics
/whosaid      # Find who said what
/live         # Recent transcription (during streaming)
/export       # Save chat history
/quit         # Exit
```

### Chat Examples

```
> Who talked the most in the meeting?
🤖 Mike dominated with 67% of speaking time (12.4 minutes)

> /ridiculous
🎭 ROAST MODE ACTIVATED! 
*Generates hilarious analysis with buzzword counts and witty observations*

> What were the main action items?
📋 Found 3 action items:
1. Sarah will update the budget by Friday
2. Mike to schedule follow-up with clients  
3. Team to review proposal draft
```

## 🏗️ Architecture

```
scrum-cli/
├── scrum_cli/              # Main package
│   ├── main.py            # CLI entry point
│   ├── chatbot_ui.py      # Rich TUI chat interface  
│   ├── live_transcription.py  # Real-time audio processing
│   ├── memory_store.py    # Vector database integration
│   ├── proxy_server.py    # FastAPI backend for AI
│   ├── roast_engine.py    # Meeting culture analysis
│   └── ngrok_manager.py   # Tunnel management
└── transcription-tool/     # Audio processing utilities
```

## 🎯 Features in Detail

### Real-Time Transcription
- Supports multiple audio formats (MP3, WAV, M4A, etc.)
- Advanced speaker diarization using PyAnnote
- Streaming transcription with live updates
- Meeting data persistence with vector search

### AI-Powered Analysis  
- **Professional Mode**: Extract action items, decisions, and summaries
- **Roast Mode**: Hilarious analysis of meeting culture and patterns
- **Natural Language Queries**: Ask questions about meeting content
- **Contextual Memory**: Remembers past meetings and speaker preferences

### Meeting Analytics
- Speaker time distribution and statistics
- Buzzword detection and counting  
- Meeting efficiency scoring
- Personality profile generation
- Export capabilities for further analysis

## 🔧 Development

### Setting up Development Environment

#### With uv (Recommended)
```bash
# Clone repository
git clone https://github.com/Rachit-Gandhi/scrum-cli.git
cd scrum-cli

# Install dependencies and set up virtual environment
uv sync

# Run in development mode
uv run scrum-cli --help

# Run tests
uv run pytest
```

#### Traditional setup
```bash
# Clone repository
git clone https://github.com/Rachit-Gandhi/scrum-cli.git
cd scrum-cli

# Create virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install in development mode
pip install -e ".[dev]"

# Run tests
pytest
```

### Project Structure

The project follows a modular architecture:
- `scrum_cli/` - Main package with core functionality
- `transcription-tool/` - Audio processing and transcription utilities  
- Tests and development files are hidden via `.gitignore`

## 📦 PyPI Deployment

**Note**: PyPI upload is currently in progress. For now, please use the local installation method with `uv` or `pip` from the source code.

The project is configured for PyPI publication with:
- Proper `setup.py` and `pyproject.toml` configuration
- Version management and dependency specifications
- Comprehensive metadata and classifiers
- Development dependencies separation
- GitHub Actions workflow for automated publishing

Sorry for the inconvenience - we're working on getting this published to PyPI soon!

## 🤝 Contributing

We welcome contributions! Please:

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](LICENSE) file for details.

## 🆘 Support & Community

- 🐛 **Bug Reports**: [GitHub Issues](https://github.com/Rachit-Gandhi/scrum-cli/issues)
- 💬 **Feature Requests**: [GitHub Discussions](https://github.com/Rachit-Gandhi/scrum-cli/discussions)  
- 📧 **Contact**: Create an issue for support

## 🎉 Acknowledgments

- Built with [Rich](https://github.com/Textualize/rich) for beautiful terminal UI
- Powered by [Google Gemini](https://ai.google.dev/) for AI capabilities
- Uses [PyAnnote](https://github.com/pyannote/pyannote-audio) for speaker diarization
- Audio processing with [Whisper](https://github.com/openai/whisper) and [Pydub](https://github.com/jiaaro/pydub)

---

*Built with ❤️ for developers who believe meetings should be both productive and entertaining.*

**Try `/ridiculous` mode - you won't regret it!** 🎭
