An open API service indexing awesome lists of open source software.

https://github.com/yei-linux/youtube-mixer

Tool to manage , download, create social media content using IA and more features.
https://github.com/yei-linux/youtube-mixer

Last synced: about 2 months ago
JSON representation

Tool to manage , download, create social media content using IA and more features.

Awesome Lists containing this project

README

        



gamiBrain

Youtube Mixer



# Resume

- This is a site where you can download any video from youtube either mp4 or mp3 format. After that you can start using our content creator AI.

- You will need to upload a video and this video generate a transcription, then you could interact with it.

- If you want you could highlight the best part of the video and generate a short with the highlight!

# Setup

- Please run these following commands:

```console
npm run front:dev
npm run docker:compose-up
```

# Possible issues

- In case you have docker size issues in your device you can run this following commands to see the memory details and clear it:

```console
docker system df -v
docker builder prune -a
```

# Generate our docker builds

- Run these commands:

```console
npm run docker:build-yt-mixer
npm run docker:build-transcribe
```

# Generate and push our docker images to ECR

- Setup ecs-cli and gnupg

```console
npm run aws:deploy-ecr
```

- In case for just login run:

```console
aws ecr-public get-login-password --profile jesus --region us-east-1 | docker login --username AWS --password-stdin public.ecr.aws
```

# Create EC2 Instance

- Run these commands:

```console
npm run aws:create-ec2-instance
```

# Connect EC2 and setup

- Connect to ec2 instance , download gists files and run the shell files to setup:

```console
ssh -i "~/.ssh/youtube-mixer-cluster.pem" [email protected]

curl -O https://gist.githubusercontent.com/Yei-Linux/0c7e5e044563af265086786b7cb5553a/raw/faa7f71c5d9736db662fdfa2d8394a96df353471/ec2-setup.sh
curl -O https://gist.githubusercontent.com/Yei-Linux/89bedf9e27c6cbbfee2311892b8fb49a/raw/89c3bb535de10eeffdefadeb1c8e00320d395014/ec2-docker-install.sh
curl -O https://gist.githubusercontent.com/Yei-Linux/21f3b61fec844ddb9c926c093bdd0231/raw/ad88bbf65f28569099e9e81f1225091ee80ffe33/ec2-caprover-install.sh
curl -O https://gist.githubusercontent.com/Yei-Linux/1831bb0742755d26977c4723eea579bc/raw/491c048f689490df13cc0feec2a8eea57599d145/ec2-remove-captain.sh
```

# Caprover NGINX Config

- Setup:

```console

location / {

proxy_read_timeout 120s; #### <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
<%
if (s.httpBasicAuthPath) {
%>
auth_basic "Restricted Access";
auth_basic_user_file <%-s.httpBasicAuthPath%>;
<%
}
%>
```

# Caprover

- Password: mixer123