This project provides a service to download and adjust videos from TikTok and Instagram. It consists of two main containers: a FastAPI container for handling the backend logic and an Nginx container for serving requests and acting as a reverse proxy.
- Download videos from TikTok and Instagram.
- Adjust video saturation.
- Periodic cleanup of old videos.
- Uses FastAPI for backend service.
- Uses Nginx as a reverse proxy.
- Docker
- Docker Compose
Install Docker and Docker-compose If you don't have them
curl -fsSL https://get.docker.com | sh && sudo apt-get install -y docker-compose
-
Clone the repository:
git clone https://github.com/5enox/metacreator.git cd metacreator
-
Build and start the containers:
docker compose up --build -d # to run both containers in detached mode
-
The service will be available at
http://localhost
.
-
FastAPI Container
- Handles the core functionality including downloading and adjusting videos.
- Exposes port
8000
.
-
Nginx Container
- Acts as a reverse proxy to route requests to the FastAPI container.
- Exposes port
80
.
- FastAPI: Web framework for building the API.
- Pydantic: Data validation and settings management using Python type annotations.
- Requests: For making HTTP requests.
- wget: For downloading videos.
- ffmpeg-python: For handling video processing.
- moviepy: For video editing.
- Docker: For containerizing the application.
- Nginx: For reverse proxy and serving the application.
- Add SSL support for Nginx.
- Implement video format conversion.
- Add support for additional video platforms.
- Improve error handling and logging.
- Implement user authentication and rate limiting.
Feel free to open issues and submit pull requests. We welcome contributions to improve this project.
This service was entirely developed by me, and I'm working on adding more platforms