A CLI tool to watch local file changes and send them for summarization.
Project description
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
- Clone the repository (if you haven't already).
- Create a virtual environment:
python -m venv venv source venv/bin/activate # Windows: venv\Scripts\activate
- Install the package:
pip install -e .
Configuration
Create a .env file in the watcher-cli directory:
TIBEB_BACKEND_URL="http://localhost:8000"
TIBEB_UI_URL="http://localhost:5173"
Usage
Run the tibeb command to get started.
Start Watching
tibeb watch
This will guide you through an interactive folder selection if no path is provided.
Direct Path
tibeb watch /path/to/project --name "my-awesome-app"
Manual Summary
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tibeb_cli-0.1.0.tar.gz.
File metadata
- Download URL: tibeb_cli-0.1.0.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc302c1edc5aa8a66ee1acc90e6d0798d103505ba902a39488d128a9677cd8e5
|
|
| MD5 |
514e2b6501341f705dad8ec5d8021039
|
|
| BLAKE2b-256 |
31b1ed1a11825fff4390d12c5d0f584d502ff00eac0fabc091d23c1049f77926
|
File details
Details for the file tibeb_cli-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tibeb_cli-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afa2372864ea21b4093e3a9a24d8960343a672e7b148786b2db6537828b02c80
|
|
| MD5 |
07720fda549f1efbb6565919452180b2
|
|
| BLAKE2b-256 |
c26ea5081724b66532c87d4190f537528244151095f2b7f5120052ee30623ded
|