The cloud-based YouTube to mp3 host/converter
- bash
- wget
- docker
- make
- awscli (with admin account)
- samcli
Choose a unique bucket name
echo ytmp3-cloud-"$(tr -dc a-z0-9 </dev/urandom | head -c 13 ; echo '')"
Set YTMP3_STORE_BUCKET_NAME
in scripts/deploy.sh
Run the deploy script
make
Clean up build files during or after development
make clean
Run the destroy script
make destroy
The REST API URL will be Ytmp3ApiUrl
, output from ./scripts/deploy.sh
{
"error": "Invalid videoId"
}
{
"error": "Failed to download #########, please try again later",
}
{
"videoId": "#########",
"status": "PENDING",
"updatedAt": "2023-04-23T19:27:44.850Z",
"createdAt": "2023-04-23T19:27:44.850Z"
}
{
"videoId": "#########",
"status": "COMPLETE",
"url": "https://##########.s3.#########.amazonaws.com/0Sl5-Cl6LOo.mp3",
"updatedAt": "2023-04-23T19:27:44.850Z",
"createdAt": "2023-04-23T19:27:44.850Z"
}
Contributions are most welcome, please feel free to submit a PR!
-
John Van Sickle's ffmpeg static builds: https://johnvansickle.com/ffmpeg/
-
yt-dlp: https://github.com/yt-dlp/yt-dlp