Skip to content

Releases: andrew4opensource/scele-cli

v0.2.2

Choose a tag to compare

@github-actions github-actions released this 08 Sep 16:58

What's Changed

  • Feature: Make Installation Script Prettier :3 by @crlnravel in #7
  • Security patches + web-service call / watch-storage optimizations by @Andrew4Coding in #8

Full Changelog: v0.2.1...v0.2.2

v0.2.1

Choose a tag to compare

@Andrew4Coding Andrew4Coding released this 05 Sep 07:00

What's Changed

Full Changelog: v0.2.0...v0.2.1

v0.2.0

Choose a tag to compare

@Andrew4Coding Andrew4Coding released this 02 Sep 08:17
26b33e1

Highlights

scele now talks to SCELE through the official Moodle mobile web-service API instead of scraping HTML — stable JSON, no more breakage when SCELE's theme changes.

Breaking

  • scele login mints a web-service token from /login/token.php and stores only the token (~/.config/scele/token.json) — the cookie store is gone. Run scele login again after upgrading.
  • whoami reports {user, userid, username, token} instead of {sesskey}.
  • forums / assignments / resources return richer objects; forum accepts a cmid or a forum instance id.
  • Requires an account that authenticates with a password (manual / LDAP). Accounts behind an external SSO login page cannot mint a token.
  • beautifulsoup4 / lxml dependencies dropped.

New commands

course-detail, people, grades, course-updates, deadlines, calendar, notifications, assignment-detail, submit (online text / file), quizzes, quiz, quiz-review, and guarded attempt-taking: quiz-start, quiz-attempt, quiz-answer.

TUI

scele tui gains screens for deadlines, calendar, notifications, grades, people, course info, assignment instructions + submit, and the full quiz flow.

Packaging

The prebuilt bundle is now onedir (a .tar.gz), not a single onefile binary — startup dropped from ~4 s to ~0.1 s per call. install-bin.sh unpacks it to ~/.local/lib/scele-app and links scele onto your PATH.

Install

macOS (Apple Silicon) — prebuilt bundle (CI was unavailable at release time, so only this target is attached):

curl -fsSL https://raw.githubusercontent.com/Andrew4Coding/scele-cli/main/install-bin.sh | sh

Everything else — pipx (any OS, Python 3.10+):

pipx install git+https://github.com/Andrew4Coding/scele-cli.git@v0.2.0

or the attached wheel:

pipx install ./scele_cli-0.2.0-py3-none-any.whl

v0.1.0

Choose a tag to compare

@Andrew4Coding Andrew4Coding released this 01 Sep 12:59

First release.

Binaries (more platforms via CI once the workflow is fixed):

  • scele-macos-arm64 — macOS Apple Silicon

Install

curl -fsSL https://raw.githubusercontent.com/Andrew4Coding/scele-cli/main/install-bin.sh | sh

Or with Python: pipx install git+https://github.com/Andrew4Coding/scele-cli.git

Verify: shasum -a 256 -c checksums.txt