Skip to main content

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.0beautifulsoup4>=4.12(自动安装)

使用

交互式菜单

/rss

发送后显示菜单,回复编号即可操作:

  1. 添加订阅
  2. 查看订阅列表
  3. 删除订阅
  4. 暂停 / 恢复订阅
  5. 测试 RSS 源
  6. 立即推送

快捷订阅

/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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

erispulse_rssreader-1.1.1.tar.gz (21.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

erispulse_rssreader-1.1.1-py3-none-any.whl (22.8 kB view details)

Uploaded Python 3

File details

Details for the file erispulse_rssreader-1.1.1.tar.gz.

File metadata

  • Download URL: erispulse_rssreader-1.1.1.tar.gz
  • Upload date:
  • Size: 21.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for erispulse_rssreader-1.1.1.tar.gz
Algorithm Hash digest
SHA256 d3fcb1bc46b3f252c97babbe18b17b5f99b95866014f163227e1c855da113096
MD5 c67520f123382f230587d40316273466
BLAKE2b-256 9e2e038e62a0953535c1b415b6286926b914c95405c89c1b5deaa0bca215e640

See more details on using hashes here.

Provenance

The following attestation bundles were made for erispulse_rssreader-1.1.1.tar.gz:

Publisher: python-publish.yml on wsu2059q/ErisPulse-RssReader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file erispulse_rssreader-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for erispulse_rssreader-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2583449cf699210f17a8eef8d93ec9ffc79ec12c03a232a389778a842df66a22
MD5 61058c65cfaf8e3f91f8962021d906da
BLAKE2b-256 271cd17273d471e94d213eee056e5f0b5bebb3ec91077e3cd9a2a8c9aae6c5cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for erispulse_rssreader-1.1.1-py3-none-any.whl:

Publisher: python-publish.yml on wsu2059q/ErisPulse-RssReader

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page