3 ms·
Are you open to sharing the code you use to generate this?
by tnorthcutt 4y ago
Are you open to sharing the code you use to generate this?
- kevinfiol 4y agoSure: https://github.com/kevinfiol/youtube https://github.com/kevinfiol/youtube Some things to note if you'd like to use it: 1. I deploy to Github Pages via Github Actions. See .github/workflows/build.yml for details. The only thing you might wanna change here is the `schedule` of how often to build your page 2. I define my subscriptions in src/feeds.json. It's just an array of tuples [name, rss_url]. 3. I currently redirect to an Invidious instance. You can modify the `YOUTUBE_URL` const in scripts/render.js to `youtube.com` if you don't care for this EDIT: By the way, I also wrote this scrappy user script to quickly download my youtube subscriptions as JSON: https://gist.github.com/kevinfiol/da63cd137327b8f8d6b70706017320ef https://gist.github.com/kevinfiol/da63cd137327b8f8d6b7070601... It'll just create a `get feeds` button at https://www.youtube.com/feed/channels https://www.youtube.com/feed/channels