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.
- Video Upload & Processing: Upload MP4/MKV videos or subtitle files (SRT) for automated processing.
- AI-Powered Localization: seamless integration with
lingo.devto 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.
- 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
- Node.js (v18+)
- Lingo.dev Account & API Key
-
Clone the repository
git clone https://github.com/Hellnight2005/UniScript.git cd UniScript -
Install Dependencies
cd frontend npm install -
Environment Setup Create a
.envfile in thefrontenddirectory:LINGODOTDEV_API_KEY=your_lingo_api_key_here
-
Run the Development Server
npm run dev
Open http://localhost:3000 to view the application.
UniScript uses Lingo.dev to manage translations automatically.
To manually trigger a translation updates locally:
npm run i18nThis command runs lingo run, which pushes new keys from en.json and pulls translations for all target languages.
A GitHub Action is configured in .github/workflows/translate.yml.
- Trigger: Pushes to the
mainbranch. - Action: Checks for changes in
frontend/. - Output: Automatically creates a Pull Request with updated translations if new content is detected.
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
- Fork the repository.
- Create a feature branch (
git checkout -b feature/amazing-feature). - Commit your changes (
git commit -m 'feat: Add amazing feature'). - Push to the branch (
git push origin feature/amazing-feature). - Open a Pull Request.