Git Product home page Git Product logo

ddrssbot's Introduction

DingDing Rss Robot

钉钉 rss 订阅机器人

功能

  • rss 订阅
  • rss 定时推送

使用说明

fork 本项目后,需要进行配置后才能正常使用

rss 源配置

使用数据库管理源打开 rss.db 文件,修改 rss.db 表中的 Rss 表

class Rss(BaseModel):
    feed = CharField(unique=True)  # 订阅地址
    cover = CharField(max_length=255, null=True)  # 封面(图片地址)
    title = CharField(max_length=20)  # 订阅名称
    url = CharField(max_length=255)   # 网站地址

定时配置

修改 .github/workflows/rssbot.yml 文件第 8 行 cronb 的表达式

⚠️ 频率不要太频繁,避免被误判滥用

其中 31 和 32 行配置可以设置为自己的邮箱和名称

git config --global user.email [email protected]
git config --global user.name linep47

配置环境变量

钉钉机器人需要使用 WEBHOOKSECRET(对应加签) 这两个参考钉钉机器人文档自行申请。

还需要申请一个 TOKEN, 点击 Personal access tokens (classic) 申请

然后在项目的 Settings 中依次添加 WEBHOOK,SECRET,TOKEN 三个参数

image

效果

image

ddrssbot's People

Contributors

leetaogoooo avatar linep47 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.