Install

Works with Drupal: ^9 || ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 197.03 KB
MD5: 31f189f3fc53eec020490eab2eb07a41
SHA-1: f3d47fca356c6c8fd01441bd047c98eeb8a7d735
SHA-256: ac445352e090bd2131f57459b483c8a85c7d100aa2a7716e5aaa6f9eae43e38c
Download zip 297.65 KB
MD5: 3d25f98f41f9af67f19d46dae86e0de8
SHA-1: 5dec87b282cb86bd6b2ed3c28e64234319a5aee6
SHA-256: aec180fb540190c4b56c00de53bb0912e0790fa6712eb8ede5642c133107c4f5

Release notes

WebLLM AI 1.0.0 Release Notes

Released: June 27, 2025

๐ŸŽ‰ Initial Release

We're excited to announce the first stable release of WebLLM AI - bringing privacy-first, browser-based artificial intelligence to Drupal!

โœจ New Features

  • Browser-based AI Processing: Run large language models directly in users' browsers using WebGPU technology
  • Zero External Dependencies: No API keys or cloud services required - complete privacy and offline functionality
  • Multiple Model Support: Compatible with Llama 3.2, Phi-3, Gemma 2B, and other WebLLM-supported models
  • Interactive Chat Interface: Ready-to-use chat block for immediate AI interaction
  • RAG (Retrieval-Augmented Generation): Upload documents and get context-aware AI responses
  • Content Generation Tools: AI-powered content creation for editors and content creators
  • Configurable Model Settings: Admin interface for model selection and performance tuning
  • Progressive Loading: Smart model caching and progressive download for better performance
  • Permission System: Granular permissions for different AI features
  • Responsive Design: Mobile-friendly chat interface and admin panels

๐Ÿ”ง Technical Specifications

  • Drupal Compatibility: Drupal 9.3+ and Drupal 10+
  • Browser Support: Chrome 113+, Edge 113+, Firefox (with WebGPU flags)
  • WebGPU Acceleration: Leverages modern GPU capabilities for fast inference
  • Local Storage: Efficient model caching using browser storage APIs
  • HTTPS Required: Secure contexts required for WebGPU functionality

๐Ÿ“ฆ What's Included

  • Core Module: Main WebLLM AI functionality
  • Demo Setup Script: Automated RAG demo environment setup
  • Sample Content: Example configurations and use cases
  • Documentation: Comprehensive setup and usage guides
  • Configuration Templates: Pre-configured settings for common scenarios

๐Ÿš€ Getting Started

  1. Install: composer require drupal/webllm_ai
  2. Enable: drush en webllm_ai
  3. Configure: Visit /admin/config/webllm-ai
  4. Add Chat Block: Place the "WebLLM AI Chat" block on your pages
  5. Test: Start chatting with AI directly in your browser!

โš ๏ธ Important Notes

  • Browser Compatibility: Users need modern browsers with WebGPU support
  • Initial Load Time: First model download may take several minutes depending on connection speed
  • Memory Requirements: Larger models require more GPU memory and system RAM
  • HTTPS Requirement: WebGPU requires secure contexts (HTTPS)

๐Ÿ”’ Privacy & Security

  • 100% Local Processing: No data ever leaves the user's device
  • No External APIs: Zero dependency on third-party AI services
  • GDPR Compliant: Perfect for privacy-sensitive applications
  • Offline Capable: Works without internet connection after initial model download

๐ŸŽฏ Use Cases

  • Educational Platforms: Interactive AI tutoring and learning assistance
  • Content Management: AI-powered writing and editing tools
  • Customer Support: Private, intelligent chatbots
  • Creative Writing: Story generation and brainstorming assistance
  • Document Analysis: RAG-powered document Q&A

๐Ÿ› ๏ธ Development

  • Open Source: MIT licensed and community-driven
  • Extensible Architecture: Plugin system for custom AI workflows
  • Developer APIs: JavaScript APIs for custom integrations
  • Theming Support: Customizable templates and styling

๐Ÿ“Š Performance

  • WebGPU Acceleration: Up to 10x faster than CPU-only inference
  • Efficient Caching: Models cached locally for instant subsequent loads
  • Progressive Loading: Streaming model downloads for better UX
  • Memory Optimization: Smart memory management for stability

๐Ÿค Community & Support

  • Documentation: Comprehensive guides and API references
  • Issue Tracking: GitHub repository for bug reports and feature requests
  • Community Forum: Drupal.org project page for discussions
  • Demo Site: Live demonstration of all features

๐Ÿ”ฎ What's Next

Planned for v1.1.0:

  • Additional model support (Mistral, CodeLlama)
  • Enhanced RAG capabilities with vector search
  • Integration with CKEditor for inline AI assistance
  • Performance optimizations and memory usage improvements
  • Multi-language support and localization

๐Ÿ“‹ System Requirements

  • Drupal: 9.3+ or 10.x
  • PHP: 8.1+
  • Browser: Chrome 113+, Edge 113+, Firefox (experimental)
  • Memory: 4GB+ RAM recommended
  • Storage: 2-8GB available for model caching
  • Connection: HTTPS required, stable internet for initial setup

๐Ÿ™ Acknowledgments

Special thanks to:

  • The WebLLM team for the amazing browser-based LLM technology
  • The Drupal community for feedback and testing
  • Early adopters who helped shape this release
  • Contributors who provided code, documentation, and support

Download: drupal.org/project/webllm_ai

Documentation: Project Documentation

Support: Issue Queue

Demo: Try it Live

Happy AI-powered Drupaling! ๐Ÿš€

Created by: akshayram1
Created on: 27 Jun 2025 at 08:19 UTC
Last updated: 27 Jun 2025 at 08:19 UTC

Other releases