Skip to content

feat: Interactive CLI for Video Content Agent using Ink + React #4#5

Open
Ash-Blanc wants to merge 2 commits intosailorworks:mainfrom
Ash-Blanc:patch-1
Open

feat: Interactive CLI for Video Content Agent using Ink + React #4#5
Ash-Blanc wants to merge 2 commits intosailorworks:mainfrom
Ash-Blanc:patch-1

Conversation

@Ash-Blanc
Copy link
Copy Markdown

Overview

This PR introduces a fully interactive command-line interface for the video-content-agent using Ink + React.

Architecture

  • Ink 4.4.1 - React renderer for beautiful CLIs
  • React 18 - Component-based UI
  • TypeScript - Full type safety
  • @inkjs/ui - Terminal UI components
  • Chalk - Terminal styling

Implemented Components

  • Main App (src/cli/app.tsx) - Ink app with workflow orchestration
  • FormInput - Interactive topic input
  • ProgressSpinner - Loading indicators
  • ScriptReview - Script display with feedback
  • Workflow - Orchestration with mock functions

Workflow States

  1. Input - User enters topic
  2. Research - Agent researches
  3. Generate - Script generation
  4. Review - User review + feedback
  5. Voiceover - Voiceover production
  6. Video - Final video output
  7. Done - Completion

Features

  • Interactive form-based input
  • Real-time progress spinners
  • Script review interface
  • Styled terminal output
  • Error handling
  • Mock implementations

Closes #4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: CLI Implementation using Charm.land Libraries

1 participant