Giter Site home page Giter Site logo

antifacistindoctrination's Introduction

🗺 Anti Facist Indoctrination

banner

2023-05-11 停更说明

经抓包发现,现在的江苏青年大学习 Cookie 会很快失效,每次都需要走一遍微信登录流程,继续开发已无意义。本项目因此停止更新。

纪念并祝福每一个不服从于法西斯的人。

以下是原内容

这是一个江苏省青年大学习自动完成器。往下翻之前可以看一则苏联笑话:

一所大学正在全力搜捕在校内张贴反法西斯标语的学生,请问这最有可能发生在何时何地?

  • A. 1936 年,德国,慕尼黑大学
  • B. 1937 年,日本,东京大学
  • C. 1935 年,中华民国,国立**大学
  • D. 2022 年,中华人民共和国,清华大学
  • E. 2022 年,中华人民共和国,复旦大学(4 月 18 日新增)

📦 单机使用方法

环境变量

AFI 使用两个环境变量,分别是:

  1. AFI_COOKIE,即你的 Cookie,格式为 laravel_session=<YOUR_COOKIE_HERE>,例如 laravel_session=233333。你可以使用多个 Cookie,以空格分隔,例如 laravel_session=233333 laravel_session=114514
  2. AFI_TOKEN,Server 酱的 SendKey,用于推送结果。如果你不想使用 Server 酱,可以不设置这个环境变量。

环境变量可以通过多种方式设置,方法视你的系统 / shell 而定,请自行查询相关资料。此外,AFI 也支持通过 .env 文件设置环境变量。将 .env 文件放置在你下面执行 cargo 命令的目录下即可。

运行

cargo run -r

🏭 全自动完成

Fork / Star 都快大于 2 了,各位用之前能不能 Star 一下?

首先,Fork 这个 Repo。然后为这个 Repo 设置一个名为 AFI_COOKIE 的 Secrets,里面填入你的 Cookie,像这样:laravel_session=2333333333333333333333333333333333333333

或者如果你想批量完成,那就这样:laravel_session=23333333333 laravel_session=114514

设置完之后,在 Repo 页面点击 Actions,按照里面的提示启用 Actions,否则 Action 不会运行。

这以后,这个 Action 在每周一 18 时会运行,帮你完成任务。值得注意的是,你需要每 60 天手动开启一下这个 Action,不然会被 GitHub 暂停。

🍪 如何获取 Cookie

此处,获得 laravel_session=* 后即可填入 Secrets。

📱 Server 酱消息推送

注册 Server 酱并获取 SendKey ,然后为你 Fork 下的 Repo 设置一个名为 AFI_TOKEN 的 Secrets,里面填入 SendKey。这以后,本项目在运行后会使用 Server 酱向你推送结果。

Stargazers over time]

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.