Git Product home page Git Product logo

dingtalk-broadcast's Introduction

钉钉消息群发

主要特色

  • 利用函数计算,一键部署钉钉机器人群发私服,解放双手
  • 通过鉴权认证,避免私服泄漏

使用方法

  1. 开通 阿里云函数计算服务 并安装配置 函数计算工具 fcli

  2. git clone https://github.com/awesome-fc/dingtalk-broadcast.git

  3. 在项目目录下的 urls.txt 文件中,输入要使用的群发机器人的 webhook

    webhook地址:

    • 点击 钉钉桌面版 右上角的个人名片,选择 机器人管理

    • 在机器人管理页面中,可以选择新增自定义机器人,也可以在已添加的自定义机器人列表中,点击 ... 按钮,获取 webhook 地址

    urls.txt 格式:

    # 可以在每一行通过 ‘#’ 号,添加注释
    
    # 群 1
    https://oapi.dingtalk.com/robot/send?access_token=123456
    
    # 群 2
    https://oapi.dingtalk.com/robot/send?access_token=456789
    
  4. 执行项目目录下的 deploy.sh 文件,命令行将会输出 endpointtoken,同时会打开浏览器并跳转到 钉钉消息群发endpointtoken 默认会填写,此时只需要填写要群发的 消息,点击发送即可

    可以选择自己要发送的格式,选择 @所有人 即可 @所有人

  5. 此后要发送消息,只需要执行项目目录下的 start.sh 文件,或直接浏览 钉钉消息群发 并填写 endpointtoken 与要发送的消息即可

  6. 如果要修改机器人信息,可以在 urls.txt 文件中修改机器人信息,并重新执行 deploy.sh

dingtalk-broadcast's People

Contributors

chandaoh avatar vangie avatar

Watchers

 avatar  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.