Skip to content

Abdssamie/templeclip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

610 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

TempleClip Logo

TempleClip - Template-based video creation

Create videos from code templates powered by Remotion

🎯 What is TempleClip?

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.

⚠️ Project Status

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.

✨ Features

  • 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

💻 Development

🐳 Docker (Recommended)

Quick Start:

docker compose -f docker-compose.yml \
  -f docker-compose.dev.yml up -d

Ports:

  • Frontend: 5173
  • Backend: 8000
  • FastAPI: 3000

🛠️ Local Development

# 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

🚀 Production Deployment

Docker Compose:

docker compose up -d

With Custom Domain:

PROD_DOMAIN=yourdomain.com docker compose up -d

Ports:

  • HTTP: 80
  • HTTPS: 443

⚙️ Environment Configuration

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

Architecture

  • Frontend: React Router v7 (SSR)
  • Backend: Node.js + Express
  • Rendering: Remotion
  • Database: PostgreSQL
  • Cache: Redis
  • Storage: Cloudflare R2
  • Auth: Better Auth (Google OAuth)

Known Issues

  • Docker networking requires manual configuration for some platforms
  • No comprehensive test coverage

Alternatives

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

Contribution

Contributcome, but please note this project is in maintenance mode. Major refactoring would be needed for production use.

License

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.

Acknowledgments

Built with:

About

Template-based video creation with variable substitution powered by Remotion

Topics

Resources

License

Unknown, AGPL-3.0 licenses found

Licenses found

Unknown
LICENSE.md
AGPL-3.0
LICENSE-AGPL3.md

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors