#Release 频道远程管理、更多格式化选项和更多 (v2.2.0)
新特性
亮点
● 频道/群组远程管理: 现在你可以在和 bot 的私聊里管理你的频道/群组的订阅。支持使用大部分命令。只需以类似于
● 更多格式化选项:
● 媒体: 你可以选择让 Telegram 消息不带任何媒体 (只有文字)。也可以选择让 Telegram 消息只带有媒体和元数据 (没有内容);只有当有媒体附加到文章时才可如此,否则,它们仍会带有内容。
● 链接预览: 现在你可以强制关闭 Telegram 消息的链接预览。
● 来源: 更多来源格式化选项。阅读 格式设置指南 以获取详细信息。
● 部署到 Heroku: Bot 现在可以部署到 Heroku。阅读 部署指南 以获取详细信息。
● 用户权限管理: Bot 管理员现在可以使用
其他新特性
● 单列表格支持: 先前,所有 HTML 表格都被丢弃。现在,只含有单列的表格将被渲染为多行文本。请注意,多列表格仍会被丢弃。
● 适用于 lizhi.fm 的音频回落: 如果高音质音频超出了文件大小限制,自动回落到更低音质的音频。仅适用于 lizhi.fm。
增强
● Telegraph 文章美化: Telegraph 文章的格式美化。除此之外,所有图片和视频都使用媒体中继服务器来规避防盗链。
● 非 HTTP 超链接: Telegram 不支持非 HTTP 超链接。Bot 会自动将它们转换为裸 URL。
● Enclosure 清理: 如果一个附件包含非 HTTP URL 且文章中的链接已包含它,它将被移除。
● 懒惰的媒体验证器: 媒体验证器现在是懒惰的。它只有在一篇文章可能作为 Telegram 消息发送时才会运行。这将减少 CPU 使用量和网络流量。
● 增强的图片尺寸提取: 图片尺寸提取现在更快速和灵活。如果提取失败,bot 会尝试使用 images.weserv.nl 来提取。
● 本地化更新: 土耳其语 (Türkçe) 本地化文件已更新。 (英语 / English 、简体中文 、繁体中文 / 正體中文 和 粤语 / 廣東話 永远是最新的。)
● 改进的 Docker 构建缓存: 如果依赖未改变,无需再重新拉取完整的 Docker 镜像。只需使用缓存的依赖并拉取最新的源码。
● 从 Railway.app 的环境变量中提取 git 信息: Railway.app 上的部署现在可以识别 git 信息。
● 次要的增强
Bug 修复
● Python 3.7 兼容性: 上一个版本破坏了与 Python 3.7 的兼容性,现在已经修复了。请注意,仅支持 x86 和 amd64 架构。对于 arm64,最小的 Python 版本要求是 3.8。
● EntitiesTooLongError: 含有大量文本超链接的文章可引起 Telegram API 抛出这个错误。现在 bot 会尝试通过更激进的文章分割来修复这个错误。
●
● 不必要的图片回落: 如果至少有一张图片需要作为文件发送,bot 不再会将所有图片都回落成文件。
● 网络重试: 增加了一个需要进行重试的异常。
● 网页解码错误:
● 从 Exif 缩略图中提取图片尺寸: 一些图片在 Exif 数据中含有缩略图。Bot 现在会避免从缩略图中提取尺寸。
● 次要的 bug 修复
[你知道吗?上面的 release note 是由 RSStT 抓取并生成的。]
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
新特性
亮点
● 频道/群组远程管理: 现在你可以在和 bot 的私聊里管理你的频道/群组的订阅。支持使用大部分命令。只需以类似于
/sub @username https://exmaple.com
或 /sub -10010000000000 https://exmaple.com
的格式发送命令。(@username
是频道/群组的用户名, @
是不可缺少的; -10010000000000
是频道/群组的 ID, 必须以 -100
开头)● 更多格式化选项:
● 媒体: 你可以选择让 Telegram 消息不带任何媒体 (只有文字)。也可以选择让 Telegram 消息只带有媒体和元数据 (没有内容);只有当有媒体附加到文章时才可如此,否则,它们仍会带有内容。
● 链接预览: 现在你可以强制关闭 Telegram 消息的链接预览。
● 来源: 更多来源格式化选项。阅读 格式设置指南 以获取详细信息。
● 部署到 Heroku: Bot 现在可以部署到 Heroku。阅读 部署指南 以获取详细信息。
● 用户权限管理: Bot 管理员现在可以使用
/user_info
命令来管理 bot 用户 (用户/频道/群组) 的权限。这样管理员就可以设置谁可以使用 bot,即使禁用了多用户模式。其他新特性
● 单列表格支持: 先前,所有 HTML 表格都被丢弃。现在,只含有单列的表格将被渲染为多行文本。请注意,多列表格仍会被丢弃。
● 适用于 lizhi.fm 的音频回落: 如果高音质音频超出了文件大小限制,自动回落到更低音质的音频。仅适用于 lizhi.fm。
增强
● Telegraph 文章美化: Telegraph 文章的格式美化。除此之外,所有图片和视频都使用媒体中继服务器来规避防盗链。
● 非 HTTP 超链接: Telegram 不支持非 HTTP 超链接。Bot 会自动将它们转换为裸 URL。
● Enclosure 清理: 如果一个附件包含非 HTTP URL 且文章中的链接已包含它,它将被移除。
● 懒惰的媒体验证器: 媒体验证器现在是懒惰的。它只有在一篇文章可能作为 Telegram 消息发送时才会运行。这将减少 CPU 使用量和网络流量。
● 增强的图片尺寸提取: 图片尺寸提取现在更快速和灵活。如果提取失败,bot 会尝试使用 images.weserv.nl 来提取。
● 本地化更新: 土耳其语 (Türkçe) 本地化文件已更新。 (英语 / English 、简体中文 、繁体中文 / 正體中文 和 粤语 / 廣東話 永远是最新的。)
● 改进的 Docker 构建缓存: 如果依赖未改变,无需再重新拉取完整的 Docker 镜像。只需使用缓存的依赖并拉取最新的源码。
● 从 Railway.app 的环境变量中提取 git 信息: Railway.app 上的部署现在可以识别 git 信息。
● 次要的增强
Bug 修复
● Python 3.7 兼容性: 上一个版本破坏了与 Python 3.7 的兼容性,现在已经修复了。请注意,仅支持 x86 和 amd64 架构。对于 arm64,最小的 Python 版本要求是 3.8。
● EntitiesTooLongError: 含有大量文本超链接的文章可引起 Telegram API 抛出这个错误。现在 bot 会尝试通过更激进的文章分割来修复这个错误。
●
<div>
: Bot 现在会确保每个 <div>
标签都占据一整行。● 不必要的图片回落: 如果至少有一张图片需要作为文件发送,bot 不再会将所有图片都回落成文件。
● 网络重试: 增加了一个需要进行重试的异常。
● 网页解码错误:
cchardet
并不足够健壮以处理所有源。现在 bot 会尝试从 XML 编码声明中探测网页编码。同时,如果 cchardet
返回了不支持的编码,bot 会尝试使用 UTF-8 来解码网页。任何无法被解码的字符都会被替换为 �
。● 从 Exif 缩略图中提取图片尺寸: 一些图片在 Exif 数据中含有缩略图。Bot 现在会避免从缩略图中提取尺寸。
● 次要的 bug 修复
[你知道吗?上面的 release note 是由 RSStT 抓取并生成的。]
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
GitHub
Release Channel remote management, more formatting options, and more (v2.2.0) · Rongronggg9/RSS-to-Telegram-Bot
Additions
Highlights
Channel/group remote management: Now you can manage the subscription of your channel/group in the private chat with the bot. Most commands are supported. Just send commands li...
Highlights
Channel/group remote management: Now you can manage the subscription of your channel/group in the private chat with the bot. Most commands are supported. Just send commands li...
New deploy option: install from PyPI
Bot | Channel | Group | GitHub repo | Patreon
pip3 install -U pip setuptools
pip3 install rsstt
mkdir -p ~/.rsstt
wget https://raw.githubusercontent.com/Rongronggg9/RSS-to-Telegram-Bot/dev/.env.sample -O ~/.rsstt/.env
vi ~/.rsstt/.env # fill in env variables
python3 -m rsstt
Read the deployment guide for more information.Bot | Channel | Group | GitHub repo | Patreon
PyPI
rsstt
A Telegram RSS bot that cares about your reading experience
新的部署选择: 安装自 PyPI
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
pip3 install -U pip setuptools阅读部署指南以获得更多信息。
pip3 install rsstt
mkdir -p ~/.rsstt
wget https://raw.githubusercontent.com/Rongronggg9/RSS-to-Telegram-Bot/dev/.env.sample -O ~/.rsstt/.env
vi ~/.rsstt/.env # fill in env variables
python3 -m rsstt
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
PyPI
rsstt
A Telegram RSS bot that cares about your reading experience
#Maintenance
Telegram DC5 is experiencing a severe service downgrade. @RSStT_Bot is unable to send messages.
Telegram DC5 正经历严重的服务降级。 @RSStT_Bot 目前无法发送消息。
Telegram DC5 is experiencing a severe service downgrade. @RSStT_Bot is unable to send messages.
Telegram DC5 正经历严重的服务降级。 @RSStT_Bot 目前无法发送消息。
#Release Published to PyPI, HTML table converter, and more (v2.2.1)
Additions
Highlights
● Published to PyPI: RSStT is now available on PyPI. You may install it with
● HTML table converter: An HTML table converter has been implemented to convert HTML tables to images. It requires the environment variable
Other additions
● New l10n: The Indonesian (
● Add .env.sample: A sample
Enhancements
● Natural sorting: Send posts from the oldest to the newest.
● Timed GC: Perform a GC (garbage collection) every 10 minutes to clean up the memory.
● Update l10n: The Turkish (
● Security: Execute
● Minor enhancements
Bug fixes
● Misfired monitor job: Increased the
● Deps bump: Fixed an upstream bug preventing users from resetting all subscriptions to the user's default settings on a PostgreSQL-based instance.
● Minor bug fixes
Bot | Channel | Group | GitHub repo | Patreon
Additions
Highlights
● Published to PyPI: RSStT is now available on PyPI. You may install it with
pip install rsstt
. For more details, refer to the Deployment Guide.● HTML table converter: An HTML table converter has been implemented to convert HTML tables to images. It requires the environment variable
TABLE_TO_IMAGE
to be set to 1
, and CJK fonts to be installed. Please do note that the converter is not perfect, cannot handle rich-text formatting, may not work for all HTML tables, and can potentially lead to a higher performance cost and longer processing time.Other additions
● New l10n: The Indonesian (
id
, Bahasa Indonesia) translation has been added.● Add .env.sample: A sample
.env
file has been added.Enhancements
● Natural sorting: Send posts from the oldest to the newest.
● Timed GC: Perform a GC (garbage collection) every 10 minutes to clean up the memory.
● Update l10n: The Turkish (
tr
, Türkçe) translation has been updated.● Security: Execute
git
outside of the shell.● Minor enhancements
Bug fixes
● Misfired monitor job: Increased the
misfire_grace_time
to 10s to avoid monitor jobs being misfired because of high load.● Deps bump: Fixed an upstream bug preventing users from resetting all subscriptions to the user's default settings on a PostgreSQL-based instance.
● Minor bug fixes
Bot | Channel | Group | GitHub repo | Patreon
GitHub
Release Published to PyPI, HTML table converter, and more (v2.2.1) · Rongronggg9/RSS-to-Telegram-Bot
Additions
Highlights
Published to PyPI: RSStT is now available on PyPI. You may install it with pip install rsstt. For more details, refer to the Deployment Guide.
HTML table converter: An HTML ta...
Highlights
Published to PyPI: RSStT is now available on PyPI. You may install it with pip install rsstt. For more details, refer to the Deployment Guide.
HTML table converter: An HTML ta...
#Release 发布至 PyPI、HTML 表格转换器和更多 (v2.2.1)
新特性
亮点
● 发布至 PyPI: RSStT 现在可从 PyPI 中获取。可通过
● HTML 表格转换器: 实现了一个 HTML 表格转换器,可以将 HTML 表格转换为图片。需要将环境变量
其他新特性
● 新的本地化: 增加了印度尼西亚语 (
● 增加 .env.sample: 增加了范例
增强
● 自然排序: 从旧到新推送文章。
● 定时 GC: 每 10 分钟执行一次 GC (垃圾回收) 以清理内存。
● 本地化更新: 更新了土耳其语 (
● 安全: 在 shell 之外执行
● 次要的增强
Bug 修复
● 监视任务启动失败: 增加了
● 依赖更新: 修复了一个阻止用户在使用 PostgreSQL 的实例上重置所有订阅到用户的默认设置的上游 bug。
● 次要的 bug 修复
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
新特性
亮点
● 发布至 PyPI: RSStT 现在可从 PyPI 中获取。可通过
pip install rsstt
来安装。详细信息请参阅部署指南.● HTML 表格转换器: 实现了一个 HTML 表格转换器,可以将 HTML 表格转换为图片。需要将环境变量
TABLE_TO_IMAGE
设置为 1
,并且需要安装 CJK 字体。请注意,转换器不是完美的,不能处理富文本格式,可能无法处理所有的 HTML 表格,并可能会导致更高的性能成本和更长的处理时间。其他新特性
● 新的本地化: 增加了印度尼西亚语 (
id
, Bahasa Indonesia) 的翻译。● 增加 .env.sample: 增加了范例
.env
文件。增强
● 自然排序: 从旧到新推送文章。
● 定时 GC: 每 10 分钟执行一次 GC (垃圾回收) 以清理内存。
● 本地化更新: 更新了土耳其语 (
tr
, Türkçe) 的翻译。● 安全: 在 shell 之外执行
git
。● 次要的增强
Bug 修复
● 监视任务启动失败: 增加了
misfire_grace_time
至 10s 以避免监视任务由于高负载未能启动。● 依赖更新: 修复了一个阻止用户在使用 PostgreSQL 的实例上重置所有订阅到用户的默认设置的上游 bug。
● 次要的 bug 修复
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
GitHub
Release Published to PyPI, HTML table converter, and more (v2.2.1) · Rongronggg9/RSS-to-Telegram-Bot
Additions
Highlights
Published to PyPI: RSStT is now available on PyPI. You may install it with pip install rsstt. For more details, refer to the Deployment Guide.
HTML table converter: An HTML ta...
Highlights
Published to PyPI: RSStT is now available on PyPI. You may install it with pip install rsstt. For more details, refer to the Deployment Guide.
HTML table converter: An HTML ta...
I would like to share some data with you.
~750 users/groups/channels have used @RSStT_Bot, of which ~300 have at least one subscription currently. About half of them are ordinary users and half are channels/groups.
There are ~4800 subscriptions, of which ~1000 are subscribed by a single user and ~500 by another. There are five channels/groups which have ~150 subscriptions each.
I kindly remind everyone not to abuse the public bot but should "fair use" it. Maintaining the public bot cost me some money and time each month, and can't afford abuse. If one does need to subscribe to such a lot of subscriptions, they should deploy their own bot. Alternatively, I may deploy a bot especially for you if you Patreon me.
If you use the public bot in your channel/group, consider mentioning the bot (or this project) in your channel/group bio (or pinned message) to let more people know about it. This is not mandatory, although it will become mandatory for channels/groups with too many subscriptions in the future.
Later I may enforce some limitations to reflect the fair-use policy.
Any contributor to code or localization (at least finishing 50 strings not relying on machine translation) would not be limited as long as they make a request.
Bot | Channel | Group | GitHub repo | Patreon
我想和你们分享一些数据。
共有约 750 个用户/频道/群组曾使用过 @RSStT_Bot ,其中约 300 个目前至少有一份订阅。这之中,约有一半是普通用户,一半是频道/群组。
共有约 4800 份订阅,其中约 1000 份由一名用户订阅,约 500 份由另一名用户订阅。有五个频道/群组各订阅了约 150 份。
我谨提醒各位不要滥用公共 bot,而应该“公平使用”它。维护公共 bot 每个月都要花费我一些金钱和时间,经受不起滥用。如果真的需要这么多订阅,应当部署自己的 bot。或者,如果你向我捐赠的话,我可以专门为你部署一个 bot。
如果你在频道/群组里使用公共 bot ,请考虑在频道/群组简介 (或置顶消息) 里提及这个 bot (或这个项目),来让更多人了解它。这不是强制的,尽管未来将成为对订阅数目过多的频道/群组的强制要求。
以后我可能会实施一些限制来反映公平使用政策。
任何代码或本地化贡献者 (至少不依赖机器翻译完成 50 个字符串) 只要提出请求,将不会受到限制。
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
~750 users/groups/channels have used @RSStT_Bot, of which ~300 have at least one subscription currently. About half of them are ordinary users and half are channels/groups.
There are ~4800 subscriptions, of which ~1000 are subscribed by a single user and ~500 by another. There are five channels/groups which have ~150 subscriptions each.
I kindly remind everyone not to abuse the public bot but should "fair use" it. Maintaining the public bot cost me some money and time each month, and can't afford abuse. If one does need to subscribe to such a lot of subscriptions, they should deploy their own bot. Alternatively, I may deploy a bot especially for you if you Patreon me.
If you use the public bot in your channel/group, consider mentioning the bot (or this project) in your channel/group bio (or pinned message) to let more people know about it. This is not mandatory, although it will become mandatory for channels/groups with too many subscriptions in the future.
Later I may enforce some limitations to reflect the fair-use policy.
Any contributor to code or localization (at least finishing 50 strings not relying on machine translation) would not be limited as long as they make a request.
Bot | Channel | Group | GitHub repo | Patreon
我想和你们分享一些数据。
共有约 750 个用户/频道/群组曾使用过 @RSStT_Bot ,其中约 300 个目前至少有一份订阅。这之中,约有一半是普通用户,一半是频道/群组。
共有约 4800 份订阅,其中约 1000 份由一名用户订阅,约 500 份由另一名用户订阅。有五个频道/群组各订阅了约 150 份。
我谨提醒各位不要滥用公共 bot,而应该“公平使用”它。维护公共 bot 每个月都要花费我一些金钱和时间,经受不起滥用。如果真的需要这么多订阅,应当部署自己的 bot。或者,如果你向我捐赠的话,我可以专门为你部署一个 bot。
如果你在频道/群组里使用公共 bot ,请考虑在频道/群组简介 (或置顶消息) 里提及这个 bot (或这个项目),来让更多人了解它。这不是强制的,尽管未来将成为对订阅数目过多的频道/群组的强制要求。
以后我可能会实施一些限制来反映公平使用政策。
任何代码或本地化贡献者 (至少不依赖机器翻译完成 50 个字符串) 只要提出请求,将不会受到限制。
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
RSStT Bot Channel pinned «I would like to share some data with you. ~750 users/groups/channels have used @RSStT_Bot, of which ~300 have at least one subscription currently. About half of them are ordinary users and half are channels/groups. There are ~4800 subscriptions, of which…»
RSStT Bot Channel
I would like to share some data with you. ~750 users/groups/channels have used @RSStT_Bot, of which ~300 have at least one subscription currently. About half of them are ordinary users and half are channels/groups. There are ~4800 subscriptions, of which…
From now on, every user/channel/group using the public bot @RSStT_Bot can only subscribe to 150 feeds. Anyone who reaches the limit will have at least 7 days to reduce their number of subscriptions. After that, a forced subscription removal may occur.
If someone was found still abusing the public bot by creating multiple channels/groups to bypass the limit, they could probably lose their permission to use the public bot.
At present, the total number of subscriptions exceeds 5700. Only eight users/channels/groups have more than 150 subscriptions. They have over 3300 subscriptions in total.
If you use the public bot in your channel/group, consider mentioning the bot (or this project) in your channel/group bio (or pinned message) to let more people know about it. This is not mandatory, although it will become mandatory for channels/groups with too many subscriptions in the future.
I kindly remind everyone not to abuse the public bot but should "fair use" it. Maintaining the public bot cost me some money and time each month, and can't afford abuse. If one does need to subscribe to such a lot of subscriptions, they should deploy their own bot. Alternatively, I may deploy a bot especially for you if you Patreon me.
Any contributor to code or localization (at least finishing 50 strings not relying on machine translation) would not be limited as long as they make a request.
Bot | Channel | Group | GitHub repo | Patreon
从现在起,每个使用公共 bot @RSStT_bot 的用户/频道/群组只能拥有 150 份订阅。任何达到上限的人都将有至少 7 天的时间来减少订阅数量。之后,可能会发生强制删除订阅的情况。
如果发现有人通过创建多个频道/群组来绕过限制以继续滥用公共 bot ,他们可能会失去使用公共 bot 的许可。
目前,订阅总数超过 5700 份。只有八个用户/频道/群组的订阅数目超过 150。他们总共有超过 3300 份订阅。
如果你在频道/群组里使用公共 bot ,请考虑在频道/群组简介 (或置顶消息) 里提及这个 bot (或这个项目),来让更多人了解它。这不是强制的,尽管未来将成为对订阅数目过多的频道/群组的强制要求。
我谨提醒各位不要滥用公共 bot,而应该“公平使用”它。维护公共 bot 每个月都要花费我一些金钱和时间,经受不起滥用。如果真的需要这么多订阅,应当部署自己的 bot。或者,如果你向我捐赠的话,我可以专门为你部署一个 bot。
任何代码或本地化贡献者 (至少不依赖机器翻译完成 50 个字符串) 只要提出请求,将不会受到限制。
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
If someone was found still abusing the public bot by creating multiple channels/groups to bypass the limit, they could probably lose their permission to use the public bot.
At present, the total number of subscriptions exceeds 5700. Only eight users/channels/groups have more than 150 subscriptions. They have over 3300 subscriptions in total.
If you use the public bot in your channel/group, consider mentioning the bot (or this project) in your channel/group bio (or pinned message) to let more people know about it. This is not mandatory, although it will become mandatory for channels/groups with too many subscriptions in the future.
I kindly remind everyone not to abuse the public bot but should "fair use" it. Maintaining the public bot cost me some money and time each month, and can't afford abuse. If one does need to subscribe to such a lot of subscriptions, they should deploy their own bot. Alternatively, I may deploy a bot especially for you if you Patreon me.
Any contributor to code or localization (at least finishing 50 strings not relying on machine translation) would not be limited as long as they make a request.
Bot | Channel | Group | GitHub repo | Patreon
从现在起,每个使用公共 bot @RSStT_bot 的用户/频道/群组只能拥有 150 份订阅。任何达到上限的人都将有至少 7 天的时间来减少订阅数量。之后,可能会发生强制删除订阅的情况。
如果发现有人通过创建多个频道/群组来绕过限制以继续滥用公共 bot ,他们可能会失去使用公共 bot 的许可。
目前,订阅总数超过 5700 份。只有八个用户/频道/群组的订阅数目超过 150。他们总共有超过 3300 份订阅。
如果你在频道/群组里使用公共 bot ,请考虑在频道/群组简介 (或置顶消息) 里提及这个 bot (或这个项目),来让更多人了解它。这不是强制的,尽管未来将成为对订阅数目过多的频道/群组的强制要求。
我谨提醒各位不要滥用公共 bot,而应该“公平使用”它。维护公共 bot 每个月都要花费我一些金钱和时间,经受不起滥用。如果真的需要这么多订阅,应当部署自己的 bot。或者,如果你向我捐赠的话,我可以专门为你部署一个 bot。
任何代码或本地化贡献者 (至少不依赖机器翻译完成 50 个字符串) 只要提出请求,将不会受到限制。
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
RSStT Bot Channel pinned «From now on, every user/channel/group using the public bot @RSStT_Bot can only subscribe to 150 feeds. Anyone who reaches the limit will have at least 7 days to reduce their number of subscriptions. After that, a forced subscription removal may occur. If someone…»
Tips: why did the bot automatically leave my channel/group?
Once the bot finds itself lacking the permission to send messages (not granted or being blocked), it will immediately unsubscribe all subscriptions in this chat. Meanwhile, if this chat is a channel or group and the bot is still a member of it, it will leave the channel/group.
Make sure to grant the bot enough permission (sending messages) in channel/group.
Bot | Channel | Group | GitHub repo | Patreon
提示:为什么机器人自动退出了我的频道/群组?
一旦机器人发现自身缺乏发送消息的权限(未授予或被屏蔽),它将立即退订该聊天中的所有订阅。与此同时,如果该聊天是频道或群组且机器人仍是成员,它将退出该频道/群组。
确保在群组/频道中授予机器人足够的权限(发送消息)。
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
Once the bot finds itself lacking the permission to send messages (not granted or being blocked), it will immediately unsubscribe all subscriptions in this chat. Meanwhile, if this chat is a channel or group and the bot is still a member of it, it will leave the channel/group.
Make sure to grant the bot enough permission (sending messages) in channel/group.
Bot | Channel | Group | GitHub repo | Patreon
提示:为什么机器人自动退出了我的频道/群组?
一旦机器人发现自身缺乏发送消息的权限(未授予或被屏蔽),它将立即退订该聊天中的所有订阅。与此同时,如果该聊天是频道或群组且机器人仍是成员,它将退出该频道/群组。
确保在群组/频道中授予机器人足够的权限(发送消息)。
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
This media is not supported in your browser
VIEW IN TELEGRAM
Support for 👩💻 Python 3.11
Released on 2022-10-24, Python 3.11 is 10-60% (on average 25%) faster than Python 3.10. I helped
Now I've bumped Python to 3.11 on the latest official Docker image (note: the
ADVANCE NOTICE OF BREAKING CHANGES
The next release, planned to be released next month, will be the last release that supports Python 3.7. After that, RSStT will require Python 3.8+. For now, it is strongly unrecommend to keep on Python 3.7 as three dependencies have dropped their support for Python 3.7, and you have to face feature imperfection if running RSStT on Python 3.7.
Bot | Channel | Group | GitHub repo | Patreon
现已支持👩💻 Python 3.11
Python 3.11 于 2022-10-24 发布,比 Python 3.10 快 10-60% (平均 25%)。我帮助
现在,我已经将官方 Docker 镜像的 Python 版本提升到 3.11 (注意:跟踪
对重大变更的预先通知
计划于下个月发布的下一个版本将是支持 Python 3.7 的最后一个版本。之后,RSStT 将要求 Python 3.8+。目前,强烈不建议继续使用 Python 3.7,因为有三个依赖库不再支持 Python 3.7,如果在 Python 3.7 上运行 RSStT,则不得不面对功能上的不完美。
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
Released on 2022-10-24, Python 3.11 is 10-60% (on average 25%) faster than Python 3.10. I helped
cryptg
, an important dependency that makes RSStT communicate with Telegram DC more quickly on all supported platforms, gain its support for Python 3.11 and bumped some dependencies of RSStT to make them compatible with Python 3.11.Now I've bumped Python to 3.11 on the latest official Docker image (note: the
latest
tag tracking the master
branch is outdated, please migrate to the dev
tag tracking the dev
branch instead). It is the most recommended way to experience the performance optimization of Python 3.11 since still some dependencies lack prebuilt wheels for Python 3.11. In particular, building dependencies on Windows is significantly inconvenient, so please wait for their prebuilt wheels releasing :)ADVANCE NOTICE OF BREAKING CHANGES
The next release, planned to be released next month, will be the last release that supports Python 3.7. After that, RSStT will require Python 3.8+. For now, it is strongly unrecommend to keep on Python 3.7 as three dependencies have dropped their support for Python 3.7, and you have to face feature imperfection if running RSStT on Python 3.7.
Bot | Channel | Group | GitHub repo | Patreon
现已支持
Python 3.11 于 2022-10-24 发布,比 Python 3.10 快 10-60% (平均 25%)。我帮助
cryptg
(一个重要的依赖库,使 RSStT 能够在所有受支持的平台上更快地与 Telegram DC 通讯) 增加了对 Python 3.11 的支持,并升级了 RSStT 的一些依赖库使得它们与 Python 3.11 兼容。现在,我已经将官方 Docker 镜像的 Python 版本提升到 3.11 (注意:跟踪
master
分支的 latest
tag 已经过时,请迁移到跟踪 dev
分支的 dev
tag)。这是体验 Python 3.11 的性能优化的推荐方式,因为仍然有一些依赖库缺少 Python 3.11 的预构建 wheel。特别地,在 Windows 上构建依赖库非常不方便,因此请等候它们的预构建 wheel 发布 :)对重大变更的预先通知
计划于下个月发布的下一个版本将是支持 Python 3.7 的最后一个版本。之后,RSStT 将要求 Python 3.8+。目前,强烈不建议继续使用 Python 3.7,因为有三个依赖库不再支持 Python 3.7,如果在 Python 3.7 上运行 RSStT,则不得不面对功能上的不完美。
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
Please open Telegram to view this post
VIEW IN TELEGRAM
Fixed the service degradation of the public demo
In recent months, due to the rapid growth of the user base, the public demo (@RSStT_Bot) has suffered from service degradation. The root cause of the degradation was too many web requests resulting in too many DNS queries, making the DNS server rate-limit our VPS hosting the public demo. As a result, most web requests timed out. Now it has been fixed. So here is a tip: if your self-hosted instance is suffering from the same issue, set up a local DNS server like dnsmasq.
Some statistics about the public demo:
~20,000 feeds
~22,000 subscriptions
~6,600 users (including channels and groups)
US$6 monthly VPS (Vultr High Performance, 1 vCPU, 1GB RAM) fee
The public demo may be slow to respond due to the high server load. Deploy your own bot if you would like rapid response and a shorter monitor interval. If I receive more than US$18 donation monthly, I will consider upgrading the VPS for better performance (2 vCPU, 2GB RAM).
Bot | Channel | Group | GitHub repo | Patreon
修复了公共实例的服务降级问题
近几个月来,由于用户群体的快速增长,公共实例 (@RSStT_Bot) 的服务出现了降级。降级的根本原因是网络请求数量过大,导致发出了太多的 DNS 查询,使得 DNS 服务器对托管公共实例的 VPS 进行了速率限制。因此,大多数网络请求都超时了。现在这个问题已经得到修复。因此,这里有一个小提示:如果您的自托管实例遇到同样的问题,可以考虑设置一个本地 DNS 服务器,如 dnsmasq 。
有关公共实例的一些统计数据:
~20,000 个订阅源
~22,000 个订阅
~6,600 名用户(包括频道和群组)
每月 6 美元的 VPS(Vultr High Performance, 1 vCPU, 1GB RAM)费用
由于服务器负载较高,公共实例可能响应较慢。如果您期望快速响应和更短的监视间隔,请部署自己的机器人。如果我每月收到超过 18 美元的捐款,我会考虑升级 VPS 以获得更好的性能(2 vCPU,2GB RAM)。
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
In recent months, due to the rapid growth of the user base, the public demo (@RSStT_Bot) has suffered from service degradation. The root cause of the degradation was too many web requests resulting in too many DNS queries, making the DNS server rate-limit our VPS hosting the public demo. As a result, most web requests timed out. Now it has been fixed. So here is a tip: if your self-hosted instance is suffering from the same issue, set up a local DNS server like dnsmasq.
Some statistics about the public demo:
~20,000 feeds
~22,000 subscriptions
~6,600 users (including channels and groups)
US$6 monthly VPS (Vultr High Performance, 1 vCPU, 1GB RAM) fee
The public demo may be slow to respond due to the high server load. Deploy your own bot if you would like rapid response and a shorter monitor interval. If I receive more than US$18 donation monthly, I will consider upgrading the VPS for better performance (2 vCPU, 2GB RAM).
Bot | Channel | Group | GitHub repo | Patreon
修复了公共实例的服务降级问题
近几个月来,由于用户群体的快速增长,公共实例 (@RSStT_Bot) 的服务出现了降级。降级的根本原因是网络请求数量过大,导致发出了太多的 DNS 查询,使得 DNS 服务器对托管公共实例的 VPS 进行了速率限制。因此,大多数网络请求都超时了。现在这个问题已经得到修复。因此,这里有一个小提示:如果您的自托管实例遇到同样的问题,可以考虑设置一个本地 DNS 服务器,如 dnsmasq 。
有关公共实例的一些统计数据:
~20,000 个订阅源
~22,000 个订阅
~6,600 名用户(包括频道和群组)
每月 6 美元的 VPS(Vultr High Performance, 1 vCPU, 1GB RAM)费用
由于服务器负载较高,公共实例可能响应较慢。如果您期望快速响应和更短的监视间隔,请部署自己的机器人。如果我每月收到超过 18 美元的捐款,我会考虑升级 VPS 以获得更好的性能(2 vCPU,2GB RAM)。
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
Please open Telegram to view this post
VIEW IN TELEGRAM
#Release v2.4.1: Minor enhancements, bug fixes, and Happy New Year! 🎉
Enhancements
●
● Append enclosures to Telegraph post: Append enclosures (if any) to Telegraph post if any. Previously, enclosures can only be sent in Telegram messages, but not in Telegraph posts.
● Dependencies update: Bumped most outdated dependencies to the latest version. An optional dependency
● L10n update: Localizations have been updated.
● Misc refactoring: Some code has been refactored to improve readability and maintainability.
Bug fixes
● "Remote"
● Resized images still too big: Fix a bug causing images resized by
● Sinaimg images not parsed properly: Fix the URL regex of Sinaimg images. It can hopefully reduce the frequency of seeing "invalid media" in messages.
● WEBP fully fetched regardless of fetch limit: Fix a bug causing WEBP without
● Entry hashing for monitor and sub not unified: Unify the entry hashing for monitor and sub. Previously, the entry hashing for monitor and sub is not unified, which may cause the bot to send persisting entries (posts) after a feed is subscribed for the first time.
Bot | Channel | Group | GitHub repo | Patreon
#Release v2.4.1: 次要的增强和 bug 修复,以及新年快乐!🎉
增强
● 经反代的
● 将 enclosure 附加到 Telegraph 文章: 如果有的话,将 enclosure (附件) 附加到 Telegraph 文章。先前,enclosure 只能在 Telegram 消息中发送,而无法在 Telegraph 文章中发送。
● 依赖项更新: 将大部分过时的依赖项更新到了最新版本。引入可一个可选依赖
● 本地化更新: 本地化已被更新。
● 杂项重构: 重构了一些代码以提高可读性和可维护性。
Bug 修复
● “远程”
● 调节尺寸后的图像仍然太大: 修复了一个错误,这个错误导致经过
● Sinaimg 图片未被正确解析: 修复了针对 Sinaimg (微博图床) 图片的正则表达式。这有望减少在消息中见到 "Invalid media" 的频率。
● WEBP 被完全获取,而没有考虑获取限制: 修复了一个导致不带有
● 监视器和订阅的条目散列不统一: 统一监视器和订阅的条目散列。先前,监视器和订阅的条目散列不统一,这可能导致 bot 在一个 RSS 源被首次订阅后发送已经存在的条目 (文章)。
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
Enhancements
●
wsrv.nl
via relay: Try to use wsrv.nl
(environment variable IMAGES_WESERV_NL
) via the media relay server (environment variable IMG_RELAY_SERVER
). This is a workaround for images from domains/TLDs banned by wsrv.nl
or CDNs that ban wsrv.nl
. It can hopefully reduce the frequency of seeing "invalid media" in messages since RSStT uses wsrv.nl
heavily to convert images into formats accepted by Telegram DCs. See also #369.● Append enclosures to Telegraph post: Append enclosures (if any) to Telegraph post if any. Previously, enclosures can only be sent in Telegram messages, but not in Telegraph posts.
● Dependencies update: Bumped most outdated dependencies to the latest version. An optional dependency
isal
has been added to slightly improve the performance of entry hashing.● L10n update: Localizations have been updated.
● Misc refactoring: Some code has been refactored to improve readability and maintainability.
Bug fixes
● "Remote"
/test
unavailable: Fix a bug preventing the bot manager from using the /test
command "remotely".● Resized images still too big: Fix a bug causing images resized by
wsrv.nl
to be sometimes too big (exceed the 5MiB limitation of Telegram DC) to send.● Sinaimg images not parsed properly: Fix the URL regex of Sinaimg images. It can hopefully reduce the frequency of seeing "invalid media" in messages.
● WEBP fully fetched regardless of fetch limit: Fix a bug causing WEBP without
Content-Length
header to be fully fetched regardless of the fetch limit.● Entry hashing for monitor and sub not unified: Unify the entry hashing for monitor and sub. Previously, the entry hashing for monitor and sub is not unified, which may cause the bot to send persisting entries (posts) after a feed is subscribed for the first time.
Bot | Channel | Group | GitHub repo | Patreon
#Release v2.4.1: 次要的增强和 bug 修复,以及新年快乐!🎉
增强
● 经反代的
wsrv.nl
: 尝试通过媒体反代服务器 (环境变量 IMG_RELAY_SERVER
) 使用 wsrv.nl
(环境变量 IMAGES_WESERV_NL
)。这是对那些来自被 wsrv.nl
封禁的域名或将 wsrv.nl
封禁的 CDN 的图片的变通解决方案。考虑到 RSStT 大量使用 wsrv.nl
将图片转换为 Telegram DC 所接受的格式,这有望减少在消息中见到 "Invalid media" 的频率。另请参阅 #369。● 将 enclosure 附加到 Telegraph 文章: 如果有的话,将 enclosure (附件) 附加到 Telegraph 文章。先前,enclosure 只能在 Telegram 消息中发送,而无法在 Telegraph 文章中发送。
● 依赖项更新: 将大部分过时的依赖项更新到了最新版本。引入可一个可选依赖
isal
用于稍微提升条目散列的性能。● 本地化更新: 本地化已被更新。
● 杂项重构: 重构了一些代码以提高可读性和可维护性。
Bug 修复
● “远程”
/test
不可用:修复阻止 bot 管理员“远程”使用 /test
命令的错误。● 调节尺寸后的图像仍然太大: 修复了一个错误,这个错误导致经过
wsrv.nl
调节尺寸后的图像有时候仍然太大(超过 Telegram DC 的 5MiB 限制)以至于无法发送。● Sinaimg 图片未被正确解析: 修复了针对 Sinaimg (微博图床) 图片的正则表达式。这有望减少在消息中见到 "Invalid media" 的频率。
● WEBP 被完全获取,而没有考虑获取限制: 修复了一个导致不带有
Content-Length
标头的 WEBP 被完全获取,而没有考虑获取限制的错误。● 监视器和订阅的条目散列不统一: 统一监视器和订阅的条目散列。先前,监视器和订阅的条目散列不统一,这可能导致 bot 在一个 RSS 源被首次订阅后发送已经存在的条目 (文章)。
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
GitHub
Release v2.4.1: Minor enhancements, bug fixes, and Happy New Year! 🎉 · Rongronggg9/RSS-to-Telegram-Bot
Enhancements
wsrv.nl via relay: Try to use wsrv.nl (environment variable IMAGES_WESERV_NL) via the media relay server (environment variable IMG_RELAY_SERVER). This is a workaround for images from ...
wsrv.nl via relay: Try to use wsrv.nl (environment variable IMAGES_WESERV_NL) via the media relay server (environment variable IMG_RELAY_SERVER). This is a workaround for images from ...
#Release v2.5.0: Responsiveness improvement, tiny enhancements and fixes
Addition
● Set niceness for subprocesses/threads: (Unix only) Nice subprocesses and/or threads to improve the responsiveness of the main process. This is tunable via the environment variable
Enhancements
● HTML list support improvement: Now
Bug fixes
● Stay in topic group even when the "General" topic is closed: Now that topic groups are not fully supported, the bot can only send messages in the "General" topic. Previously, the bot would only send an error message to the bot manager if the "General" topic is closed. Now the bot will leave the topic group, without disturbing the bot manager, if the "General" topic is closed. This is a temporary limitation before topic groups are fully supported.
● v2.4.1 not released to PyPI: Due to a previous mistake, v2.4.1 could not be released to PyPI. v2.5.0 fixes the mistake and is released to PyPI.
Bot | Channel | Group | GitHub repo | Patreon
#Release v2.5.0: 响应性优化、小的增强和修复
新增功能
● 为子进程/线程设置 nice 值: (仅限 Unix) 为子进程和/或线程提升 nice 值以改进主进程的响应性。这可通过环境变量
增强
● 改进了对 HTML 列表的支持: 现在,
Bug 修复
● 即使 “General” 话题已关闭,也留在话题群组中: 由于话题群组尚未被完全支持,bot 只能在 “General” 话题中发送消息。先前,如果 “General” 话题被关闭,bot 只会向 bot 管理员发送错误消息。现在,如果 “General” 话题被关闭,bot 将离开话题群组,而不再打扰 bot 管理员。这是在话题群组完全受支持之前的一个临时限制。
● v2.4.1 未被发布到 PyPI: 由于一个先前的失误,v2.4.1 无法被发布到 PyPI。v2.5.0 修正了这一失误,并被发布到 PyPI。
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
Addition
● Set niceness for subprocesses/threads: (Unix only) Nice subprocesses and/or threads to improve the responsiveness of the main process. This is tunable via the environment variable
EXECUTOR_NICENESS_INCREMENT
.Enhancements
● HTML list support improvement: Now
<menu>
and <dir>
are treated the same as <ul>
(unordered list). In addition, orphan <li>
(list item) without a valid list parent tag are no longer ignored but treated as an item in an single unordered list.Bug fixes
● Stay in topic group even when the "General" topic is closed: Now that topic groups are not fully supported, the bot can only send messages in the "General" topic. Previously, the bot would only send an error message to the bot manager if the "General" topic is closed. Now the bot will leave the topic group, without disturbing the bot manager, if the "General" topic is closed. This is a temporary limitation before topic groups are fully supported.
● v2.4.1 not released to PyPI: Due to a previous mistake, v2.4.1 could not be released to PyPI. v2.5.0 fixes the mistake and is released to PyPI.
Bot | Channel | Group | GitHub repo | Patreon
#Release v2.5.0: 响应性优化、小的增强和修复
新增功能
● 为子进程/线程设置 nice 值: (仅限 Unix) 为子进程和/或线程提升 nice 值以改进主进程的响应性。这可通过环境变量
EXECUTOR_NICENESS_INCREMENT
调节。增强
● 改进了对 HTML 列表的支持: 现在,
<menu>
和 <dir>
被视为 <ul>
(无序列表)。此外,没有有效列表父标签的孤立 <li>
(列表项) 不再被忽略,而是被视为单个无序列表中的一个项目。Bug 修复
● 即使 “General” 话题已关闭,也留在话题群组中: 由于话题群组尚未被完全支持,bot 只能在 “General” 话题中发送消息。先前,如果 “General” 话题被关闭,bot 只会向 bot 管理员发送错误消息。现在,如果 “General” 话题被关闭,bot 将离开话题群组,而不再打扰 bot 管理员。这是在话题群组完全受支持之前的一个临时限制。
● v2.4.1 未被发布到 PyPI: 由于一个先前的失误,v2.4.1 无法被发布到 PyPI。v2.5.0 修正了这一失误,并被发布到 PyPI。
官方 bot 实例 | 加入频道 | 加入群组 | GitHub 仓库 | 捐赠支持
GitHub
Release v2.5.0: Responsiveness improvement, tiny enhancements and fixes · Rongronggg9/RSS-to-Telegram-Bot
Addition
Set niceness for subprocesses/threads: (Unix only) Nice subprocesses and/or threads to improve the responsiveness of the main process. This is tunable via the environment variable EXECUTO...
Set niceness for subprocesses/threads: (Unix only) Nice subprocesses and/or threads to improve the responsiveness of the main process. This is tunable via the environment variable EXECUTO...
RSStT Bot Channel
⭐️ 200 Stars, thank you! If you love this bot but have not hit the star button on GitHub, do not hesitate 💫 Video made with stargazer. Bot | Channel | Group | GitHub repo | Patreon ⭐️ 200 个 Star,感谢! 如果您对 bot 感到喜爱,却还没有在 GitHub 上点击过 Star,请不要犹豫 💫 视频使用 stargazer…
Please open Telegram to view this post
VIEW IN TELEGRAM