Skip to content
This repository has been archived by the owner on May 19, 2022. It is now read-only.

wfjsw/IAmAliveToday

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I Am Alive Today

Fix the CpDaily for you.

Download

Releases

Note: Public releases would have Telemetry enabled for error-reporting. Build it yourself to disable this feature.

Config

Example:

users: 
  - school: school_id_or_name
    username: 
    password: 
    address: 安徽省蚌埠市XX区XX路XX号
    device_info:
      model: Galaxy Nexus
      app_version: "9.0.12"
      system_version: "11.0.0"
      system_name: android
      device_id: <random 16 byte hex>
      lat: 36.123456 
      lon: 120.789012
      user_agent: Mozilla/5.0 (Linux; Android 8.0.0; MI 6 Build/OPR1.170623.027; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/92.0.4515.131 Mobile Safari/537.36 okhttp/3.12.4 cpdaily/9.0.12 wisedu/9.0.12
    actions:
      - type: CounselorFormFill
        force_submit: false
        form_data:
          - question: 所在地
            answer: 山东省/安徽市/蚌埠区/蚌埠住了大学
          - question: 体温
            answer: "37.2"
          - question: 身体状况
            answer: 健康
          - question: 近14天
            answer: 
          - question: 你或你的共同居住人
            answer: 
          - question: 健康码颜色
            answer: 绿色
          - question: 是否承诺
            answer: 
  - school: 
    ...

TODO

  • Support multi choice
  • Support photo upload
  • Support CAS login

License

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see https://www.gnu.org/licenses/.