Giter Club home page Giter Club logo

iblis-cast's Introduction

IBLIS-CAST

Convert any YouTube channel or playlist to a RSS feed compatible with any podcast app.

Why

The purpose of this project is to be able to generate a RSS feed from any Youtube url without maintaining any server.

The main problems this script try to resolve are:

  • No need to have a Youtube API Key
  • No need to have any database, the RSS feed is generated for each call
  • No need to download files, convert them and host them

Features

  • Choose quality (default is 720p)
  • Choose number of latest items from the playlist or channel to show in the RSS feed (default is 5)
  • Works with dailymotion, vimeo
  • Works with unique video url

Library and Tools

  • Youtube-dl To extract videos information and the download url
  • rfeed To generate the RSS feed
  • Serverless To help us deploying our function
  • AWS For exposing the api in an inexpensive way (using AWS Lambda and AWS Gateway).

Deploy

Install and follow instructions to setup serverless with AWS

serverless deploy

Test

Get your api url in the console log after deploying, replace below and then open the url or copy it in your podcast app: https://XXXX.amazonaws.com/staging/getrss?url=https://www.youtube.com/channel/UC2QKuEonyj4rWPZyVcbTjqg

To change the default values: https://XXXX.amazonaws.com/staging/getrss?url=https://www.youtube.com/channel/UC2QKuEonyj4rWPZyVcbTjqg&count=20&quality=1080&filterTitle=Chine

Test locally

serverless invoke local --function getRss --path test.json

Contribute

  1. Fork this repository to your own GitHub account and then clone it to your local device
  2. Make the necessary changes and ensure that the tests are passing
  3. Send a pull request

Todo

  • Find a way to get the uploader's thumbnail and not use the first video thumbnail
  • Automatically download the latest youtube-dl and rfeed python library when a new version is available
  • Test other website with the supported sites
  • Make it faster to be able to add more items in playlist count (now timeout occurs if we request too much items in RSS feed)
  • Add option to generate RSS feed with only audio

Known issues

  • None for the moment

Thanks

License

Please, refer to LICENSE file

iblis-cast's People

Contributors

astik avatar vdelacou avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

darkzbaron

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.