Skip to content

CardSorting/dreambees

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DreamBees Video Generator

A powerful AI-driven video generation platform that transforms static images into engaging videos.

Features

  • 🎥 AI-powered video generation
  • 🔐 Secure authentication with Clerk
  • 📁 Video collection management
  • 🎨 Custom video settings
  • 🚀 High-performance processing

Security

We implement a robust security system that combines Clerk authentication with Firebase security rules:

Getting Started

  1. Clone the repository:
git clone https://github.com/yourusername/dreambees.git
cd dreambees
  1. Install dependencies:
npm install
  1. Set up environment variables:
cp .env.example .env
# Edit .env with your configuration
  1. Set up Firebase credentials:
npm run setup:firebase
  1. Start development server:
npm run dev:all

Development

Architecture

graph TD
    A[Client] --> B[Nuxt.js App]
    B --> C[Clerk Auth]
    B --> D[Firebase]
    B --> E[AWS Services]
    D --> F[Firestore]
    E --> G[MediaConvert]
    E --> H[S3]
    E --> I[CloudFront]
Loading

Key Components

  • Frontend: Nuxt.js with Vue 3
  • Authentication: Clerk
  • Database: Firebase Firestore
  • Storage: AWS S3
  • Video Processing: AWS MediaConvert
  • CDN: CloudFront

Security Implementation

Our security architecture combines:

  1. Clerk authentication
  2. Firebase custom tokens
  3. Firestore security rules
  4. AWS IAM policies

For detailed security documentation, see Firebase Security.

Testing

Run different test suites:

# Run all tests
npm run test:all

# Test Firebase security rules
npm run test:rules

# Test authentication flow
npm run test:auth

# Test queue system
npm run test:queue:all

Deployment

Firebase Deployment

Deploy Firestore configuration:

# Deploy everything
npm run deploy:firestore

# Deploy rules only
npm run deploy:rules

# Deploy indexes only
npm run deploy:indexes

Application Deployment

  1. Build the application:
npm run build
  1. Preview the build:
npm run preview
  1. Deploy to production:
# Deploy method depends on your hosting platform

Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm run preview - Preview production build
  • npm run worker - Start worker process
  • npm run worker:dev - Start worker in development mode
  • npm run dev:all - Start all development processes

Contributing

  1. Fork the repository
  2. Create your feature branch
  3. Run tests and validation
  4. Update documentation
  5. Create pull request

See Contributing Guidelines for more details.

Security

For security concerns:

  1. Review our Security Policy
  2. Check Firebase Security
  3. Contact [email protected]

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

Acknowledgments

About

AI Video Director

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published