Giter Site home page Giter Site logo

auto-report-from-daniel's Introduction

Auto Report

经常忘记打卡,又或是觉得打卡很麻烦?那么不妨试试「Auto Report」。

适用人群

students in SUT

快速开始

GitHub Actions

点击右上角的「Use this template」即可从本模版创建新仓库。

之后需要在仓库首页 ->「Settings」->「Secrets」->「Actions」->「New repository secret」分别创建三个 Actions 密钥。

  • ACCOUNT:账号
  • PASSWORD:密码
  • FORM:表单的 Base64 编码

表单的具体内容如下:

{
    "mqszd": "沈阳市",
    "sfybh": "",
    "mqstzk": "良好",
    "jcryqk": "未接触下述五类人员",
    "glqk": "自行做好防护",
    "jrcltw": "36.3",
    "sjhm": "13000000000",
    "jrlxfs": "15000000000",
    "xcsj": "",
    "gldd": "",
    "zddw": "**,辽宁省,沈阳市,铁西区<@>沈阳工业大学"
}

mqszd: "沈阳市" | "辽宁省非沈阳市" | "其他地区(非辽宁省)"

目前所在地

sfybh: "否" | "是"

前一日填报到目前为止,目前所在地(第 1 题)是否存在变化?

mqstzk: "良好" | "干咳乏力、发热、呼吸困难等病症" | "医学观察隔离" | "疑似病例" | "确诊病例"

目前身体状况

jcryqk: "未接触下述五类人员" | "确诊病例" | "疑似人员" | "医学观察人员" | "中高风险地区出入人员"

近 14 日接触人员情况

glqk: "自行做好防护" | "医学隔离观察" | "按要求定点隔离"

隔离情况

jrcltw: string

今日测量体温(℃)

sjhm: string

目前个人手机号码

jrlxfs: string

家人联系方式

xcsj: string

行程出发时间、使用的交通工具及车次/航班号、外出原因

gldd: string

隔离起始时间、隔离地点

zddw: "x 国,x 省,x 市,x 区<@>x"

个人位置

设置完毕后,该任务会在每天的 10:10 UTC+8(即 2:10 UTC)自动执行。您也可以在 Actions 页面上手动将其触发。

服务器部署

本项目同时支持在服务器上部署。配置计划任务前请检查服务器时间和时区是否正确。

# timedatectl set-timezone Asia/Shanghai

Credits

感谢 @usbcsusb 提供的思路以及 @DamoclesYW 给我开发的动力。

License

MIT

© 2022 Daniel Ding

auto-report-from-daniel's People

Contributors

black8848 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.