aboutsummaryrefslogtreecommitdiff
path: root/modules/newsboat.home/public-feed.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/newsboat.home/public-feed.nix')
-rw-r--r--modules/newsboat.home/public-feed.nix57
1 files changed, 37 insertions, 20 deletions
diff --git a/modules/newsboat.home/public-feed.nix b/modules/newsboat.home/public-feed.nix
index 09ea6a7..b48284c 100644
--- a/modules/newsboat.home/public-feed.nix
+++ b/modules/newsboat.home/public-feed.nix
@@ -1,16 +1,22 @@
let
tag = t: ''tags # \"${toString t}\"'';
- youtube = title: id: tags:
- { title = "[yt] ${title} youtube"; url = "https://www.youtube.com/feeds/videos.xml?channel_id=${id}"; tags = ["youtube"] ++ tags; };
-in {
- queries = {
- "dev tag" = tag "dev";
- "news tag" = tag "news";
- "opensource tag" = tag "opensource";
- "youtube tag" = tag "youtube";
- "funny tag" = tag "funny";
- "science tag" = tag "sci";
+ youtube = title: id: tags: {
+ title = "[yt] ${title} youtube";
+ url = "https://www.youtube.com/feeds/videos.xml?channel_id=${id}";
+ tags = ["youtube"] ++ tags;
};
+in {
+ queries = [
+ { title = "#dev-blog"; query = tag "dev-blog"; }
+ { title = "#dev"; query = tag "dev"; }
+ { title = "#podcast"; query = tag "podcast"; }
+ { title = "#opensource"; query = tag "opensource"; }
+ { title = "#funny"; query = tag "funny"; }
+ { title = "#youtube"; query = tag "youtube"; }
+ { title = "#news"; query = tag "news"; }
+ { title = "#sci"; query = tag "sci"; }
+ { title = "#tv-shows"; query = tag "tv-shows"; }
+ ];
visible = [
{ url = "https://mshibanami.github.io/GitHubTrendingRSS/weekly/all.xml"; tags = ["latest"]; }
@@ -23,29 +29,37 @@ in {
{ url = "https://www.nasa.gov/news-release/feed/"; tags = ["sci"]; }
{ url = "https://www.nature.com/nature.rss"; tags = ["sci"]; }
{ url = "https://what-if.xkcd.com/feed.atom"; tags = ["sci"]; }
- { url = "https://overreacted.io/rss.xml"; tags = ["dev"]; }
- { url = "https://overreacted.io/rss.xml"; tags = ["dev"]; }
- { url = "https://kentcdodds.com/blog/rss.xml"; tags = ["dev"]; }
- { url = "https://developer.chrome.com/blog/feed.xml"; tags = ["dev"]; }
- { url = "https://programmingisterrible.com/rss"; tags = ["dev"]; }
+ { url = "https://feeds.transistor.fm/tomorrow"; tags = ["podcast"]; }
+ { url = "https://feed.syntax.fm/"; tags = ["podcast"]; }
+
+ { url = "https://overreacted.io/rss.xml"; tags = ["dev-blog"]; }
+ { url = "https://tkdodo.eu/blog/rss.xml"; tags = ["dev-blog"]; }
+ { url = "https://kentcdodds.com/blog/rss.xml"; tags = ["dev-blog"]; }
+ { url = "https://world.hey.com/dhh/feed.atom"; tags = ["dev-blog"]; }
+ { url = "https://developer.chrome.com/blog/feed.xml"; tags = ["dev-blog"]; }
+ { url = "https://programmingisterrible.com/rss"; tags = ["dev-blog"]; }
+ { url = "https://vercel.com/atom"; tags = ["dev-blog"]; }
+ { url = "https://reacttraining.com/rss.xml"; tags = ["dev-blog"]; }
+ { url = "https://www.developerway.com/rss.xml"; tags = ["dev-blog"]; }
+
{ url = "https://cprss.s3.amazonaws.com/javascriptweekly.com.xml"; tags = ["dev"]; }
{ url = "https://cprss.s3.amazonaws.com/react.statuscode.com.xml"; tags = ["dev"]; }
- { url = "https://dev.to/feed/tag/typescript"; tags = ["dev"]; title = "TS - dev.to"; }
+ { url = "https://www.totaltypescript.com/rss.xml"; tags = ["dev"]; }
{ url = "https://dev.to/feed/tag/haskell"; tags = ["dev"]; title = "Haskell - dev.to"; }
- { url = "https://nitter.privacydev.net/vim_tricks/rss"; tags = ["twitter" "dev" "opensource"]; }
+ { url = "https://devblogs.microsoft.com/typescript/feed/"; tags = ["news"]; }
+ { url = "https://dev.to/feed/tag/typescript"; tags = ["news"]; title = "TS - dev.to"; }
{ url = "https://hnrss.org/frontpage"; tags = ["news"]; }
{ url = "https://hackernoon.com/feed"; tags = ["news"]; }
+ { url = "https://nitter.privacydev.net/vim_tricks/rss"; tags = ["twitter" "opensource"]; }
{ url = "https://nixos.org/blog/announcements-rss.xml"; tags = ["opensource" "news"]; }
- { url = "https://www.reddit.com/r/opensource.rss"; tags = ["reddit" "opensource"]; title = "r/opensource"; }
{ url = "https://www.cyberciti.com/feed/"; tags = ["opensource" "news"]; }
{ url = "https://itsfoss.com/rss/"; tags = ["opensource" "news"]; }
+ { url = "https://www.reddit.com/r/opensource.rss"; tags = ["reddit" "opensource"]; title = "r/opensource"; }
{ url = "https://xkcd.com/rss.xml"; tags = ["funny"]; }
{ url = "http://phdcomics.com/gradfeed.php"; tags = ["funny"]; }
- { url = "https://www.reddit.com/r/ProgrammerHumor.rss"; tags = ["funny" "reddit"]; title = "r/ProgrammerHumor"; }
- { url = "https://feeds.feedburner.com/TheDailyWtf"; tags = ["funny"]; }
# Youtube channels
(youtube "IamMoBo" "UCJswRv22oiUgmT1FuFeUekw" ["funny"])
@@ -55,5 +69,8 @@ in {
(youtube "Fireship" "UCsBjURrPoezykLs9EqgamOA" ["dev"])
(youtube "No boilerplate" "UCUMwY9iS8oMyWDYIe6_RmoA" ["dev"])
(youtube "TypeCraft" "UCo71RUe6DX4w-Vd47rFLXPg" ["dev"])
+ (youtube "exurb1a" "UCimiUgDLbi6P17BdaCZpVbg" [])
+ (youtube "Casually Explained" "UCr3cBLTYmIK9kY0F_OdFWFQ" ["funny"])
+ (youtube "zefrank1" "UCVpankR4HtoAVtYnFDUieYA" ["funny"])
];
}