Metadata-Version: 2.4
Name: tibeb-cli
Version: 0.1.0
Summary: A CLI tool to watch local file changes and send them for summarization.
Author-email: GitHub Summarizer Team <maintainers@example.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/your-github-username/github-summarizer
Project-URL: Bug Tracker, https://github.com/your-github-username/github-summarizer/issues
Keywords: summarizer,cli,github,watchdog
Classifier: Programming Language :: Python :: 3
Classifier: Environment :: Console
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: typer[all]
Requires-Dist: watchdog
Requires-Dist: python-dotenv
Requires-Dist: requests
Requires-Dist: questionary
Requires-Dist: pillow
Requires-Dist: rich
Requires-Dist: pyfiglet

# Tibeb CLI 🚀

Tibeb CLI is a powerful tool that watches your local project folders and automatically streams code changes to Tibeb for AI-powered summarization and analysis.

## Features

- **Real-time Watching**: Automatically detects file changes as you code.
- **Smart Summaries**: Sends diffs to Tibeb's backend for instant AI analysis.
- **Project Tracking**: Organizes your work by project name for easy retrieval in the dashboard.
- **Offline Resilience**: Queues failed events and retries them when you're back online.

## Installation

1.  **Clone the repository** (if you haven't already).
2.  **Create a virtual environment**:
    ```bash
    python -m venv venv
    source venv/bin/activate  # Windows: venv\Scripts\activate
    ```
3.  **Install the package**:
    ```bash
    pip install -e .
    ```

## Configuration

Create a `.env` file in the `watcher-cli` directory:

```env
TIBEB_BACKEND_URL="http://localhost:8000"
TIBEB_UI_URL="http://localhost:5173"
```

## Usage

Run the `tibeb` command to get started.

### Start Watching
```bash
tibeb watch
```
This will guide you through an interactive folder selection if no path is provided.

### Direct Path
```bash
tibeb watch /path/to/project --name "my-awesome-app"
```

### Manual Summary
```bash
tibeb summarize /path/to/file.py
```

### Other Commands
- `tibeb login`: Sign in with your Google account.
- `tibeb logout`: Clear your session.
- `tibeb whoami`: Check your current plan and usage.
- `tibeb dashboard`: Open the Tibeb web dashboard.

## Development

Use the included `Makefile` for common tasks:
- `make install`: Install in editable mode.
- `make lint`: Run code formatters and linters.
- `make clean`: Remove build artifacts.
