Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gbionescu/yt2podcast

Youtube channel to podcast server
https://github.com/gbionescu/yt2podcast

podcast youtube youtube-dl youtube-downloader

Last synced: 3 days ago
JSON representation

Youtube channel to podcast server

Awesome Lists containing this project

README

        

# yt2podcast
Turn a YouTube channel into a podcast channel using yt2podcast and listen audio tracks using your favorite podcast player.

Tested with:
- Podcast Addict on Android (works)
- gPodder on Linux (works)
- iTunes on Mac (does not work) - probably the XML needs more tags to satisfy iTunes

How to use:
1. Build the package.
2. Create a json file named `config.json` that specifies how podcast clients connect to the podcast server:
```
{
"Hostname": "your.domain.name",
"port": "8080"
"MaxYTStorageBytes": "How much data to keep in the YouTube storage folder. Value set in bytes."
}
```
3. Get YouTube API credentials from your GCP account and save them to `client_secret.json`.
4. Run the application.
5. Copy the username or channel ID of the YouTube channel that you want to listen to and add the following link in your podcast player:
- `http://your.domain.name:port/api/ytchan/`
- for example, CGP Grey, which can be found at `https://www.youtube.com/user/CGPGrey` would be used as `http://your.domain.name:port/api/ytchan/CGPGrey` or `http://your.domain.name:port/api/ytchan/UC2C_jShtL725hvbm1arSV9w`
You can also add a playlist directly by adding `http://your.domain.name:port/api/ytplaylist/`
6. Note: You will need to authenticate your application with the YouTube servers after adding a channel or playlist, so keep an eye on the console where the application was launched.