diff --git a/.gitignore b/.gitignore index 7c07201..82c1586 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,6 @@ node_modules/* public/index.html +public/styles.css dist/* -.DS_Store \ No newline at end of file +.DS_Store +configs/feeds.json diff --git a/bun.lockb b/bun.lockb index 0f32659..52d7c18 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/config/feeds.json b/config/feeds.json deleted file mode 100644 index 506bc29..0000000 --- a/config/feeds.json +++ /dev/null @@ -1,100 +0,0 @@ -{ - "Comics": [ - "http://www.catanacomics.com/rss", - "http://feeds.feedburner.com/InvisibleBread", - "https://hejibits.com/rss#_=_", - "http://www.hrwiki.org/wiki/Special:Updates", - "http://rockpapercynic.tumblr.com/rss" - ], - "Podcasts & Videos": [ - "https://lilyandsam.show/feed", - "https://www.youtube.com/feeds/videos.xml?channel_id=UC3g-w83Cb5pEAu5UmRrge-A", - "https://www.youtube.com/feeds/videos.xml?channel_id=UCakAg8hC_RFJm4RI3DlD7SA", - "https://www.youtube.com/feeds/videos.xml?channel_id=UCHZOwvEh9FAG95RO3PWhe5g", - "https://www.youtube.com/feeds/videos.xml?channel_id=UCvVsD2hFZRgKNH7x5Q1wwug", - "https://www.youtube.com/feeds/videos.xml?channel_id=UCDq5v10l4wkV5-ZBIJJFbzQ", - "https://www.youtube.com/feeds/videos.xml?channel_id=UCMkbjxvwur30YrFWw8kpSaw", - "https://www.youtube.com/feeds/videos.xml?channel_id=UCSuT9FSddzI6W5Bij9XwtmA", - "https://www.youtube.com/feeds/videos.xml?channel_id=UCqqJQ_cXSat0KIAVfIfKkVA", - "https://www.youtube.com/feeds/videos.xml?channel_id=UCuvSqzfO_LV_QzHdmEj84SQ", - "https://www.youtube.com/feeds/videos.xml?channel_id=UCSdma21fnJzgmPodhC9SJ3g", - "https://www.youtube.com/feeds/videos.xml?channel_id=UCj1VqrHhDte54oLgPG4xpuQ", - "https://www.youtube.com/feeds/videos.xml?channel_id=UCy0tKL1T7wFoYcxCe0xjN6Q", - "https://www.youtube.com/feeds/videos.xml?channel_id=UCsvn_Po0SmunchJYOWpOxMg" - ], - "Friends and Family": [ - "https://www.goodreads.com/review/list_rss/132710826?shelf=read", - "https://joekhoury.blog/feed/", - "https://mastodon.social/users/samwarnick.rss" - ], - "Games": [ - "https://www.nomanssky.com/news/feed/", - "https://www.lexaloffle.com/bbs/feed.php?uid=1", - "https://www.factorio.com/blog/rss", - "https://kill-the-newsletter.com/feeds/pghhn8aaf264tukg.xml", - "http://www.suppermariobroth.com/rss", - "http://unknownworlds.com/subnautica/feed/", - "https://store.steampowered.com/feeds/news/app/1675200/?cc=US&l=english" - ], - "Finance": [ - "http://feeds.feedburner.com/MrMoneyMustache", - "http://feeds.feedburner.com/DoctorOfCredit", - "https://kill-the-newsletter.com/feeds/tgor1vrwcf3f0uyo.xml", - "https://kill-the-newsletter.com/feeds/5q4gs79dfh32yr3h.xml" - ], - "News": [ - "http://www.economist.com/rss/the_world_this_week_rss.xml", - "https://newsroom.churchofjesuschrist.org/rss", - "http://feeds.feedburner.com/LdsChurchGrowth", - "https://www.sltrib.com/arc/outboundfeeds/news/?outputType=xml", - "https://www.ksl.com/rss/news/news_utah", - "https://www.readtangle.com/posts/rss/" - ], - "Parenting": [ - "https://technosapiens.substack.com/feed", - "https://parentdata.org/feed/" - ], - "Fashion": [ - "http://www.heddels.com/feed/", - "http://putthison.com/rss", - "https://articlesofinterest.substack.com/feed", - "https://dappered.com/feed/", - "https://dieworkwear.com/feed/", - "http://fromsqualortoballer.com/rss", - "https://fabricateurialist.substack.com/feed", - "https://www.menswearmusings.com/feed/", - "https://www.permanentstyle.com/feed" - ], - "Products": [ - "https://jellyfin.org/index.xml", - "https://gitlab.com/CalcProgrammer1/OpenRGB/-/tags?format=atom", - "http://feeds.feedburner.com/psblog", - "https://matrix.org/blog/feed/", - "https://brave.com/feed/", - "https://bitwarden.com/blog/feed.xml" - ], - "Humor": [ - "https://kill-the-newsletter.com/feeds/d90ng280lhh3p2nq.xml", - "https://aiweirdness.com/rss", - "http://mcmansionhell.tumblr.com/rss" - ], - "Other": [ - "https://kill-the-newsletter.com/feeds/400aiwxy5ox6ao0d.xml", - "http://brandonsanderson.com/feed/", - "https://kill-the-newsletter.com/feeds/j3c4wngg2hpjmdt8.xml", - "https://astralcodexten.substack.com/feed/" - ], - "Tech News": [ - "https://samwarnick.com/feed.rss", - "http://feeds.feedburner.com/CssTricks", - "http://chriscoyier.net/feed/", - "https://jenniferdaniel.substack.com/feed/", - "http://www.gamingonlinux.com/article_rss.php", - "http://www.theverge.com/rss/full.xml", - "https://hnrss.org/frontpage?points=70" - ], - "Emulation": [ - "http://melonds.kuribo64.net/rss.php", - "https://dolphin-emu.org/blog/feeds/" - ] -} diff --git a/config/template.html b/config/template.html index 29d6f9e..82ca7f6 100644 --- a/config/template.html +++ b/config/template.html @@ -7,7 +7,7 @@ Carter's RSS Feeds - + - -
+ +

📰 Carter's RSS Feeds

-
+
{% for group, feeds in data %} -
-

{{ group }}

+
+

{{ group }}

{% for feed in feeds %} -
- - {{ feed.title }} - ({{ feed.feed }}) +
+ + {% if feed.hasRecent %} +
✳︎
+ {% endif %} +
+
{{ feed.title }}
+
({{ feed.feed }})
+
-
    +
      {% for item in feed.items %} -
    • - - - {% if yazzyUrl %} -
      - yazzy -
      +
    • + {% if item.isRecent %} +
      ✳︎
      {% endif %} +
      + +
      + {{ item.timestamp | formatDateTime}} +
      + {% if yazzyUrl %} +
      + yazzy +
      + {% endif %} +
    • {% endfor %}
    @@ -136,17 +146,17 @@ {% endfor %}
{% if errors | length > 0 %} -

Errors

+

Errors

There were errors trying to parse these feeds:

{% endif %}