AI Reader

Local plugins ::: local_aireader
Maintained by David Ta
Empower learners with an AI-powered "Listen to this content" player designed to enhance accessibility, support on-the-go study, and assist ESL students. This plugin automatically generates high-quality narrations for existing Page and Book activities using OpenAI TTS, featuring synchronized Whisper karaoke-style text highlighting, a click-to-seek transcript pane, and an optional multi-language translation picker. Instructors retain full control with individual on/off toggles directly inside the player and within book chapters, requiring zero manual or page-by-page setup to deploy. Engineered with strict administrative controls and server efficiency in mind, audio is generated once via background Moodle cron tasks and cached locally using the Moodle File API. Because subsequent student visits stream directly from the local cache, there is zero per-student API cost or page-load delay. Site administrators benefit from a fully compliant GDPR privacy provider that transmits no user identifiers, customizable per-asset character limits to prevent runaway API costs, and strict outbound HTTPS-only security validation.
Latest release:
4 sites
41 downloads
Current versions available: 2

Empower learners with an AI-powered "Listen to this content" player designed to enhance accessibility, support on-the-go study, and assist ESL students.

This plugin automatically generates high-quality narrations for existing Moodle Page and Book activities using OpenAI TTS, featuring synchronized Whisper karaoke-style text highlighting, a click-to-seek transcript pane, and an optional multi-language translation picker.


For Teachers & Course Designers
  • Zero Setup: Works instantly on existing Page and Book assets out of the box.
  • Interactive Highlight: Students see words highlighted in real-time as they are spoken.
  • Granular Control: Instructors retain an easy on/off toggle natively inside the asset block.
For Site Administrators
  • Cache-First Efficiency: Audio files are generated once via cron and stored using the Moodle File API.
  • Strict Cost Control: Configurable per-asset character limits protect your external API budgets.
  • Privacy Guarded: Fully compliant Privacy Provider structure that safely redacts personal user tokens.
Getting Started & OpenAI API Setup

This plugin requires an OpenAI API key to run text-to-speech, translation, and text-alignment behaviors. Follow these direct steps to connect your platform:

  • 1 Sign up or log in to the OpenAI Developer Platform.
  • 2 Navigate to Billing and fund your account balance with a minimal starting credit (e.g., $5 to $10 is plenty to test thousands of paragraphs).
  • 3 Go to Dashboard → API Keys, click Create new secret key, and copy the string starting with sk-....
  • 4 Paste your secret key in your Moodle site navigation path:
    Site administration → Plugins → Local plugins → AI Reader
Performance & Cost Note

Because audio tracks are queued securely in the background and served entirely from local server storage on consecutive student requests, your platform suffers zero additional page-load lag or compounding per-user API billing footprints.

Potential privacy issues

This plugin transmits course text content to the external OpenAI API endpoint for text-to-speech generation and audio alignment. No user-identifying data, user profiles, or student track records are transmitted outside of the Moodle site ecosystem. All data handling is securely implemented via a native Moodle Privacy Provider.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

David Ta (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments

Show comments
Please login to post comments