User-Profile-Image
hankin
  • 5
  • centos7
  • docker
  • mysql
  • PostgreSQL
  • git/gitlab
  • ELK
  • python
    • python-Tornado
    • python-django
  • redis
  • nginx
  • kvm
  • proxmox
  • mongo
  • kubernetes
  • prometheus
  • GlusterFs
  • nfs
  • freeswitch
  • httpd
  • shell脚本
  • linux
  • fastdfs
  • nextcloud
  • openssl
  • openvpn
  • rabbitmq
  • sqlite
  • svn
  • java
  • ubuntu
  • vue2
  • wordpress
  • php
  • IOT物联网
  • 项目
  • 故障处理
  • 树莓派
  • 博客存档
  • 未分类
  • 杂项
  • #1742(无标题)
  • 新视野
  • 分类
    • 项目
    • 树莓派
    • 杂项
    • 未分类
    • 新视野
    • 故障处理
    • 博客存档
    • wordpress
    • vue2
    • ubuntu
    • svn
    • sqlite
    • shell脚本
    • redis
    • rabbitmq
    • python-django
    • python
    • proxmox
    • prometheus
    • PostgreSQL
    • php
    • openvpn
    • openssl
    • nginx
    • nfs
    • nextcloud
    • mysql
    • mongo
    • linux
    • kvm
    • kubernetes
    • java
    • IOT物联网
    • httpd
    • GlusterFs
    • git/gitlab
    • freeswitch
    • fastdfs
    • ELK
    • docker
    • centos7
  • 页面
    • #1742(无标题)
  • 友链
      请到[后台->主题设置->友情链接]中设置。
Help?

Please contact us on our email for need any support

Support
    首页   ›   新视野   ›   正文
新视野

使用FreshRSS和Fluent Reader搭建自己的资讯系统

2024-08-29 16:37:59
947  0 1

使用FreshRSS和Fluent Reader搭建自己的资讯系统

原理

在一台linux服务器上部署FreshRSS服务,然后使用网页管理查看RSS订阅,或者使用Fluent客户端。

部署FreshRSS服务

采用docker方式部署,由于dockerhub无法访问,先设置daemon.json。

# cat /etc/docker/daemon.json 
{ 
  "registry-mirrors" : 
    [ 
      "https://docker.m.daocloud.io",
      "https://docker.udayun.com", 
      "https://noohub.ru", 
      "https://huecker.io",
      "https://dockerhub.timeweb.cloud" 
    ] 
}

然后执行: 
    systemctl daemon-reload && systemctl restart docker
就可以拉取镜像:
    docker pull freshrss/freshrss
运行容器:
    docker run -d --restart unless-stopped --log-opt max-size=100m   -p 8080:80   -e TZ=Asia/Shanghai   --name freshrss   freshrss/freshrss

配置:
    浏览器访问http://ip:8080
    然后根据提示选择中文,连接数据库、设置账号等步骤,支持pg、mysql、sqlite三种数据库。

安装Fluent Reader

网址:https://hyliu.me/fluent-reader/
最底部有下载连接

配置fluent接入

FreshRSS部分
在FreshRSS网页设置,流程如下。


然后再按如下流程操作

其中密码需要自己设置

然后点击如下位置


弹出如下界面,其中的url后续需要填入客户端

FreshRSS API endpoints
Google Reader compatible API
Your API address:
http://127.0.0.1:8080/api/greader.php
Google Reader API configuration test:
✔️ PASS
Fever compatible API
Your API address:
http://127.0.0.1:8080/api/fever.php
Fever API configuration test:
✔️ PASS
Fluent部分
打开该客户端,点击设置-点击服务-填入相关信息并确认。即可开启电脑客户端访问

配置手机端接入

ios
app名称 netnewswire
app中打开设置,点击如下位置即可添加,数据同上客户端。

安卓

略

配置代理和SSL证书

申请ssl证书
    略
配置nginx文件
server {
    listen 443 ssl;
    ssl_certificate /etc/nginx/conf.d/x.com.pem;
    ssl_certificate_key /etc/nginx/conf.d/x.com.key;
    server_name  x.com;
    #client_max_body_size  10m;
    #client_body_buffer_size 1024k;    

    location / {
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Host $http_host;
        proxy_http_version 1.1;
        proxy_set_header Upgrade $http_upgrade;
        proxy_redirect off;
        proxy_set_header        X-Forwarded-Proto $scheme;
        proxy_connect_timeout       300;
        proxy_send_timeout          300;
        proxy_read_timeout          300;
        send_timeout                300;
        proxy_pass http://127.0.0.1:8080;
    }
}

server {
    listen xx:80;
    server_name  xx.com.show;
    return 301 https://$host$request_uri;
}

开启SSL后,对应的登录地址改成https://域名 即可

遇到的问题

1 自动更新不生效
网页设置了更新时间、容器内查看cron服务正常,即使执行php /var/www/FreshRSS/app/actualize_script.php也不更新。
可参考https://blog.csdn.net/weixin_43328837/article/details/136951413,提到的https://freshrss.github.io/FreshRSS/en/users/09_refreshing_feeds.html#automatic-update-with-cron 官方解决办法。
点击网页刷新按钮手动刷新,或在宿主机创建cron任务访问刷新url。


其他参考资料

https://www.bmabk.com/index.php/post/239740.html

评论 (0)

点击这里取消回复。

欢迎您 游客  

Copyright © 2025 网站备案号 : 蜀ICP备2022017747号
smarty_hankin 主题. Designed by hankin
主页
页面
  • #1742(无标题)
博主
tang.show
tang.show 管理员
linux、centos、docker 、k8s、mysql等技术相关的总结文档
210 文章 2 评论 194492 浏览
测试
测试