11feed
1.0.0
11feed 是一個開源、自架、最小的 RSS 閱讀器,使用靜態網站產生器 11ty 建置。
克隆儲存庫
git clone https://github.com/cloudcannon/11feed.git
cd 11feed
安裝依賴項
npm install
設定您的 RSS 來源
JSON 設定:將.json
檔案與您的 feed 放在./src/_feeds/
中:
{
"category" : " Web " ,
"items" : [
" https://zachleat.com/web/feed/ " ,
" https://www.smashingmagazine.com/feed/ "
]
}
OPML 導入:將 OPML 匯出放入./src/_feeds/
:
<? xml version = " 1.0 " encoding = " UTF-8 " ?>
< opml version = " 2.0 " >
< head >
< title >Feed List</ title >
</ head >
< body >
< outline text = " Web " >
< outline type = " rss " text = " Zach Leatherman's Blog " xmlUrl = " https://zachleat.com/web/feed/ " />
< outline type = " rss " text = " Smashing Magazine " xmlUrl = " https://www.smashingmagazine.com/feed/ " />
</ outline >
</ body >
</ opml >
建造
建構:
npx @11ty/eleventy
在localhost:8080
上建置並提供服務:
npx @11ty/eleventy --serve
部署
將您的網站部署到靜態託管提供者。每個平台都提供了安排每日建置的方法:
我們歡迎貢獻!無論是功能建議、錯誤報告或拉取請求,我們都會感謝所有貢獻。如果您想改進 11feed,請提交問題或拉取請求。
11feed 是開源的,可根據 MIT 許可證使用。