Giter VIP home page Giter VIP logo

robot-friday's Introduction

Friday Robot for Team.

基于云函数的 企业微信/飞书 机器人事件提醒

Cloud Function based WeCom/Lark robot message notification

Office Assistant Friday Friday Image

Capability

  • Workday code review reminders
  • Reminder of weekend transfer
  • Reminder of standup everyday
  • Reminder of holiday

Capability

  • WeCom 企业微信
  • Lark 飞书

Setup

  • yarn run pack

  • Tencent Cloud create SCF function

  • upload robot-friday-v${version}.zip to scf function

  • Or use Github Action see .github

  • 'Upload Method' select 'Install dependencies online'

  • Set environment variable

    • DEFAULT_TIMEZONE=Asia/Shanghai
    • MENTIONED_MOBILE_LIST=phone num 1|phone num 2|... // for wecom
    • MENTIONED_LIST=user ID 1|user ID 2|... // for wecom
    • MENTIONED_USER_IDS=user ID 1|user ID 2|... // for lark
    • PLATFORMS=lark|wecom
    • LARK_ROBOT_HOOK_URL=...
    • WECOM_ROBOT_HOOK_URL=...
  • Set trigger

    • extra information

      • workingDayOnWeekend: remind if tomorrow is weekend but need to go to work
      • diff: workday remind diff

      e.g.

      name: StandUpMeeting
      cron syntax: 0 30 9 * * * *
      extra information: StandUpMeeting
      
      name: Diff
      cron syntax: 0 0 14 * * * *
      extra information: Diff
      
      name: HolidayGreeting
      cron syntax: 0 30 8 * * * *
      extra information: HolidayGreeting
      
      name: WorkingDayOnWeekend
      cron syntax: 0 0 18 * * FRI,SAT *
      extra information: WorkingDayOnWeekend
      

Reference

robot-friday's People

Contributors

github-actions[bot] avatar peixin avatar

Watchers

 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.