commit 7c8eb014688a04cc88657e89f7a36cd99e883aa2
parent a2cf927baa496bdeb0151e614049b74d78f17edd
Author: Henry Unite <unitehenry@gmail.com>
Date: Sun, 10 May 2026 22:00:19 +0000
feat: hackernews
Diffstat:
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/configs/feeds.csv b/configs/feeds.csv
@@ -5,3 +5,4 @@ tetsuoai,/twitter/user/tetsuoai,tetsuoai
dax,/twitter/user/thdxr,thdxr
valigo,/twitter/user/valigo,valigo
tsoding,/twitter/user/tsoding,tsoding
+Hacker News,/hackernews,hackernews
diff --git a/scripts/feeds b/scripts/feeds
@@ -28,7 +28,7 @@ while IFS= read -r line; do
curl $RSS_PATH > "/tmp/$FEED_FILENAME.xml"
xq -j "/tmp/$FEED_FILENAME.xml" > "public/feeds/$FEED_FILENAME.json"
else
- echo "http://127.0.0.1:1200$RSSPATH?format=json"
- curl "http://127.0.0.1:1200$RSSPATH?format=json" > "public/feeds/$FEED_FILENAME.json"
+ echo "http://127.0.0.1:1200$RSS_PATH?format=json"
+ curl "http://127.0.0.1:1200$RSS_PATH?format=json" > "public/feeds/$FEED_FILENAME.json"
fi
done < configs/feeds.csv