Skip to content

Conversation

@afrinxnahar
Copy link
Collaborator

@afrinxnahar afrinxnahar commented Dec 27, 2025

Key Changes:

  • Scalable AI Training:
    • Introduced BullMQ + Redis queue system for asynchronous AI model training.
    • Added dedicated train-ai-worker package with processors for video/audio download (yt-dlp), token management, and style analysis.
    • Real-time progress tracking via Server-Sent Events (SSE) and new status endpoints + progress bar in the dashboard.
  • Password Reset Flow:
    • Secure OTP-based reset using email (Resend + new email-templates package).
    • Updated backend controllers/services and rebuilt frontend UX (forgot/reset pages + OTP input component).
  • Infrastructure & Best Practices:
    • Enhanced Supabase integration (admin client, migrations for dubbing_jobs, user_style, OTP fields).
    • Centralized Zod validation (new validations package + validation pipe).
    • Added typed API client (api-client package) for safe backend calls.
    • Docker support (Dockerfile, docker-compose with Redis & worker).
    • Strict type safety across new packages (with .d.ts builds via tsup).

Benefits:

  • Handles high-volume AI jobs reliably without blocking the API.
  • Improved user experience with progress feedback and modern auth flows.
  • Cleaner, modular monorepo structure following DRY principles.

Resolves long-running training issues and lays foundation for production-scale features.

@vercel
Copy link
Contributor

vercel bot commented Dec 27, 2025

@afrinxnahar is attempting to deploy a commit to the afrin127329's projects Team on Vercel.

A member of the Team first needs to authorize it.

@afrinxnahar afrinxnahar merged commit 6f99693 into scriptaiapp:main Dec 27, 2025
2 of 5 checks passed
@afrinxnahar afrinxnahar changed the title Feat audio dub Scalable AI Training, password reset and infra Dec 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant