/AutoAttendYuKeTang

长江雨课堂自动签到

Primary LanguageJavaScriptMIT LicenseMIT

Usage

Make Sure You have Chrome Browser

Method 1: Local (python)

git clone https://github.com/ArchFireCoo/AutoAttendYuKeTang
cd AutoAttendYuKeTang
git checkout python
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
python ./src/startup.py

Method 2: Local (node)

git clone https://github.com/ArchFireCoo/AutoAttendYuKeTang
cd AutoAttendYuKeTang
yarn
node ./src/index.js

Method 3: Github Actions (Recommend)

These actions are setting specified for almost all college students. Modify .github/workflows/*.yml to fit your needs. Careful: Github Action crontab is defined in GMT timezone, while China is in GMT+8.

  1. Fork this responsitory
  2. Create 'Server酱' SENDKEY
  3. In project page, click 'Settings' -> click 'Secret'
  4. In 'Secret' page, create two secrets named 'USER_INFO' and 'PUSH_KEY' and 'BARK_ID':
    • 'USER_INFO': yourYuKeTangaccount|yourYuKeTangpassword
    • 'PUSH_KEY': SENDKEY
    • 'BARK_ID': BARKID