gitmyhub

sysu-lms-script-version-2-

JavaScript ★ 19 updated 29d ago

中山大学(SYSU)LMS 学习助手。全自动秒刷课、LLM 答题、自动跳转。提供油猴脚本和控制台版本。

A browser userscript for Sun Yat-sen University's online learning system that fakes video progress, auto-advances lessons, and calls an AI API to answer quizzes automatically.

JavaScriptTampermonkeyOpenAI APIsetup: easycomplexity 2/5

This is a browser userscript designed for the online learning management system used by Sun Yat-sen University (SYSU) in China. The README is written in Chinese. The script automates parts of the course-completion process on that platform so students do not have to watch videos or navigate manually.

The script has four main behaviors. It fakes video-watching progress so the platform marks courses as complete without the user sitting through them. It automatically advances to the next lesson after each section finishes. When a quiz appears, it calls an external AI language model through an API and submits the generated answers automatically. If the platform shows a discussion page, the script skips it.

There are two versions. The full version installs as a userscript through a browser extension called Tampermonkey, which runs it automatically whenever the LMS is open. This version includes the AI-powered quiz answering. The simpler console version is pasted directly into the browser developer tools each time; it handles video progress faking and auto-navigation but does not answer quizzes automatically and requires a manual step on each new video page.

The AI quiz feature connects to any OpenAI-compatible API endpoint. The default configuration points to DeepSeek's service, but users can change the URL, model name, and API key by editing a short block at the top of the script, or by setting values in the browser's local storage.

The project is built on an earlier open-source script from a different author and is released under the GPL-3.0 license.

Where it fits