Metadata-Version: 2.4
Name: 5mghost-yonder
Version: 0.8.4
Summary: Standalone Yonder CLI and bundled agent skill
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: curl_cffi<1.0,>=0.7.0

# 5mghost-yonder

Minimal-dependency Python CLI (`yonder`, `yonder-setup`, `yonder-update`; `curl_cffi` + Python standard library) and bundled AI Agent Skills for **Yonder** — unified creator data across **YouTube, Twitch, X, TikTok, and Reddit**.

## Supported Platforms

| Platform | Execution | Capabilities |
| --- | --- | --- |
| **YouTube** | Cloud API + Local | Channel & video stats, search, Shorts classification, comment threads, plus local subtitle/media download and clip extraction |
| **Twitch** | Cloud API | Multi-channel Helix lookups, SullyGnome analytics, and 24/7 live viewer curves with read-only IRC chat capture |
| **X** | Cloud API | Creator profiles, long-form posts, keyword search, timelines, and nested reply threads |
| **TikTok** | Cloud API + Local | Fair-scheduled batch video retrieval, comment trees, creator info, plus local passwordless avatar downloads |
| **Reddit** | Local Isolated | Isolated local browser-profile collection (`yonder local-execute` / `yonder local-read`) with 12-hour cache and zero cookie uploads |

## Closed Beta Access

Yonder is currently in **Closed Beta**. Signing in with Google OAuth requires a valid one-time beta invite code (`yonder redeem --code <INVITE_CODE>`) unless your account has already been pre-authorized.

## Quick Start

Requires Python **3.10+**.

```sh
# 1. Install globally in an isolated environment
pipx install 5mghost-yonder

# 2. Sign in (auto-detects desktop Google OAuth vs. SSH device code)
yonder login

# 3. Activate your Closed Beta invite code (if not yet activated)
yonder redeem --code <INVITE_CODE>

# 4. Install the bundled Agent Skill into your AI client directory
yonder install-skill
```

Headless / SSH environments automatically fall back to device-code login, or you can request it explicitly:

```sh
yonder login --mode device
```

## Common Commands

- `yonder login [--mode auto|browser|device]` — Sign in via browser PKCE OAuth or device code
- `yonder redeem --code <INVITE_CODE>` — Redeem a Closed Beta invite code
- `yonder whoami` / `yonder auth-status` — Inspect active user, email, and beta grant status
- `yonder logout` — Clear local `~/.yonder/auth/` credentials and attempt server key revocation
- `yonder install-skill` — Scan existing local AI client skill directories (`--scan`, `--dir <PATH>`, `--list`, `--sync-registered`)
- `yonder update [--check] [--force]` (or `yonder-update`) — Check for and install CLI + registered skill updates
- `yonder --version` — Print installed CLI version

## Local Privacy & Security Guarantee

- **Zero ambient browser or Keychain access**: Yonder never reads your everyday browser cookies or macOS Keychain.
- **Scoped local storage**: Credentials and local state are stored strictly under `~/.yonder/` (`0700` directories, `0600` files, symlink-checked).
- **No manual API key flags**: `yonder` never accepts `--api-key` flags or reads `YONDER_API_KEY` from your shell environment.
- **Opt-out diagnostics**: CLI diagnostic telemetry scrubs paths and credentials client-side and server-side, and can be disabled anytime with `export YONDER_TELEMETRY=0`.
