A full-stack application for subtitle management and processing, built with Next.js and Python.
This monorepo contains two main components:
next-frontend/
: A modern web application built with Next.js 14python-backend/
: A Python-based backend service for subtitle processing
The frontend is built with:
- Next.js 14
- TypeScript
- Tailwind CSS
- Radix UI components
- FFmpeg for video processing
- Various React hooks and utilities
-
Navigate to the frontend directory:
cd next-frontend
-
Install dependencies:
npm install
-
Set up environment variables:
- Copy
.env.example
to.env
and fill in the required variables
- Copy
-
Run the development server:
npm run dev
The frontend will be available at http://localhost:3000
The backend service is located in the python-backend
directory and handles subtitle processing and management.
-
Navigate to the backend directory:
cd python-backend
-
Set up a Python virtual environment:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
-
Install dependencies:
pip install -r requirements.txt
-
Run the backend service:
python -m subtitle_service
- Video subtitle processing and management
- FFmpeg integration for video manipulation
- Modern, responsive UI with Tailwind CSS
- Type-safe development with TypeScript
- Component-based architecture with Radix UI
- Form handling with React Hook Form and Zod validation
- Node.js 18+ for frontend development
- Python 3.8+ for backend development
- FFmpeg installed on your system
- Git
Frontend (.env
):
# Add your environment variables here
Backend:
# Add your backend environment variables here
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add some amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
This project is licensed under the Apache License 2.0 - see the LICENSE file for details.