TempleClip - Template-based video creation
Create videos from code templates powered by Remotion
TempleClip is a template-based video editor that lets you create reusable video compositions with variable substitution. Built on Remotion, it provides a visual timeline editor for creating templates that can be rendered with different content.
This project is in maintenance mode. It was built as a learning exercise and proof-of-concept. The codebase has some issues. For production use, consider using Remotion directly with code-based templates.
- Visual Timeline Editor - Multi-track editing with drag-and-drop
- Template Variables - Create reusable compositions with dynamic content
- Media Library - Organize videos, images, and audio files
- Cloud Storage - R2 integration for asset management
- Authentication - Google OAuth via Better Auth
- Real-time Preview - See changes as you edit
- Export - Render videos with Remotion
Quick Start:
docker compose -f docker-compose.yml \
-f docker-compose.dev.yml up -dPorts:
- Frontend:
5173 - Backend:
8000 - FastAPI:
3000
# Install dependencies
pnpm install
# Start services
pnpm run dev # Frontend (port 5173)
pnpm dlx tsx app/videorender/videorender.ts # Backend (port 8000)
uv run backend/main.py # FastAPI (port 3000)Requirements:
- Node.js 20+
- Python 3.9+
- PostgreSQL
- Redis
- pnpm
Docker Compose:
docker compose up -dWith Custom Domain:
PROD_DOMAIN=yourdomain.com docker compose up -dPorts:
- HTTP:
80 - HTTPS:
443
Create a .env file:
# Domain Configuration
PROD_DOMAIN=yourdomain.com
# Database
DATABASE_URL=postgresql://user:pass@localhost:5432/templeclip_db
# Authentication (Google OAuth)
GOOGLE_CLIENT_ID=your_google_client_id
GOOGLE_CLIENT_SECRET=your_google_client_secret
# Cloudflare R2 Storage
R2_ACCOUNT_ID=your_r2_account_id
R2_ACCESS_KEY_ID=your_r2_access_key
R2_SECRET_ACCESS_KEY=your_r2_secret_key
R2_BUCKET_NAME=your_bucket_name
- Frontend: React Router v7 (SSR)
- Backend: Node.js + Express
- Rendering: Remotion
- Database: PostgreSQL
- Cache: Redis
- Storage: Cloudflare R2
- Auth: Better Auth (Google OAuth)
- Docker networking requires manual configuration for some platforms
- No comprehensive test coverage
If you're looking for a simpler solution:
- Remotion CLI - Write templates as React components, render via CLI
- Remotion Lambda - Serverless rendering at scale
- Commercial tools - Canva, CapCut for non-technical users
Contributcome, but please note this project is in maintenance mode. Major refactoring would be needed for production use.
This project is licensed under a dual-license. Refer to LICENSE for details. The Remotion license also applies to the relevant parts of the project.
Built with:
- Remotion - Video rendering engine
- React Router - SSR framework
- Better Auth - Authentication
- Cloudflare R2 - Object storage
