Skip to content

API and unofficial client for the SuperStar mooc platform | 超星学习通的API和非官方客户端脚本,为学生提供更好的学习体验

License

Notifications You must be signed in to change notification settings

chettoy/FxxkStar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FxxkStar

Python 3.10 License GitHub code size in bytes FOSSA Status

EN | 中文

FxxkStar is an API and example unofficial client for the SuperStar online classroom platform (or chaoxing; xuexitong), that provides a better learning experience for students.

  • Are you still struggling because of the user experience of the official client and web version?
  • Do you want to use your favorite player to watch videos and browse documents so that you can take some notes in split screen or download them for later viewing without worrying about not having a study record?
  • Do you want to get the correct answer immediately after answering the post-lesson questions to save time in finding the correct answer?

API Features:

  • Login and access to course information

  • Get a list of chapters

  • Get video and document links

  • Get after-class questions

  • Synchronize video playback progress

  • Get message notifications

CLI Client Features:

  • Interactive login and listing of course
  • Show the list of chapters and the chapters with incomplete tasks
  • Show download links for documents and live replay
  • Synchronize video playback progress
  • Quick view of after-class questions
  • Interactive question answering (not implemented)
  • Check-in reminders and message reminders (not implemented)

For Chinese Users (中文说明)

FxxkStar 是用于超星学习通的API和非官方客户端脚本,可以为学生提供更好的学习体验。

API基于网页端新版页面协议和安卓端超星SDK协议,目前实现了以下接口:

登录和获取账号信息;获取课程列表;获取课程详情和班级详情;获取章节列表;加载章节中的视频、文档、直播、课后习题;同步视频播放进度;获取课程内消息通知;签到;

注:FxxkStar含有测试版客户端功能

测试版 学习版
功能对比 自动签到,自动观看全部视频,自动完成所有课后题 手动签到,只能同步已学视频的播放记录,只能查看已完成的课后题和正确答案
效果 ❌ 无法达到学习效果 ✔️ 学习好帮手
获取方式 ✔️ FxxkStar自带 ✔️ 赞助获得

Screenshots

Screenshot Screenshot

Installation

You can download FxxkStar by cloning the Git repository:

git clone --depth 1 https://github.com/chettoy/FxxkStar.git FxxkStar-dev

FxxkStar works with Python version 3.10 or above on any platform.

You can install the requirements (using the TUNA mirror) with the following command via pip.

pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -r requirements.txt

Optional: Additional steps are required to install pytesseract data, check the pytesseract package page for more information. (Required only when OCR is enabled)

ArchLinux

install the requirements with:

sudo pacman -S python-beautifulsoup4 python-brotli python-cryptography python-fonttools \
               python-lxml python-pycryptodome python-requests python-zstandard

Usage

python fxxkstar.py

For Windows users, run with Windows Terminal to get better experience.

Contributing

We'd love to have your helping hand on FxxkStar!

Acknowledgments

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 <http://www.gnu.org/licenses/>.

FOSSA Status

About

API and unofficial client for the SuperStar mooc platform | 超星学习通的API和非官方客户端脚本,为学生提供更好的学习体验

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages