{"id":13454717,"url":"https://github.com/srcrs/rss-reader","last_synced_at":"2025-10-11T08:35:46.507Z","repository":{"id":44451923,"uuid":"511605403","full_name":"srcrs/rss-reader","owner":"srcrs","description":"一个极简的RSS在线浏览工具","archived":false,"fork":false,"pushed_at":"2024-06-15T05:44:32.000Z","size":3357,"stargazers_count":414,"open_issues_count":11,"forks_count":82,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-05-25T06:08:07.271Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://rss.lass.cc","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/srcrs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-07T16:45:43.000Z","updated_at":"2025-05-21T12:05:29.000Z","dependencies_parsed_at":"2023-10-15T16:28:15.265Z","dependency_job_id":"36b82bd5-28ad-43b0-80c1-2db4b8757981","html_url":"https://github.com/srcrs/rss-reader","commit_stats":null,"previous_names":["srcrs/rss-reader"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/srcrs/rss-reader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcrs%2Frss-reader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcrs%2Frss-reader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcrs%2Frss-reader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcrs%2Frss-reader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/srcrs","download_url":"https://codeload.github.com/srcrs/rss-reader/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/srcrs%2Frss-reader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279006610,"owners_count":26084148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T08:00:57.257Z","updated_at":"2025-10-11T08:35:46.472Z","avatar_url":"https://github.com/srcrs.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# 简述\n\n实时展示rss订阅最新消息。\n\n## 特性\n\n- 打包后镜像大小仅有约20MB，通过docker实现一键部署\n\n- 支持自定义配置页面数据自动刷新\n\n- 响应式布局，能够兼容不同的屏幕大小\n\n- 良好的SEO，首次加载使用模版引擎快速展示页面内容\n\n- 支持添加多个RSS订阅链接\n\n- 简洁的页面布局，可以查看每个订阅链接最后更新时间\n\n- 支持夜间模式\n\n- config.json配置文件支持热更新\n\n2023年7月28日，进行了界面改版和升级\n\n![](pc.png)\n\n![](mobile.png)\n\n# 配置文件\n\n配置文件位于config.json，sources是RSS订阅链接，示例如下\n\n```json\n{\n    \"values\": [\n        \"https://www.zhihu.com/rss\",\n        \"https://tech.meituan.com/feed/\",\n        \"http://www.ruanyifeng.com/blog/atom.xml\",\n        \"https://feeds.appinn.com/appinns/\",\n        \"https://v2ex.com/feed/tab/tech.xml\",\n        \"https://www.cmooc.com/feed\",\n        \"http://www.sciencenet.cn/xml/blog.aspx?di=30\",\n        \"https://www.douban.com/feed/review/book\",\n        \"https://www.douban.com/feed/review/movie\",\n        \"https://www.geekpark.net/rss\",\n        \"https://hostloc.com/forum.php?mod=rss\u0026fid=45\u0026auth=389ec3vtQanmEuRoghE%2FpZPWnYCPmvwWgSa7RsfjbQ%2BJpA%2F6y6eHAx%2FKqtmPOg\"\n    ],\n    \"refresh\": 6,\n    \"autoUpdatePush\": 7,\n    \"nightStartTime\": \"06:30:00\",\n    \"nightEndTime\": \"19:30:00\"\n}\n```\n\n名称 | 说明\n-|-\nvalues | rss订阅链接（必填）\nrefresh | rss订阅更新时间间隔，单位分钟（必填）\nautoUpdatePush | 自动刷新间隔，默认为0，不开启。效果为前端每autoUpdatePush分钟自动更新页面信息，单位分钟（非必填）\nnightStartTime | 日间开始时间 ，如 06:30:00\nnightEndTime | 日间结束时间，如 19:30:00\n\n# 使用方式\n\n## Docker部署\n\n环境要求：Git、Docker、Docker-Compose\n\n克隆项目\n\n```bash\ngit clone https://github.com/srcrs/rss-reader\n```\n\n进入rss-reader文件夹，运行项目\n\n```bash\ndocker-compose up -d\n```\n\n国内服务器将Dockerfile中取消下面注释使用 go mod 镜像\n```dockerfile\n#RUN go env -w GO111MODULE=on \u0026\u0026 \\\n#    go env -w GOPROXY=https://goproxy.cn,direct\n```\n\n部署成功后，通过ip+端口号访问\n\n# nginx反代\n\n这里需要注意/ws，若不设置proxy_read_timeout参数，则默认1分钟断开。静态文件增加gzip可以大幅压缩网络传输数据\n\n```conf\nserver {\n    listen 443 ssl;\n    server_name rss.lass.cc;\n    ssl_certificate  fullchain.cer;\n    ssl_certificate_key lass.cc.key;\n    gzip on;\n    gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;\n    location / {\n        proxy_pass  http://localhost:8080;\n    }\n    location /ws {\n        proxy_pass http://localhost:8080/ws;\n        proxy_http_version 1.1;\n        proxy_set_header Upgrade $http_upgrade;\n        proxy_set_header Connection \"Upgrade\";\n        proxy_set_header Host $host;\n        proxy_read_timeout 300s;\n    }\n}\n\nserver {\n    listen 80;\n    server_name rss.lass.cc;\n    rewrite ^(.*)$ https://$host$1 permanent;\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrcrs%2Frss-reader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsrcrs%2Frss-reader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsrcrs%2Frss-reader/lists"}