How laravelgpt/ai-storyboard-generator works
Project type and purpose
• This is a single‐page, front-end web application built with React, TypeScript, and Vite.
• Its purpose is to let end users type a text description and generate a storyboard via Google’s Gemini AI API.
File structure
• Top-level entrypoints:
• index.html – host page for the SPA
• index.tsx & App.tsx – React bootstrapping and root application component
• UI layer:
• components/LoadingSpinner.tsx
• components/SceneCard.tsx
• Service layer:
• services/geminiService.ts – encapsulates calls to the external Gemini API, handling authentication via the VITE_GEMINI_API_KEY env var
• Configuration and build:
• vite.config.ts – Vite build/dev server config
• tsconfig.json – TypeScript compiler settings
• package.json / package-lock.json – dependencies (React, Vite, TypeScript, etc.)
• Other:
• types.ts – shared TypeScript interfaces and types
• metadata.json – (presumably) static metadata for the app’s configuration
README for additional insights
• Tech Stack: React 19, TypeScript, Vite
• Features: AI storyboard generation, mobile-friendly UI, secure API key handling