Turn any idea into a scroll-stopping video script in seconds.
AI agent prompt optimized for YouTube, TikTok, Reels & educational content.
Supports English & Arabic.
π Live Demo Β Β·Β β¨ Features Β Β·Β βοΈ Tech Stack Β Β·Β π Getting Started
ScriptForge AI is an AI-powered video script generator that transforms raw ideas into production-ready scripts tailored for modern social media platforms. Whether you're creating YouTube long-form, TikTok hooks, Instagram Reels, or educational explainers β ScriptForge crafts engaging, platform-optimized scripts with the right tone, pacing, and structure.
- Instant Script Creation β Describe your idea, get a polished video script in seconds
- Platform-Specific Optimization β Scripts tailored for YouTube, TikTok, Instagram Reels & educational formats
- Hook-First Writing β Every script opens with a scroll-stopping hook designed to capture attention
- Viral Framework β Built-in patterns for engagement, retention, and call-to-action
- English & Arabic β Full support for both languages
- RTL Layout β Native right-to-left interface for Arabic content creators
- Culturally Adapted β Scripts that resonate with regional audiences
- User Authentication β Secure sign-up and login via Supabase Auth
- Subscription Plans β Built-in monetization with tiered access
- Usage Tracking β Monitor script generation credits and usage
- πΉ YouTube long-form scripts with chapters & timestamps
- π± TikTok / Reels short-form with hooks & transitions
- π Educational & explainer content with clear structure
- π’ Marketing & promotional scripts with CTAs
| Technology | Purpose |
|---|---|
| TypeScript | Type-safe application logic (96%) |
| React 18 | Component-based UI framework |
| Vite | Lightning-fast build tooling |
| Supabase | Auth, database (PostgreSQL), and backend |
| shadcn/ui | Accessible, customizable UI components |
| Tailwind CSS | Utility-first CSS framework |
| PL/pgSQL | Database functions & stored procedures |
| Lovable | AI-powered development platform |
βββββββββββββββββββββββββββββββββββββββββββββββ
β Frontend β
β React + TypeScript + Vite β
β shadcn/ui + Tailwind β
ββββββββββββββββ¬βββββββββββββββββββββββββββββββ€
β Auth Flow β Script Engine β
β (Supabase) β AI Prompt β Script Output β
ββββββββββββββββ΄βββββββββββββββββββββββββββββββ€
β Supabase Backend β
β PostgreSQL Β· Auth Β· Edge Functions β
β Row-Level Security Β· Realtime β
βββββββββββββββββββββββββββββββββββββββββββββββ
Create a local .env file in the root directory by copying .env.example:
cp .env.example .envThen replace every placeholder with values from your own Supabase project. Keep real credentials and deployment-specific values in your local environment or Supabase secrets, and never commit them to source control.
VITE_SUPABASE_PUBLISHABLE_KEY=replace-with-your-supabase-publishable-key
VITE_SUPABASE_URL=https://your-project-ref.supabase.co# Clone the repository
git clone https://github.com/3h0ll7/scriptforge-ai.git
# Navigate to project directory
cd scriptforge-ai
# Install dependencies
npm install
# or
bun install
# Start development server
npm run dev
# or
bun devThe app will be available at http://localhost:5173
# Link your Supabase project
npx supabase link --project-ref your-project-ref
# Apply database migrations
npx supabase db pushFor the create-checkout edge function, set APP_BASE_URL in your Supabase project secrets (not in your local .env file) so payment success/cancel redirects return users to the correct deployed domain.
npm run build
# or
bun run buildscriptforge-ai/
βββ public/ # Static assets
βββ src/
β βββ components/ # Reusable UI components
β βββ pages/ # Route pages
β βββ hooks/ # Custom React hooks
β βββ lib/ # Utilities & Supabase client
β βββ services/ # AI script generation logic
β βββ styles/ # Global styles
βββ supabase/
β βββ migrations/ # Database schema migrations
β βββ functions/ # Edge functions
βββ .env.example # Safe environment template
βββ .env # Local environment variables (gitignored)
βββ vite.config.ts # Vite configuration
βββ tailwind.config.ts # Tailwind configuration
βββ tsconfig.json # TypeScript configuration
| Audience | Use Case |
|---|---|
| π₯ YouTubers | Generate structured long-form scripts with hooks, chapters, and CTAs |
| π± TikTok Creators | Craft viral short-form scripts with trending patterns |
| π Educators | Build clear, engaging explainer scripts for courses and tutorials |
| π Marketers | Create promotional video scripts optimized for conversions |
| π Arabic Creators | Produce native Arabic scripts with culturally relevant tone |
- Core AI script generation engine
- YouTube, TikTok & Reels templates
- English & Arabic bilingual support
- Supabase authentication & user accounts
- Monetization & subscription tiers
- Script history & favorites
- Team collaboration & shared workspaces
- API access for third-party integrations
- Voice-over generation integration
- Analytics dashboard for script performance
Contributions are welcome! Here's how to get involved:
- Fork the repository
- Create your feature branch (
git checkout -b feature/new-template) - Commit your changes (
git commit -m 'feat: add new script template') - Push to the branch (
git push origin feature/new-template) - Open a Pull Request
This project is open source and available under the MIT License.
- Built with Lovable β AI-powered development platform
- Backend powered by Supabase
- UI components from shadcn/ui