Skip to content

About

Local-first multi-channel YouTube growth studio with AI strategy, multimodal creative QC, auto-correction, and scheduling

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Channel Desk

Channel Desk is a local-first, multi-channel YouTube growth studio and autonomous publishing workspace built with FastAPI, React + TypeScript, SQLite (WAL + Alembic), and APScheduler.

It unifies real YouTube analytics, competitor research, AI strategy generation, isolated video generation workflows, 12-criterion multimodal creative quality review + auto-correction, and quota-safe scheduled uploads under a single local dashboard at http://127.0.0.1:8765.


Demo Video (20.5s · 1080p)

Watch Channel Desk Launch Video

Click the preview above to play docs/media/channel-desk-demo.mp4 (1920×1080, 20.5s, anonymized multi-channel demo workspace).


Screenshots

Overview — 3-Channel Portfolio & Live Status

Channel Desk Overview

Channels — Workspace, Growth Diagnosis & AI Strategy

Channel Desk Channels Workspace

Autopilot — Autonomous Controls & Pipeline Stages

Channel Desk Autopilot

Videos — Media Inspector & 12-Criterion Creative Quality Review

Channel Desk Videos & Creative QC


What It Does

  1. Multi-Channel Command (Overview & Channels)
    • Manages multiple YouTube channels independently with isolated databases records, schedules, daily limits, and strategy memory.
    • Displays live OAuth health (Data API v3, Analytics API v2, and YouTube Upload scope) using OS Keyring token storage.
    • Pulls 7/14/28/90-day and custom date analytics, audience retention, traffic sources, geography, demographics, YouTube Studio CSV imports, and View Plateau diagnostics.
  2. Autonomous Growth Strategy (AI Strategist & Autopilot)
    • Supports Antigravity CLI, Gemini API (google-genai), OpenAI-compatible APIs, and local Ollama with configurable fallback and daily call budgets.
    • Runs research → diagnosis → 5 ranked original concepts → selected script + publishing metadata + measurable experiment.
    • Tracks uploaded video performance at ~1h, 6h, 24h, 48h, 72h, 7d and updates channel strategy only after >= 3 mature uploads provide evidence.
  3. Creative Quality Gate & Auto-Correction (Videos)
    • Validates technical specs via FFprobe (resolution, 9:16 aspect ratio, audio presence, duration, SHA-256 hash).
    • Runs a 12-criterion multimodal creative review inspecting contact sheets, audio telemetry, and scripts/shots; automatically triggers bounded targeted fixes while preserving earlier renders and blocking failed, diagnostic, duplicate, or unreviewed clips from publishing.
  4. Timezone-Aware Scheduling & SEO Metadata
    • Schedules native YouTube publishAt windows per channel, skips missed slots without backlog bursts, enforces daily_limit and min_gap_hours, checks free disk/RAM/CPU/GPU before renders, and enriches upload metadata (defaultLanguage, categoryId, deduplicated broad + long-tail tags).

Prerequisites

  • OS: Windows 10/11 recommended (run.bat / install.ps1 / launch.py). (macOS/Linux can run the backend via uvicorn app:app --host 127.0.0.1 --port 8765 after installing requirements.in.)
  • Python: 3.12+
  • Node.js: 22+ with npm
  • FFmpeg & FFprobe: Available on PATH

Option 1 — One-Step AI Agent Install (Just Share the GitHub Link)

If you use an AI coding agent (Antigravity, Claude Code, Codex CLI, Cursor, etc.), simply give it the repository link and paste this prompt:

Clone https://github.com/Armaan0047/channel-desk into a clean folder on my system, check all prerequisites (Python 3.12+, Node.js 22+, FFmpeg, FFprobe), run the one-step installer (.\install.ps1 -NoLaunch on Windows, or create .venv / install requirements.in + npm ci + npm run build on macOS/Linux), run pytest and npm test to verify everything passes, start the local server at http://127.0.0.1:8765, and then guide me on where to paste my own YouTube OAuth client JSON and AI API key in Settings.

Option 2 — One-Command Terminal Install (Windows)

git clone https://github.com/Armaan0047/channel-desk.git
cd channel-desk
.\install.ps1
  • Installs .venv from requirements.lock, runs npm ci, builds the React frontend (dist/), creates .env from .env.example, runs Alembic migrations (private/desk.db), executes pytest + npm test, and opens http://127.0.0.1:8765.
  • After initial setup, you can launch anytime by double-clicking run.bat and cleanly stop the server using stop.bat.

(Prefer skipping the browser launch or tests during automated setup? Run .\install.ps1 -NoLaunch -SkipTests.)


Option 3 — Manual Step-by-Step Setup

Windows

git clone https://github.com/Armaan0047/channel-desk.git
cd channel-desk
python -m venv .venv
.\.venv\Scripts\python.exe -m pip install -r requirements.lock
npm ci
npm run build
.\.venv\Scripts\python.exe launch.py

macOS / Linux

git clone https://github.com/Armaan0047/channel-desk.git
cd channel-desk
python3 -m venv .venv
.venv/bin/python -m pip install -r requirements.in
npm ci
npm run build
.venv/bin/uvicorn app:app --host 127.0.0.1 --port 8765

Configuring Your Own Accounts & Generators

Channel Desk ships with no preloaded credentials, keys, or personal data. Configure your own in the Settings tab at http://127.0.0.1:8765:

  1. YouTube OAuth 2.0:
    • Create a Desktop App OAuth client in Google Cloud Console (enable YouTube Data API v3 and YouTube Analytics API).
    • Import the client JSON via Settings → Import client JSON (saved locally to gitignored Credentials/), enter your channel UC... ID, and click Authorize channel. Tokens are saved in your OS Credential Manager (keyring).
  2. AI Provider:
    • Choose Antigravity CLI, Gemini API, OpenAI-compatible, or Ollama in Settings → AI Provider & Fallback, set your daily call budget, and click Test AI Provider.
  3. External Video Generators (Optional):
    • Place paths in .env (ROBLOX_SKILL_DIR, TOON_SKILL_DIR) or bind folders in Settings → Skill Manager. Source generator projects remain strictly read-only; all isolated builds render under private/generation/<job_id>/.
    • For detailed wrapper internals, see SKILL_INTEGRATION_GUIDE.md.

Security & Privacy Design

  • Credentials/, private/, .env*, *.db*, *client_secret*.json, *token*.json, *.log, *.mp4, and browser_evidence/ are gitignored via .gitignore.
  • API responses never expose raw OAuth refresh tokens or API keys.
  • State-changing requests (POST, PUT, PATCH, DELETE) require the local workspace header (x-channel-desk: local), while read-only GET/HEAD routes rely on loopback-only 127.0.0.1 binding, TrustedHostMiddleware, and keeping Credentials/ and private/ unmounted from static serving.
  • Public publishing defaults to disabled (public = 0) per channel until you explicitly opt in.

License

MIT — see LICENSE.

About

Local-first multi-channel YouTube growth studio with AI strategy, multimodal creative QC, auto-correction, and scheduling

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages