GithubHelp home page GithubHelp logo

xybsign's Introduction

本代码仅供参考和学习,请勿用于任何商业用途,所造成的一切法律后果自负,与本代码无关!

xybSign

校友邦 多用户 自动签到(上传图片)、填写周报

使用方法

  • 下载代码(解压)
  • 修改config.js中的配置,正确填写用户名、密码 默认配置了一些周报模板,要修改的话,修改config.js中的reports reports的index对应的就是当周周报的多个模板,在提交周报时会随机选取其中一个
  • 在终端中进入代码目录,执行npm install
  • 终端中输入node index.js运行index.js

利用github action自动签到

发现下载代码运行的方式对于大部分人来说还是有难度,下面介绍一下如何借助github平台部署自动化签到

  • 写在前面 如果你想使用自动签到,强烈建议你注册一个qmsg酱账号用于发送签到通知,避免出现程序故障导致的漏签等情况!如何使用?

  • 注册github账号

  • fork本项目

      `如果觉得本项目对你有帮助,还可以点个star`
    

    image

    image

  • 配置打卡周期(可选,默认为每天9AM执行)

    修改文件.github/workflows/main.yml文件中的'cron',如果你不知道怎么写,可以前往 core生成

  • 配置Actions secrets

    页面路径 Setting -> Secrets and variables -> Repository secrets image

  • 添加 secrets

    image

    secrets规则: 1、每个配置之间以;分割 2、配置项以key=value的形式填写 3、账号配置项支持多个,以&分割 举例如下:

    • 单个账号 username=用户名&password=密码
    • 多个账号username=用户名&password=密码;username=用户名&password=密码
    • 签到mode=in 签退mode=out
    • qmsg秘钥 qmsgKey=秘钥 推送qq号 qmsgTo=qq1,qq2 完整示例:
    • 单个账号执行 签到、重新签到、填写周报并且通过qmsg发送签到结果给QQ号123412445: username=用户名&password=密码&reSign=true&needReport=true;mode=in;qmsgKey=keykey;qmsgTo=123412445
  • 验证功能

    进入Action页面 -> 点击签到workflow -> 运行 -> 进入运行记录 image

    查看运行结果,如果成功签到,恭喜你,你已经实现了定时签到功能! image

xybsign's People

Contributors

augusgabe avatar cnccbz avatar

Forkers

small-white-zs

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.