anyant / rssant Goto Github PK
View Code? Open in Web Editor NEW蚁阅 - 让 RSS 更好用,轻松订阅你喜欢的博客和资讯
Home Page: https://rss.anyant.com
License: BSD 3-Clause "New" or "Revised" License
蚁阅 - 让 RSS 更好用,轻松订阅你喜欢的博客和资讯
Home Page: https://rss.anyant.com
License: BSD 3-Clause "New" or "Revised" License
如题,ReadYou链接
苹果全家桶,一直在用自建的ttrss,用reeder4阅读,想换成自建的蚂阅,但不知道支不支持fever插件
现在手头有台服务器,部署着自己的博客,想要同时在服务器部署博客和 rssant,理想状态是可以访问类似 blog.com/rssant/** 就可以代理到 rssant
这块有办法做么?
我推测 # 应用的访问地址 RSSANT_ROOT_URL=http://localhost:6789
改为 http://localhost:6789/rssant
,但是本地尝试了还是不行
如题,比较喜欢将各个平台需要稍后阅读的文章都统一丢到 pocket 里,然后找个时间一起看完,这样就不用频繁在各个平台间来回切换了
很多外网图片不能加载,加梯子才能加载出来
每个种子里的信息不能按照时间倒序吗?最新的在最上面,内容太多,旧的基本就不看了。
v1.4.0 重新设计了首页和订阅添加页面,走过路过欢迎吐槽和反馈~
点击下方表情按钮👍和👎参与投票,直接回复参与吐槽。
如Fever, Tiny Tiny RSS 或 FreshRSS 这样的API,方便使用阅读器查看文章。
如题,admin 登录进去的,没有看到 CHANGE PASSWORD 这个字眼,密码要如何修改?
PS:能否在账号页新增一个改密的功能,输入旧密码,改密为新密码,这样
I'd like to bring to your attention that we are discussing the possibility of removing lxml's clean_html functionality from lxml library. Over the past years, there have been several concerning security vulnerabilities discovered within the lxml library's clean_html functionality – CVE-2021-43818, CVE-2021-28957, CVE-2020-27783, CVE-2018-19787 and CVE-2014-3146.
The main problem is in the design. Because the lxml's clean_html functionality is based on a blocklist, it's hard to keep it up to date with all new possibilities in HTML and JS.
Two viable alternatives worth considering are bleach
and nh3
. Here's why:
bleach:
nh3:
We'll probably move the cleaning part of the lxml to a distinct project first so it will still be possible to use it but better is to find a suitable alternative sooner rather than later.
Let me know if we can help you with this transition anyhow and have a nice day.
目前分组后部分rss源仍然会被折叠,推测是根据干货程度值来自动判断的?
建议增加选项,允许用户手动设置分组中的rss条目合并显示,类似于将rss源加入“品读”之后的形式,自动将多个源的内容合并在一个列表中显示,阅读起来会更方便些,避免层层跳转。
可以隐藏已读(旧的太多看起来不是太美观)
目前蚁阅在手机端上显示的字体偏小,特意对比了其他几款类似的产品,蚁阅显示的字是最小的。特别是在看英文字体的时候,看的特别累。
现在在用一个非常强大的免费app叫NetNewsWire,可以按B直接在后台浏览器打开,还有个选项(像书本一样的图标)可以进入在rss内直接阅读全文的模式。当然也有局限性,它只能在苹果生态使用。
除此外,蚁阅有个最麻烦的也是不人道的地方,就是点了文章标题显示的是文章片段,还得一个个点进去看。
应该有个选项就是点了文章就是全文。
最好再有个选项是直接列出今天没看的新鲜文章。然后点标题就是全文。
导入rss后,有些一时不能识别出来,但是能不能也在订阅页面上显示,可以放在一个未完全识别或者识别中模块里面,这样就能知道哪些没有识别出来
真的太棒了!!!请问列表标题是否支持图片显示功能?
写后门几个意思?
按照文档操作,没有改任何参数。
环境debian10 Docker version 20.10.5, build 55c4c88
$ bash ~/rssant/start.sh
rssant-data
rssant-postgres-data
rssant-postgres-logs
Error: No such container: rssant
a70cdaa90c13fca8240931318a3921302f990fe7f9a2415e5bb29b06e5411f71
2021-04-17 03:31:47,689 INFO Set uid to user 0 succeeded
2021-04-17 03:31:47,760 INFO RPC interface 'supervisor' initialized
2021-04-17 03:31:47,760 CRIT Server 'inet_http_server' running without any HTTP authentication checking
2021-04-17 03:31:47,760 INFO RPC interface 'supervisor' initialized
2021-04-17 03:31:47,760 CRIT Server 'unix_http_server' running without any HTTP authentication checking
2021-04-17 03:31:47,760 INFO supervisord started with pid 1
2021-04-17 03:31:48,763 INFO spawned: 'api' with pid 10
2021-04-17 03:31:48,764 INFO spawned: 'async-api' with pid 11
2021-04-17 03:31:48,765 INFO spawned: 'harbor' with pid 12
2021-04-17 03:31:48,767 INFO spawned: 'initdb' with pid 13
2021-04-17 03:31:48,769 INFO spawned: 'nginx' with pid 14
2021-04-17 03:31:48,772 INFO spawned: 'postgres' with pid 15
2021-04-17 03:31:48,775 INFO spawned: 'scheduler' with pid 16
2021-04-17 03:31:48,778 INFO spawned: 'worker' with pid 18
+ /app/box/bin/wait-initdb.sh
+ rm -f /app/data/initdb.ready
2021-04-17 03:31:48,789 INFO success: initdb entered RUNNING state, process has stayed up for > than 0 seconds (startsecs)
+ /app/box/bin/wait-initdb.sh
+ /app/box/bin/wait-initdb.sh
+ /app/box/bin/wait-initdb.sh
+ su - postgres -c 'while true; do /usr/bin/pg_isready; status=$?; if [[ $status -eq 0 ]]; then break; fi; sleep 1; done;'
+ /usr/sbin/nginx -g 'daemon off;'
+ /app/box/bin/wait-initdb.sh
++ ls -A /var/lib/postgresql/11/main
+ '[' '!' '' ']'
+ echo 'copy postgresql init data to mounted volume'
copy postgresql init data to mounted volume
+ cp -r /var/lib/postgresql/11/init/PG_VERSION /var/lib/postgresql/11/init/base /var/lib/postgresql/11/init/global /var/lib/postgresql/11/init/pg_commit_ts /var/lib/postgresql/11/init/pg_dynshmem /var/lib/postgresql/11/init/pg_logical /var/lib/postgresql/11/init/pg_multixact /var/lib/postgresql/11/init/pg_notify /var/lib/postgresql/11/init/pg_replslot /var/lib/postgresql/11/init/pg_serial /var/lib/postgresql/11/init/pg_snapshots /var/lib/postgresql/11/init/pg_stat /var/lib/postgresql/11/init/pg_stat_tmp /var/lib/postgresql/11/init/pg_subtrans /var/lib/postgresql/11/init/pg_tblspc /var/lib/postgresql/11/init/pg_twophase /var/lib/postgresql/11/init/pg_wal /var/lib/postgresql/11/init/pg_xact /var/lib/postgresql/11/init/postgresql.auto.conf /var/lib/postgresql/11/main
/var/run/postgresql:5432 - no response
+ rm -f /var/lib/postgresql/11/main/postmaster.pid
+ /usr/lib/postgresql/11/bin/postgres -D /var/lib/postgresql/11/main -c config_file=/etc/postgresql/11/main/postgresql.conf
2021-04-17 03:31:48.913 UTC [40] LOG: listening on IPv4 address "0.0.0.0", port 5432
2021-04-17 03:31:48.913 UTC [40] LOG: listening on IPv6 address "::", port 5432
2021-04-17 03:31:48.919 UTC [40] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432"
2021-04-17 03:31:48.933 UTC [41] LOG: database system was shut down at 2020-04-19 06:34:02 UTC
2021-04-17 03:31:48.939 UTC [40] LOG: database system is ready to accept connections
/var/run/postgresql:5432 - accepting connections
2021-04-17 03:31:49,888 INFO success: api entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-04-17 03:31:49,889 INFO success: async-api entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-04-17 03:31:49,889 INFO success: harbor entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-04-17 03:31:49,890 INFO success: nginx entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-04-17 03:31:49,890 INFO success: postgres entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-04-17 03:31:49,890 INFO success: scheduler entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
2021-04-17 03:31:49,891 INFO success: worker entered RUNNING state, process has stayed up for > than 1 seconds (startsecs)
+ su - postgres -c 'psql -f /app/box/initdb.sql'
CREATE ROLE
CREATE DATABASE
+ python manage.py runscript django_pre_migrate
Traceback (most recent call last):
File "manage.py", line 4, in <module>
import rssant_common.django_setup # noqa:F401
File "/app/rssant_common/django_setup.py", line 27, in <module>
_django_setup()
File "/app/rssant_common/django_setup.py", line 23, in _django_setup
django.setup()
File "/usr/local/lib/python3.7/site-packages/django/__init__.py", line 19, in setup
configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)
File "/usr/local/lib/python3.7/site-packages/django/conf/__init__.py", line 79, in __getattr__
self._setup(name)
File "/usr/local/lib/python3.7/site-packages/django/conf/__init__.py", line 66, in _setup
self._wrapped = Settings(settings_module)
File "/usr/local/lib/python3.7/site-packages/django/conf/__init__.py", line 157, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/local/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "/app/rssant/settings/__init__.py", line 1, in <module>
from .settings import * # noqa: F401,F403
File "/app/rssant/settings/settings.py", line 16, in <module>
from rssant_config import CONFIG as ENV_CONFIG
File "/app/rssant_config/__init__.py", line 1, in <module>
from .env import CONFIG
File "/app/rssant_config/env.py", line 185, in <module>
CONFIG = load_env_config()
File "/app/rssant_config/env.py", line 182, in load_env_config
return EnvConfig(configs)
File "/usr/local/lib/python3.7/site-packages/validr/model.py", line 160, in __init__
raise ModelInvalid(errors)
validr._exception_c.ModelInvalid:
+---------------+---------------------------------+
| Key | Error |
+---------------+---------------------------------+
| rss_proxy_url | invalid or incorrect url format |
+---------------+---------------------------------+
其中rss_proxy_url没有改配置,enable值为false
https://github.com/anyant/rssant/blob/master/rssant_config/env.py
增加 user_registration_enable
环境变量配置
https://github.com/anyant/rssant/blob/master/rssant/auth.py
根据配置不开放注册接口
更新README补充配置说明
https://rsshub.app/rsshub/routes 可以访问
http://192.168.4.5:1221/rsshub/routes error
#1 try http://192.168.4.5:1221/rsshub/routes
-202 FEED_PRIVATE_ADDRESS_ERROR when request 'http://192.168.4.5:1221/rsshub/routes'
The url is unable to connect or likely not contain feed, abort!
Not found any feed!
有好多文章之前看过, 想找下却发现无能为力
建议增加搜索功能, 远期还可以以此作为入口, 增加智能标签, 分析文章类型, 命中指定标签自动分类等功能, 让Rss阅读更贴心智能!
#1 try https://www.bmpi.dev/index.xml
-202 FEED_PRIVATE_ADDRESS_ERROR when request 'https://www.bmpi.dev/index.xml'
The url is unable to connect or likely not contain feed, abort!
Not found any feed!
目测新版本有从网页面自动寻找rss(链接的次页面)功能,docker上的旧版本却没有!
求大佬更新
订阅界面下方展示了一些订阅链接的检查状态,但有些不想要了不知道如何删除。
使用 rssant 订阅 https://rsshub.app/rsshub/routes 显示 -206 FEED_CONNECTION_RESET when request '
是因为 https么?
如何解决?
The bot created this issue to inform you that pyup.io has been set up on this repo.
Once you have closed it, the bot will open pull requests for updates as soon as they are available.
我订阅的一个博客里会更新文章 https://www.yunyoujun.cn/atom.xml 也就是rss格式里有updated
但是我发现并不会检查更新时间 按照的是发布时间排序 导致更新文章无法看到
提个小建议,文章排序按照最新的在上面,个人感觉这样比较符合阅读习惯
往下滑可以用懒加载,一次性加载十条左右
Hello!
I noticed that rssant
uses pynliner where the last commit was in Jan 2017, so pynliner
, unfortunately, looks abandoned. Therefore I'd like to propose replacing it with css-inline (that I authored) or some other maintained alternative (e.g. premailer).
css-inline
is significantly faster - a sample HTML from templates/email/reset_password.html
is processed locally in ~140µs vs. ~28ms with pynliner
vs. ~2ms with premailer
. Though, it adds a dependency on the Rust toolchain for some users (where wheels aren't provided, like arm64) and generally supports fewer architectures than lxml
-based libraries (pynliner
& premailer
). However, I don't know whether it is a concern. The replacement itself would look like this:
from css_inline import inline
inline(html, remove_style_tags=True)
+ it might require changing the order of rendering for mako templates (pynliner
doesn't transform Mako's syntax as css-inline
does)
Let me know what do you think :) If you'll be ok with replacing pynliner
, I'd be happy to submit a PR
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.