nix-files/hosts/common/feeds.nix

244 lines
11 KiB
Nix
Raw Normal View History

# where to find good stuff?
# - podcasts w/ a community: <https://lemmyverse.net/communities?query=podcast>
# - podcast rec thread: <https://lemmy.ml/post/1565858>
#
2023-03-08 23:50:34 +00:00
# candidates:
# - The Nonlinear Library (podcast): <https://forum.effectivealtruism.org/posts/JTZTBienqWEAjGDRv/listen-to-more-ea-content-with-the-nonlinear-library>
# - has ~10 posts per day, text-to-speech; i would need better tagging before adding this
2023-03-09 00:33:27 +00:00
# - <https://www.metaculus.com/questions/11102/introducing-the-metaculus-journal-podcast/>
# - dead since 2022/10 - 2023/03
2023-03-08 23:50:34 +00:00
2023-01-11 13:16:26 +00:00
{ lib, sane-data, ... }:
2022-10-15 05:37:02 +00:00
let
hourly = { freq = "hourly"; };
daily = { freq = "daily"; };
weekly = { freq = "weekly"; };
infrequent = { freq = "infrequent"; };
art = { cat = "art"; };
humor = { cat = "humor"; };
pol = { cat = "pol"; }; # or maybe just "social"
rat = { cat = "rat"; };
tech = { cat = "tech"; };
uncat = { cat = "uncat"; };
2023-01-11 16:20:53 +00:00
text = { format = "text"; };
2023-01-25 23:44:06 +00:00
img = { format = "image"; };
2023-01-11 16:20:53 +00:00
2022-10-15 05:37:02 +00:00
mkRss = format: url: { inherit url format; } // uncat // infrequent;
2022-10-25 03:14:36 +00:00
# format-specific helpers
2023-01-08 05:24:56 +00:00
mkText = mkRss "text";
mkImg = mkRss "image";
mkPod = mkRss "podcast";
2022-10-15 05:37:02 +00:00
2022-10-25 03:14:36 +00:00
# host-specific helpers
2023-01-08 05:24:56 +00:00
mkSubstack = subdomain: { substack = subdomain; };
2022-10-25 03:14:36 +00:00
2023-01-11 13:16:26 +00:00
fromDb = name:
let
raw = sane-data.feeds."${name}";
in {
url = raw.url;
# not sure the exact mapping with velocity here: entries per day?
2023-01-25 23:49:52 +00:00
freq = lib.mkIf (raw.velocity or 0 != 0) (lib.mkDefault (
if raw.velocity > 2 then
2023-01-11 13:16:26 +00:00
"hourly"
2023-01-25 23:49:52 +00:00
else if raw.velocity > 0.5 then
2023-01-11 13:16:26 +00:00
"daily"
2023-01-25 23:49:52 +00:00
else if raw.velocity > 0.1 then
2023-01-11 13:16:26 +00:00
"weekly"
else
"infrequent"
2023-01-25 23:49:52 +00:00
));
} // lib.optionalAttrs (raw.is_podcast or false) {
format = "podcast";
} // lib.optionalAttrs (raw.title or "" != "") {
title = lib.mkDefault raw.title;
2023-01-11 13:16:26 +00:00
};
2022-10-15 05:37:02 +00:00
podcasts = [
(fromDb "craphound.com" // pol) # Cory Doctorow -- both podcast & text entries
(fromDb "feeds.libsyn.com/421877" // rat) # Less Wrong Curated
(fromDb "feeds.megaphone.fm/behindthebastards" // pol) # also Maggie Killjoy
(fromDb "feeds.simplecast.com/wgl4xEgL" // rat) # Econ Talk
2023-01-11 13:16:26 +00:00
(fromDb "lexfridman.com/podcast" // rat)
(fromDb "sscpodcast.libsyn.com" // rat) # Astral Codex Ten
(fromDb "omny.fm/shows/cool-people-who-did-cool-stuff" // pol) # Maggie Killjoy -- referenced by Cory Doctorow
(fromDb "congressionaldish.libsyn.com" // pol) # Jennifer Briney
2023-08-16 21:58:07 +00:00
(fromDb "werenotwrong.fireside.fm" // pol)
(fromDb "politicalorphanage.libsyn.com" // pol)
# (mkPod "https://podcasts.la.utexas.edu/this-is-democracy/feed/podcast/" // pol // weekly)
(fromDb "anchor.fm/s/34c7232c/podcast/rss" // tech) # Civboot -- https://anchor.fm/civboot
(mkPod "https://anchor.fm/s/21bc734/podcast/rss" // pol // infrequent) # Emerge: making sense of what's next -- <https://www.whatisemerging.com/emergepodcast>
(fromDb "feeds.feedburner.com/80000HoursPodcast" // rat)
(fromDb "feeds.megaphone.fm/hubermanlab" // uncat) # Daniel Huberman on sleep
(fromDb "mapspodcast.libsyn.com" // uncat) # Multidisciplinary Association for Psychedelic Studies
2023-01-11 13:16:26 +00:00
(fromDb "allinchamathjason.libsyn.com" // pol)
2023-06-01 00:04:54 +00:00
(fromDb "feeds.transistor.fm/acquired" // tech)
(fromDb "acquiredlpbonussecretsecret.libsyn.com" // tech) # ACQ2 - more "Acquired" episodes
(fromDb "rss.acast.com/deconstructed") # The Intercept - Deconstructed
2023-06-10 22:59:44 +00:00
# (fromDb "rss.prod.firstlook.media/deconstructed/podcast.rss" // pol) #< possible URL rot
(mkPod "https://feeds.simplecast.com/54nAGcIl" // pol // daily) # The Daily
(fromDb "rss.acast.com/intercepted-with-jeremy-scahill") # The Intercept - Intercepted
2023-06-10 23:08:51 +00:00
# (fromDb "rss.prod.firstlook.media/intercepted/podcast.rss" // pol) #< possible URL rot
(fromDb "podcast.posttv.com/itunes/post-reports.xml" // pol)
(fromDb "rss.art19.com/the-portal" // rat) # Eric Weinstein
(fromDb "darknetdiaries.com" // tech)
(fromDb "feeds.feedburner.com/radiolab" // pol) # Radiolab -- also available here, but ONLY OVER HTTP: <http://feeds.wnyc.org/radiolab>
(fromDb "wakingup.libsyn.com" // pol) # Sam Harris
(fromDb "feeds.99percentinvisible.org/99percentinvisible" // pol) # 99% Invisible -- also available here: <https://feeds.simplecast.com/BqbsxVfO>
2023-01-11 15:32:42 +00:00
(fromDb "rss.acast.com/ft-tech-tonic" // tech)
2023-01-11 15:06:18 +00:00
(fromDb "feeds.feedburner.com/dancarlin/history" // rat)
(fromDb "rss.art19.com/60-minutes" // pol)
(fromDb "feeds.megaphone.fm/recodedecode" // tech) # The Verge - Decoder
(fromDb "feed.podbean.com/matrixlive/feed.xml" // tech) # Matrix (chat) Live
2023-06-25 22:22:32 +00:00
(fromDb "cast.postmarketos.org" // tech)
2023-06-28 03:05:45 +00:00
(fromDb "podcast.thelinuxexp.com" // tech)
# (fromDb "rss.art19.com/your-welcome" // pol) # Michael Malice - Your Welcome -- also available here: <https://origin.podcastone.com/podcast?categoryID2=2232>
2023-01-21 09:41:20 +00:00
(fromDb "seattlenice.buzzsprout.com" // pol)
(fromDb "talesfromthebridge.buzzsprout.com" // tech) # Sci-Fi? has Peter Watts; author of No Moods, Ads or Cutesy Fucking Icons (rifters.com)
(fromDb "reverseengineering.libsyn.com/rss" // tech) # UnNamed Reverse Engineering Podcast
(mkPod "https://feeds.megaphone.fm/RUNMED9919162779" // pol // infrequent) # The Witch Trials of J.K. Rowling: <https://www.thefp.com/witchtrials>
(fromDb "feeds.simplecast.com/xKJ93w_w" // uncat) # Atlas Obscura
(fromDb "feeds.simplecast.com/82FI35Px" // pol) # Ezra Klein Show
(fromDb "sharkbytes.transistor.fm" // tech) # Wireshark Podcast o_0
(fromDb "omegataupodcast.net" // tech) # 3/4 German; 1/4 eps are English
(mkPod "https://audioboom.com/channels/5097784.rss" // tech) # Lateral with Tom Scott
];
2022-10-15 05:37:02 +00:00
texts = [
# AGGREGATORS (> 1 post/day)
2023-01-22 23:48:08 +00:00
(fromDb "lwn.net" // tech)
# (fromDb "lesswrong.com" // rat)
# (fromDb "econlib.org" // pol)
# AGGREGATORS (< 1 post/day)
2023-01-26 00:04:17 +00:00
(fromDb "palladiummag.com" // uncat)
2023-01-26 00:02:55 +00:00
(fromDb "profectusmag.com" // uncat)
2023-01-26 00:01:28 +00:00
(fromDb "semiaccurate.com" // tech)
2022-10-15 05:37:02 +00:00
(mkText "https://linuxphoneapps.org/blog/atom.xml" // tech // infrequent)
2023-05-12 07:45:42 +00:00
(fromDb "tuxphones.com" // tech)
2023-01-26 00:05:50 +00:00
(fromDb "spectrum.ieee.org" // tech)
2023-09-25 12:09:56 +00:00
# (fromDb "theregister.com" // tech)
(fromDb "thisweek.gnome.org" // tech)
# more nixos stuff here, but unclear how to subscribe: <https://nixos.org/blog/categories.html>
(mkText "https://nixos.org/blog/announcements-rss.xml" // tech // infrequent)
(mkText "https://nixos.org/blog/stories-rss.xml" // tech // weekly)
2023-01-25 10:31:48 +00:00
## n.b.: quality RSS list here: <https://forum.merveilles.town/thread/57/share-your-rss-feeds%21-6/>
(mkText "https://forum.merveilles.town/rss.xml" // pol // infrequent)
## No Moods, Ads or Cutesy Fucking Icons
2023-01-26 00:07:29 +00:00
(fromDb "rifters.com/crawl" // uncat)
# DEVELOPERS
2023-04-18 05:50:47 +00:00
(fromDb "blog.jmp.chat" // tech)
2023-01-11 13:16:26 +00:00
(fromDb "uninsane.org" // tech)
(fromDb "ascii.textfiles.com" // tech) # Jason Scott
2023-03-28 22:49:53 +00:00
(fromDb "xn--gckvb8fzb.com" // tech)
2023-09-25 12:09:38 +00:00
(fromDb "amosbbatto.wordpress.com" // tech)
2023-09-29 18:23:14 +00:00
(fromDb "fasterthanli.me" // tech)
2023-01-11 13:16:26 +00:00
(fromDb "mg.lol" // tech)
2023-05-05 01:52:11 +00:00
# (fromDb "drewdevault.com" // tech)
## Ken Shirriff
2023-01-11 13:16:26 +00:00
(fromDb "righto.com" // tech)
## shared blog by a few NixOS devs, notably onny
(fromDb "project-insanity.org" // tech)
## Vitalik Buterin
2023-01-26 00:00:16 +00:00
(fromDb "vitalik.ca" // tech)
## ian (Sanctuary)
2023-01-25 23:59:23 +00:00
(fromDb "sagacioussuricata.com" // tech)
## Bunnie Juang
2023-01-25 23:58:43 +00:00
(fromDb "bunniestudios.com" // tech)
2023-01-25 23:57:53 +00:00
(fromDb "blog.danieljanus.pl" // tech)
2023-01-25 23:57:00 +00:00
(fromDb "ianthehenry.com" // tech)
2023-01-25 23:56:22 +00:00
(fromDb "bitbashing.io" // tech)
(fromDb "idiomdrottning.org" // uncat)
2023-07-14 00:02:37 +00:00
(mkText "http://boginjr.com/feed" // tech // infrequent)
(mkText "https://anish.lakhwara.com/home.html" // tech // weekly)
2023-01-25 23:52:00 +00:00
(fromDb "jefftk.com" // tech)
2023-01-25 23:51:12 +00:00
(fromDb "pomeroyb.com" // tech)
# (mkText "https://til.simonwillison.net/tils/feed.atom" // tech // weekly)
2023-03-16 10:58:03 +00:00
# TECH PROJECTS
(fromDb "blog.rust-lang.org" // tech)
# (TECH; POL) COMMENTATORS
2023-01-25 10:36:10 +00:00
## Matt Webb -- engineering-ish, but dreamy
(fromDb "interconnected.org/home/feed" // rat)
2023-01-11 16:20:53 +00:00
(fromDb "edwardsnowden.substack.com" // pol // text)
2023-01-25 10:55:38 +00:00
## Julia Evans
(mkText "https://jvns.ca/atom.xml" // tech // weekly)
2022-10-15 05:37:02 +00:00
(mkText "http://benjaminrosshoffman.com/feed" // pol // weekly)
## Ben Thompson
2022-10-15 05:37:02 +00:00
(mkText "https://www.stratechery.com/rss" // pol // weekly)
## Balaji
2023-01-25 22:22:06 +00:00
(fromDb "balajis.com" // pol)
2023-01-25 22:48:57 +00:00
(fromDb "ben-evans.com/benedictevans" // pol)
2023-01-25 22:49:45 +00:00
(fromDb "lynalden.com" // pol)
2023-01-25 22:50:41 +00:00
(fromDb "austinvernon.site" // tech)
2022-10-25 03:14:36 +00:00
(mkSubstack "oversharing" // pol // daily)
(mkSubstack "byrnehobart" // pol // infrequent)
2023-03-22 18:43:58 +00:00
# (mkSubstack "doomberg" // tech // weekly) # articles are all pay-walled
## David Rosenthal
2023-01-25 23:25:11 +00:00
(fromDb "blog.dshr.org" // pol)
## Matt Levine
2022-10-15 05:37:02 +00:00
(mkText "https://www.bloomberg.com/opinion/authors/ARbTQlRLRjE/matthew-s-levine.rss" // pol // weekly)
2023-01-25 23:26:23 +00:00
(fromDb "stpeter.im/atom.xml" // pol)
2023-01-25 21:27:18 +00:00
## Peter Saint-Andre -- side project of stpeter.im
(fromDb "philosopher.coach" // rat)
2023-05-08 21:50:59 +00:00
(fromDb "morningbrew.com/feed" // pol)
# RATIONALITY/PHILOSOPHY/ETC
2022-10-25 03:14:36 +00:00
(mkSubstack "samkriss" // humor // infrequent)
(fromDb "unintendedconsequenc.es" // rat)
(fromDb "applieddivinitystudies.com" // rat)
2023-01-25 23:29:17 +00:00
(fromDb "slimemoldtimemold.com" // rat)
2023-01-25 23:29:58 +00:00
(fromDb "richardcarrier.info" // rat)
2023-01-25 23:32:11 +00:00
(fromDb "gwern.net" // rat)
## Jason Crawford
2023-01-25 23:32:53 +00:00
(fromDb "rootsofprogress.org" // rat)
## Robin Hanson
2023-01-25 23:34:30 +00:00
(fromDb "overcomingbias.com" // rat)
## Scott Alexander
2022-10-25 03:14:36 +00:00
(mkSubstack "astralcodexten" // rat // daily)
## Paul Christiano
2023-01-25 23:35:39 +00:00
(fromDb "sideways-view.com" // rat)
## Sean Carroll
(fromDb "preposterousuniverse.com" // rat)
2023-05-05 01:51:28 +00:00
(mkSubstack "eliqian" // rat // weekly)
2023-05-05 22:11:06 +00:00
(mkText "https://acoup.blog/feed" // rat // weekly)
2023-07-28 01:14:28 +00:00
(fromDb "mindingourway.com" // rat)
## mostly dating topics. not advice, or humor, but looking through a social lens
2023-01-25 23:38:58 +00:00
(fromDb "putanumonit.com" // rat)
# LOCAL
(fromDb "capitolhillseattle.com" // pol)
2022-10-15 05:37:02 +00:00
# CODE
# (mkText "https://github.com/Kaiteki-Fedi/Kaiteki/commits/master.atom" // tech // infrequent)
2022-10-15 05:37:02 +00:00
];
images = [
2023-01-25 23:45:49 +00:00
(fromDb "smbc-comics.com" // img // humor)
2023-01-25 23:44:06 +00:00
(fromDb "xkcd.com" // img // humor)
2023-09-25 23:09:56 +00:00
(fromDb "turnoff.us" // img // humor)
2023-01-25 23:45:16 +00:00
(fromDb "pbfcomics.com" // img // humor)
# (mkImg "http://dilbert.com/feed" // humor // daily)
2023-03-28 22:53:27 +00:00
(fromDb "poorlydrawnlines.com/feed" // img // humor)
# ART
2023-01-25 23:49:52 +00:00
(fromDb "miniature-calendar.com" // img // art // daily)
2022-10-15 05:37:02 +00:00
];
2023-01-08 05:24:56 +00:00
in
{
sane.feeds = texts ++ images ++ podcasts;
assertions = builtins.map
(p: {
assertion = p.format or "unknown" == "podcast";
message = ''${p.url} is not a podcast: ${p.format or "unknown"}'';
})
podcasts;
2022-09-23 11:14:46 +00:00
}