Initial commit: RSS feed dashboard aggregating YouTube, Reddit and RT
- PHP 8 + PDO SQLite cache with on-demand TTL refresh and dedup by link hash - laminas-feed + Guzzle for RSS/Atom parsing and HTTP - Bootstrap 5 UI with source and time-range filters, AJAX load-more - User cron-free deployment under Apache/php-fpm; .htaccess hardening
This commit is contained in:
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
// YouTube Atom feeds (channel handles resolved to channel IDs).
|
||||
[
|
||||
'source' => 'youtube',
|
||||
'label' => 'Prof. Jiang - Fluxhistory',
|
||||
'url' => 'https://www.youtube.com/feeds/videos.xml?channel_id=UCtmugk6zDcFsiqLpSiE3Wmw', // @Prof.Jiang_Fluxhistory
|
||||
],
|
||||
[
|
||||
'source' => 'youtube',
|
||||
'label' => 'Fireship',
|
||||
'url' => 'https://www.youtube.com/feeds/videos.xml?channel_id=UCsBjURrPoezykLs9EqgamOA', // @Fireship
|
||||
],
|
||||
[
|
||||
'source' => 'youtube',
|
||||
'label' => 'Ravish Kumar',
|
||||
'url' => 'https://www.youtube.com/feeds/videos.xml?channel_id=UC0yXUUIaPVAqZLgRjvtMftw', // @ravishkumar.official
|
||||
],
|
||||
[
|
||||
'source' => 'youtube',
|
||||
'label' => 'David Bombal',
|
||||
'url' => 'https://www.youtube.com/feeds/videos.xml?channel_id=UCP7WmQ_U4GB3K51Od9QvM0w', // @davidbombal
|
||||
],
|
||||
|
||||
// Reddit RSS feeds.
|
||||
[
|
||||
'source' => 'reddit',
|
||||
'label' => 'r/DataHoarder',
|
||||
'url' => 'https://www.reddit.com/r/DataHoarder/.rss',
|
||||
],
|
||||
[
|
||||
'source' => 'reddit',
|
||||
'label' => 'r/Piracy',
|
||||
'url' => 'https://www.reddit.com/r/Piracy/.rss',
|
||||
],
|
||||
[
|
||||
'source' => 'reddit',
|
||||
'label' => 'r/homelabindia',
|
||||
'url' => 'https://www.reddit.com/r/homelabindia/.rss',
|
||||
],
|
||||
[
|
||||
'source' => 'reddit',
|
||||
'label' => 'r/LocalLLM',
|
||||
'url' => 'https://www.reddit.com/r/LocalLLM/.rss',
|
||||
],
|
||||
[
|
||||
'source' => 'reddit',
|
||||
'label' => 'r/homelab',
|
||||
'url' => 'https://www.reddit.com/r/homelab/.rss',
|
||||
],
|
||||
[
|
||||
'source' => 'reddit',
|
||||
'label' => 'r/networking',
|
||||
'url' => 'https://www.reddit.com/r/networking/.rss',
|
||||
],
|
||||
|
||||
// RT news (RSS with image enclosures).
|
||||
[
|
||||
'source' => 'rt',
|
||||
'label' => 'RT News',
|
||||
'url' => 'https://www.rt.com/rss/',
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user