AI Income LabJoin AI Income Lab ↗

Build guide · By · Published · Updated

Build an OpusClip-Style Web App With OpenCode: Short Forge

Diagram for the Short Forge app build guide: prompt: Detailed prompt written in Claude Desktop; scaffold: OpenCode builds workers, API and UI; fix: Keys, Postgres, local storage instead of S3.
Prompt → Scaffold → Fix

Quick answer

Write a detailed prompt in Claude Desktop for a web app that turns long YouTube videos into shorts, paste it into OpenCode and let it scaffold the project: worker files for import and rendering, API routes, Clerk sign-up, Prisma and Postgres, with FFmpeg doing the video work. Fill in the env keys, run npm run dev and paste build errors back until it loads on port 3000. I then fixed the Postgres user and database and swapped Amazon S3 for a local storage folder. The app was still unfinished at the end: the subscribe buttons did not work and no finished clips were shown.

Prices and plan names change. Confirm them on the vendor page before you buy. Checked November 15, 2026.

Some tool links in this guide are affiliate links, so I may earn a commission or credit.

This is a May 2026 build log of an MVP I called Short Forge, a local alternative to OpusClip that reuses my own video-trimming skills. I used the free Qwen 3.6 Plus model in OpenCode, so building cost no credits. Downloading other people’s videos has rules, so use only your own or licensed footage. The OpenCode link on this page is an affiliate link. For the trimming skill itself, see the OpenCode video trim skill.

1. Write the build prompt

In Claude Desktop I asked for a prompt to build a web app with OpenCode that replicates OpusClip’s core idea: upload a long video or import it from YouTube and produce ready-to-post shorts, reusing the custom skills I already had and FFmpeg for rendering. Running locally on my own machine made FFmpeg simple.

2. Let OpenCode scaffold it

OpenCode created the project structure, the file upload flow, the YouTube URL import, a video render worker, API routes, components and library files. About ten more minutes of building later the files were in place.

3. Keys and first run

The .env file needed a Google Cloud client with the YouTube Data API enabled, an OpenAI API key and Clerk keys. Run npm run dev and paste each build error back into OpenCode until the app loads on port 3000. I signed up through Clerk and saw a three-tier pricing page, whose subscribe buttons did not work yet.

4. Fix the database and storage

The dashboard failed until I created the Postgres user and database from the terminal and restarted Postgres, after a Prisma connection error. For storage, OpenCode had set up Amazon S3. I chose a local storage folder instead to avoid an AWS account and server cost, and OpenCode rewired the code and uploads. A YouTube import then began downloading to my machine.

Done when

What I didn't cover

Watch the walkthrough

Watch on YouTube: I Built My Own OpusClip for FREE! (Step-by-Step). Also on this site with notes: the watch page.

From the video

Lines from the video's transcript that this guide does not cover, lightly trimmed. Each time opens the video at that point. Read the full transcript.

FAQ

Does it cost credits to build?

Not with the free Qwen 3.6 Plus model in OpenCode.

Why not use S3?

Running locally, a storage folder avoids an AWS account and bill.

Is it finished?

No. It was a work in progress with no finished clips.

Sources

Written by . I’ve shipped software since 2013 and test AI tools on real builds for the AI Automation Station YouTube channel. Each guide shows the date it was last updated and lists the sources it relies on.

Build the next one with AI Income Lab

Step-by-step courses, reusable templates, and a community that answers when you get stuck.

Members get the Claude Code & Skills and Codex Tutorials & Courses lessons.

Join AI Income Lab ↗From $29/month. Cancel anytime.
Join 2,900+ members building with AI

Not ready to join? Get the weekly build notes: new guides and tested builds in one short email.