CHROME EXTENSION MV3 / v1.5.0

Mentari Auto-Pilot: LMS Assignment Tracker & Study Companion

A Manifest V3 Chrome extension and Tampermonkey companion backed by a local Python FastAPI service, giving Universitas Pamulang students a docked left-hand HUD to audit pending assignments across courses without navigating dozens of nested pages.

01 / CORE ARCHITECTURE

Six Components Keeping Credentials Local

01

Docked Left-Hand Task HUD

Inspects completion badges across course meetings and pins status inside a non-blocking sidebar away from main LMS links.

02

Three-Option Discussion Drafting

Generates three concise response starting points students review and adapt in their own words before posting.

03

Local FastAPI Quiz Bridge

Forwards active form context strictly to localhost:8765 using structured JSON outputs plus offline template fallback.

04

Zero-Hardcode Secret Hygiene

Loads Gemini API keys from a git-ignored local .env file so secrets never enter extension scripts.

05

Resilient Partial-JSON Extraction

If a model stream truncates mid-response, regex extraction salvages complete options rather than failing blank.

06

Verified Test Coverage

Nine automated checks cover assignment sync, offline fallback handling, and discussion variant parsing.

02 / LOCAL SETUP WORKFLOW

Running the Local Bridge & Browser Extension

  1. 1Install Python Dependencies: Run pip install fastapi uvicorn and add your GEMINI_API_KEY to a local .env file.
  2. 2Start Local FastAPI Server: Launch python server.py to listen on http://localhost:8765.
  3. 3Load Browser Extension: Enable Chrome Developer Mode and load unpacked extension/, or install the companion userscript.
  4. 4Open Mentari Portal: The compact task-tracker sidebar attaches automatically on course pages.