Skip to content

Hellnight2005/UniScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UniScript

UniScript is an AI-powered content localization pipeline designed to streamline the translation and subtitling of video content. It leverages Next.js for the frontend, Node.js for backend processing, and Lingo.dev for automated, high-quality AI translations.

🚀 Features

  • Video Upload & Processing: Upload MP4/MKV videos or subtitle files (SRT) for automated processing.
  • AI-Powered Localization: seamless integration with lingo.dev to translate content into 13+ languages (Spanish, French, German, Japanese, Hindi, Arabic, etc.).
  • Smart Dashboard: Real-time metrics on system load, processing speed, and content pipeline status.
  • Interactive Script Canvas: View, edit, and download processed transcripts and subtitles.
  • CI/CD Automation: Automated translation workflows using GitHub Actions.

🛠️ Tech Stack

  • Frontend: Next.js (React), Tailwind CSS
  • Backend: Node.js, Express (presumed based on context)
  • Localization: Lingo.dev (CLI & API)
  • Infrastructure: GitHub Actions for CI/CD

📦 Getting Started

Prerequisites

  • Node.js (v18+)
  • Lingo.dev Account & API Key

Installation

  1. Clone the repository

    git clone https://github.com/Hellnight2005/UniScript.git
    cd UniScript
  2. Install Dependencies

    cd frontend
    npm install
  3. Environment Setup Create a .env file in the frontend directory:

    LINGODOTDEV_API_KEY=your_lingo_api_key_here
  4. Run the Development Server

    npm run dev

    Open http://localhost:3000 to view the application.

🌍 Localization Workflow

UniScript uses Lingo.dev to manage translations automatically.

Manual Translation

To manually trigger a translation updates locally:

npm run i18n

This command runs lingo run, which pushes new keys from en.json and pulls translations for all target languages.

Automated CI/CD

A GitHub Action is configured in .github/workflows/translate.yml.

  • Trigger: Pushes to the main branch.
  • Action: Checks for changes in frontend/.
  • Output: Automatically creates a Pull Request with updated translations if new content is detected.

📂 Project Structure

UniScript/
├── frontend/
│   ├── app/                 # Next.js App Router
│   ├── components/          # Reusable React components
│   ├── i18n/                # Localization files (JSON)
│   ├── i18n.json            # Lingo.dev configuration
│   └── package.json         # Scripts and dependencies
├── backend/                 # Backend services (video processing)
└── .github/
    └── workflows/           # CI/CD pipelines

🤝 Contributing

  1. Fork the repository.
  2. Create a feature branch (git checkout -b feature/amazing-feature).
  3. Commit your changes (git commit -m 'feat: Add amazing feature').
  4. Push to the branch (git push origin feature/amazing-feature).
  5. Open a Pull Request.

About

Universal Video Script Generator & Localization Platform. Automatically converts videos into clean, readable scripts with optional translations. Supports video URLs, local files, and subtitles. Optimized for large videos using audio-only processing. Ideal for accessibility, language learning, and content localization.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors