RSS订阅器模块——在聊天中订阅任意RSS/Atom源,自动推送更新
Project description
ErisPulse-RssReader
ErisPulse RSS 订阅器模块——在聊天中订阅任意 RSS/Atom 源,自动推送更新。
功能
- 订阅任意 RSS/Atom 源,自动定时抓取并推送新内容
- 富文本卡片展示(Html > Markdown > Text 自动降级)
- 交互式菜单管理(
/rss即可进入) - 快捷订阅(
/rss <URL>) - 关键词过滤(包含/排除)
- 多群/多用户独立订阅
- 智能去重,不重复推送
- 订阅暂停/恢复
安装
epsdk install RssReader
或本地开发:
epsdk install -e /path/to/ErisPulse-RssReader
依赖:feedparser>=6.0、beautifulsoup4>=4.12(自动安装)
使用
交互式菜单
/rss
发送后显示菜单,回复编号即可操作:
- 添加订阅
- 查看订阅列表
- 删除订阅
- 暂停 / 恢复订阅
- 测试 RSS 源
- 立即推送
快捷订阅
/rss https://sspai.com/feed
添加订阅流程(对话式)
/rss
→ 回复 1
→ 输入 RSS 地址
→ 选择推送间隔(5分钟/15分钟/30分钟/1小时/3小时)
→ 设置关键词过滤(可选)
→ 完成
配置
配置文件位于 config/config.toml,首次加载自动生成:
[RssReader]
default_interval = 30 # 默认推送间隔(分钟)
max_items_per_push = 5 # 每次推送最大条数
auto_start = true # 启动时自动开始抓取
max_subs_per_chat = 20 # 每个聊天最大订阅数
命令一览
| 命令 | 说明 |
|---|---|
/rss |
打开交互式菜单 |
/rss <URL> |
快速订阅 RSS 源 |
菜单内通过编号选择:查看列表、删除、暂停/恢复、测试源、立即推送。
推送效果
推送时自动检测平台能力,按 Html > Markdown > Text 优先级降级展示:
- 单条更新 → 详细卡片(标题、作者、时间、摘要、链接)
- 多条更新 → 摘要列表(标题 + 时间)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file erispulse_rssreader-1.0.0.tar.gz.
File metadata
- Download URL: erispulse_rssreader-1.0.0.tar.gz
- Upload date:
- Size: 11.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4957e630b7b8a9756fbf208d8cbede75f2e27d6b3bd03113669bda1fe3746b25
|
|
| MD5 |
980d47104b78597eac5e318294feecd7
|
|
| BLAKE2b-256 |
a765d60f9fe0a4ec152fb562f599fd6f7057a8e26d7ad77530f2104a2b7b347f
|
Provenance
The following attestation bundles were made for erispulse_rssreader-1.0.0.tar.gz:
Publisher:
python-publish.yml on wsu2059q/ErisPulse-RssReader
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
erispulse_rssreader-1.0.0.tar.gz -
Subject digest:
4957e630b7b8a9756fbf208d8cbede75f2e27d6b3bd03113669bda1fe3746b25 - Sigstore transparency entry: 1462046412
- Sigstore integration time:
-
Permalink:
wsu2059q/ErisPulse-RssReader@46722522c884658416155314c142887026b2a05b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/wsu2059q
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@46722522c884658416155314c142887026b2a05b -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file erispulse_rssreader-1.0.0-py3-none-any.whl.
File metadata
- Download URL: erispulse_rssreader-1.0.0-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f697495042e6c70f17fd40d431a1abb53a97c598df43694d6b059745cdd42020
|
|
| MD5 |
c57f7e2c83b146f4d6c8d49c69e815ee
|
|
| BLAKE2b-256 |
6b56c594edf0d7f75c5385a3039579f2b6e2dfde7447e0562371c6c0f3d38568
|
Provenance
The following attestation bundles were made for erispulse_rssreader-1.0.0-py3-none-any.whl:
Publisher:
python-publish.yml on wsu2059q/ErisPulse-RssReader
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
erispulse_rssreader-1.0.0-py3-none-any.whl -
Subject digest:
f697495042e6c70f17fd40d431a1abb53a97c598df43694d6b059745cdd42020 - Sigstore transparency entry: 1462046419
- Sigstore integration time:
-
Permalink:
wsu2059q/ErisPulse-RssReader@46722522c884658416155314c142887026b2a05b -
Branch / Tag:
refs/heads/main - Owner: https://github.com/wsu2059q
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@46722522c884658416155314c142887026b2a05b -
Trigger Event:
workflow_dispatch
-
Statement type: