A sophisticated Next.js application that transforms Loom video demonstrations into detailed user stories using AI. This tool helps Product Managers streamline their documentation process by automatically generating structured user stories from video content. The project was primarily developed (95%) by Cline AI, with only the initial scaffolding done manually.
- Upload video files with optional SRT subtitles
- Built-in video player with frame selection capabilities
- Automatic subtitle parsing and integration
- Powered by FFmpeg for reliable video processing
- Utilizes Google's Gemini 1.5 Pro AI model
- Analyzes video frames and subtitles to understand feature demonstrations
- Generates comprehensive user stories in standard Agile format
- Includes technical considerations and story points
- Save and manage multiple user stories
- Delete unwanted stories
- Organized timeline view of generated content
- Export stories to ClickUp with screenshots
- Track export progress with visual indicators
- Configure ClickUp API token in Integrations page
- Export user stories directly to ClickUp spaces and lists
- Automatic status handling using list defaults
- Markdown-formatted story content
- Scene screenshots uploaded as attachments
- Progress tracking for multi-image uploads
-
Configuration
- Navigate to the Integrations page
- Add your ClickUp API token
- Token is securely stored and validated
-
Export Features
- Export stories directly to ClickUp
- Select target space and list
- Automatic status assignment
- Scene screenshots included as attachments
- Progress tracking for uploads
-
Task Format
- Structured user story content
- Markdown formatting for readability
- Metadata section with clip details
- Notes section (if available)
- Scene screenshots as visual context
-
Upload Phase
- Download your Loom video demonstration with SRT subtitles
- Upload the video and SRT file to the application
- Automatic subtitle parsing and synchronization
-
Clip Selection
- Use the built-in video player to select relevant clips
- Add context notes for better AI understanding
- Frame-by-frame selection for precise feature demonstration capture
-
Story Generation
- AI analyzes selected video frames
- Processes any available subtitles/dialogue
- Generates structured user stories including:
- User story title
- User/Action/Benefit format
- Acceptance criteria
- Technical notes
- Story point estimation
- Framework: Next.js 15.1.3 with TypeScript
- UI: TailwindCSS with custom components
- Video Processing: FFmpeg
- AI Integration:
- Google Generative AI (Gemini 1.5 Pro)
- OpenAI (auxiliary processing)
- Subtitle Processing: Subtitle parser for SRT files
- File Handling: React Dropzone
- Clone the repository
- Install dependencies:
npm install
- Set up environment variables:
# AI Services NEXT_PUBLIC_GEMINI_API_KEY=your_gemini_api_key # ClickUp Integration (Optional) # Configure through the Integrations page in the app # The token will be stored securely in the environment # CLICKUP_TOKEN=your_clickup_api_token
- Run the development server:
npm run dev
-
Start the Application
- Navigate to the application in your browser
- You'll see the main interface with a file upload section
-
Upload Content
- Record your feature demonstration using Loom
- Download both the video file and SRT subtitles from Loom
- Drag and drop or select both files in the application
- The video player will automatically load with synchronized subtitles
-
Select Clips
- Use the video player controls to navigate
- Select key frames that demonstrate the feature
- Add context notes to guide the AI
-
Generate Stories
- Click generate to create the user story
- Review the generated content
- Save or modify as needed
-
Export to ClickUp (Optional)
- Configure ClickUp integration in the Integrations page
- Click the export icon on any generated story
- Select the target space and list
- Wait for the export to complete, including:
- Story content with markdown formatting
- Scene screenshots as attachments
- Metadata and notes
- Use clear, well-lit video demonstrations
- Include relevant subtitles for better context
- Select frames that clearly show feature transitions
- Provide detailed context notes for better AI understanding
- Review and edit generated stories as needed
Contributions are welcome! Please feel free to submit a Pull Request.
MIT License
Copyright (c) 2024 PM AI Agent Contributors
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.