发布于 /编辑于 /EverydayNews
RavelloH (@ravelloh)/https://ravelloh.com/projects/everydaynews
LOADING...
新版的EverydayNews,存储2022/06/04至今的所有每日60s新闻,以JSON格式存放,每日更新,自带搜索功能,可RSS订阅,提供API
项目重制了,旧项目的备份位于RavelloH/news-archive
新版的EverydayNews,存储2022/06/04至今的所有每日60s新闻,以JSON格式存放,每日更新,自带搜索功能,可RSS订阅。
预览:https://ravelloh.github.io/EverydayNews
国内加速地址:https://news.ravelloh.top
image
页面保留了原有的查询参数,同时重构为 React/Vite 界面。你可以使用查询参数自定义页面:
例如:
非常适合使用iframe挂载(亮色/暗色)
你也可以在上面链接最后加入&footer=none来去除页脚:
与v1相同,仍提供API用于获取某日期的新闻:
https://ravelloh.github.io/EverydayNews/latest.jsonhttps://news.ravelloh.top/latest.jsonhttps://ravelloh.github.io/EverydayNews/data/YYYY/MM/DD.jsonhttps://news.ravelloh.top/data/YYYY/MM/DD.jsonhttps://news.ravelloh.top/data/2025/01/01.json内容格式:
RSS订阅地址:
https://ravelloh.github.io/EverydayNews/rss.xmlhttps://news.ravelloh.top/rss.xml目前正在使用 vikiboss/60s-static-host 的静态 JSON 作为数据源,
使用 RavelloH/index-search作为静态搜索工具,
使用Github Actions进行每日更新。
生产构建使用 npm run build,会生成包含页面、新闻数据和搜索索引的 dist 目录。
<iframe src="https://ravelloh.github.io/EverydayNews?style=clean" width="600" height="800" frameborder="0"></iframe><iframe src="https://ravelloh.github.io/EverydayNews?style=clean&backgroundColor=111111&textColor=ffffff" width="600" height="800" frameborder="0"></iframe><iframe src="https://ravelloh.github.io/EverydayNews?style=clean&footer=none" width="600" height="800" frameborder="0"></iframe><iframe src="https://ravelloh.github.io/EverydayNews?style=clean&backgroundColor=111111&textColor=ffffff&footer=none" width="600" height="800" frameborder="0"></iframe>{
"date": "2025/01/01",
"content": [
"xxxxxxxxxx",
"xxxxxxxxxx",
"xxxxxxxxxx",
]
}npm install
npm run dev