window.ai  by alexanderatallah

Browser extension for using custom AI models on the web

created 2 years ago
955 stars

Top 39.3% on sourcepulse

GitHubView on GitHub
Project Summary

Window AI is a browser extension that allows users to configure and utilize their preferred AI models directly on the web, enhancing privacy and reducing reliance on external APIs. It targets end-users seeking control over their AI interactions, developers aiming to build cost-free, multi-model applications, and model providers looking to integrate into a user-centric ecosystem.

How It Works

The extension injects a window.ai library into web pages, enabling applications to request AI model interactions. Users configure their API keys and select models (including local, proxied, or external services like OpenAI, Google PaLM 2, and Anthropic Claude) within the extension. This approach abstracts away API management for developers and provides users with transparency and control over data flow and model selection.

Quick Start & Requirements

  • Installation: Install via the Chrome Web Store.
  • Browser Support: Chrome, Brave, Edge, Firefox (beta), Safari (beta).
  • Local Model Setup: Requires a local HTTP server for custom models, with local.ai recommended for ease of use.
  • Documentation: https://window-ai.github.io/window.ai/

Highlighted Details

  • Supports a wide range of commercial and open-source models (OpenAI, PaLM 2, Claude, GPT NeoXT, Cohere, MPT, Dolly).
  • Provides a simple JavaScript API (window.ai.generateText, window.ai.getCurrentModel, window.ai.addEventListener) for seamless integration into web apps.
  • Includes a beta feature for generating 3D objects using models like Shap-e.
  • Offers configuration options for temperature, max tokens, stop sequences, and streaming results.

Maintenance & Community

  • Active development with a Discord community for beta builds and support.
  • Discord

Licensing & Compatibility

  • The project is licensed under the MIT License, permitting commercial use and integration with closed-source applications.

Limitations & Caveats

  • The 3D object generation feature is explicitly marked as BETA.
  • Browser support for Firefox and Safari is in beta, indicating potential instability or incomplete functionality.
Health Check
Last commit

1 year ago

Responsiveness

1 week

Pull Requests (30d)
0
Issues (30d)
0
Star History
22 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Mckay Wrigley Mckay Wrigley(Founder of Takeoff AI), and
1 more.

chatGPTBox by ChatGPTBox-dev

0.1%
11k
Browser extension for ChatGPT integration
created 2 years ago
updated 1 week ago
Feedback? Help us improve.