GithubHelp home page GithubHelp logo

doujoaquin / micro-teaching-assistant-fucker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from recolic/micro-teaching-assistant-fucker

0.0 0.0 0.0 133 KB

微助教工具箱 全自动虚拟定位签到 自动语音提醒答题 Linux/Unix-Only No-GUI

License: Do What The F*ck You Want To Public License

Shell 90.69% Awk 9.31%

micro-teaching-assistant-fucker's Introduction

micro-teaching-assistant-fucker

微助教工具箱

自动检测是否有老师在微助教发布了新的题 并在特殊情况下及时提醒答题

自动检测是否有老师在微助教发布了新的签到 并延时自动签到

在线版

https://tm.recolic.org/

在线版已关闭,因为未知bug且收入过低,不愿意继续维护。在线系统已开源: https://git.recolic.org/root/tm-clone 以及docker: https://github.com/recolic/teachermate-seller-docker

WARNING

Update At 2019-04-23: 自动签到API发生了修改,请务必更新你的脚本,否则你可能失去生命。

Update At 2019-05-21: 自动签到API再次发生了修改,请务必更新你的脚本,否则你可能失去生命。

Hard PreRequirements

Non-Windows OS. curl. bash. fish. awk. grep. One mp3 player available on command line.

Configuration

编辑config.fish,设置自动签到的经纬度和延时,设置你想使用的mp3播放器,设置监视的时间间隔,然后保存。

Usage

  • 获得openid

打开微信 微助教 学生,在页面加载完成之前迅速按下右上角的...,然后复制链接(copy url)。

  • 自动签到

运行./daemon.sh sign并填写openid(或含有openid的url),它会监视你的所有课堂并自动签到。注意,如果有多个课堂同时发起签到请求,其行为是未定义的。如果自动签到失败,它会使用语音提示要求手动干预。

对于普通签到和GPS定位签到,它会自动签到成功。对于二维码签到,它会语音提示你手动签到,因为本软件不能自动二维码签到。

  • 监视答题

运行./daemon.sh ans并填写openid(或含有openid的url),它会监视你的所有课堂是否有答题并使用语音发出提醒。注意,如果有多个课堂同时发起答题,其行为是未定义的。

Tips

daemon.sh使用了notify-send,其他用户请根据自己的情况选择修改或删除气泡提醒。

daemonx.sh默认使用mpg123/cvlc来播放mp3,其他播放器用户请根据自己情况进行修改。请将电脑声音调大

根据经验,url一般会在约1080次请求后失效。这意味着,如果你只开一个脚本,5秒请求一次,它可以自动运行约90分钟。

常用经纬度

西十二楼 30.508914°N 114.40718°E

西五楼 30.511227°N 114.41021°E

南一楼 30.509595°N 114.41374°E

micro-teaching-assistant-fucker's People

Contributors

recolic avatar qzwlecr 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.