Coder Social home page Coder Social logo

gzhu_no_clock_in's Introduction

gzhu_no_clock_in

写在前面

本打卡脚本仅供学习交流使用,请勿过分依赖。开发者对使用或不使用本脚本造成的问题不负任何责任,不对脚本执行效果做出任何担保,原则上不提供任何形式的技术支持

由于众所周知的垃圾校园网,使用GitHub Action自动打卡有不小的几率会失败,如有收到Action执行失败的通知邮件,请及时进行手动打卡。

如何食用

首先把该项目Fork一份(在网页右上角,点Fork前记得顺便点个Star哦~),然后去到你fork下来的仓库里。

接着,如图所示进行操作。

Set secrets

Action会在每日7点运行,如果需要手动运行Action,可根据下图进行操作

Run workflow

如果需要关闭自动打卡功能,请根据下图所示进行手动关闭

如需本地运行,请参考下面的说明。

未来计划:稳定后将支持telegram或企业微信推送打卡结果。

如何更新

如果fork下来的仓库在未来出现如图所示

则表示需要更新,点击Fetch upstream并fetch and merge即可


English Version(Outdated)

Before using this tool, you must have previously submitted health report at least once in 广州大学健康信息系统!!

How to use

If this is your very first time to use the tool, please install dependencies with following command in the root dir of the cloned repo:

pip install -r requirements.txt

If you use Windows, please install tesseract from this link and add to PATH. Nodejs runtime environment is also required. Just download from here and install it.

Or if you use Ubuntu or Debian, just run your software package manager to install tesseract and nodejs. For instance, installing this package can be done by running this command.

apt install tesseract nodejs

Then, edit stu_id.txt, add your student id and your password in a new line. Note that id and password are separated by a blank space.

For example:

114514 19190810
111111 22222222

Run.

python run.py

If 打卡成功 appears, you are free of the nettlesome clock in.

I am from the future

This function is Invalidated from 2021/06/10

(puns)So you can return to the past to check in. If you want to check in from 3-10(inclusive) to 3-16(inclusive), type and run this command.

# python run.py -d 7

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.