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.0.tar.gz (15.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.0-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: erispulse_rssreader-1.1.0.tar.gz
  • Upload date:
  • Size: 15.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.0.tar.gz
Algorithm Hash digest
SHA256 213e94e66ef70056b640c65d184e2669c7e06e30b3c544e83002bdd65a5d6068
MD5 8318b5b144e3b0bfdbb8226373e91c36
BLAKE2b-256 cae90e8028dc33f363fbd997ee283a72d26885bbe7235b8e8f3d7e8bd220b915

See more details on using hashes here.

Provenance

The following attestation bundles were made for erispulse_rssreader-1.1.0.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.0-py3-none-any.whl.

File metadata

File hashes

Hashes for erispulse_rssreader-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4eecd8737bd2570591ed0ddfe839625f8fa58824fd4ad757c0fc2ab2eed894f7
MD5 ce1d3d0b89d3132d9ec264dd5dfa960b
BLAKE2b-256 dd4c74378efef510f02b0c05f4155b55364e23b92f661beed3542c4890a77e1f

See more details on using hashes here.

Provenance

The following attestation bundles were made for erispulse_rssreader-1.1.0-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