Web-interface for Youtube-Downloader-API inspired by y2mate.com
hosted-demo-short-3.mp4
- Clone repository and enter the project directory.
git clone --recurse-submodules https://github.com/Simatwa/y2mate-clone.git
cd y2mate-clone- Install backend dependencies
cd backend
pip install -r requirements.txt- Start the backend server
python -m fastapi run app- On another terminal tab, start the frontend server from the root directory of the project
python -m http.server 8080 -d frontend
Then you can now access the web-interface from http://localhost:8080.
Tip
You can interact with one run now at https://y2mate-clone.vercel.app
Change the Base URL of the API to point to the one we had setup before and enjoy the service.
-
Navigate to the backend directory.
cd backend -
Create a .env file (configuration file).
cp configs/env/example .env
-
Update path to frontend directory in the
.envfile identified by keyfrontend_dirfrontend_dir = ../frontend
-
Start the server
python3 -m fastapi run app
- Now both API and frontend contents will be served from http://localhost:8000
Note
Purpose to checkout Youtube-Downloader-API to learn more about customizing the REST-API.

