A minimalist, ready-to-use chat interface for the Window AI Chrome extension. Built with vanilla JavaScript, this starter template provides developers with the essential building blocks for creating AI chat applications.
- 🚀 Zero dependencies (except Window AI extension)
- 💡 Clean, responsive design
- ⚡ Lightweight and performant
- 🔧 Easy to customize and extend
- 📱 Mobile-friendly interface
- 🛠️ Simple integration with Window AI API
- 😀 Emojis and Typeback animation!
# Using HTTPS
git clone https://github.com/spotty118/WindowAI-Starter.git
# Using SSH
git clone git@github.com:spotty118/WindowAI-Starter.git
# Using GitHub CLI
gh repo clone spotty118/WindowAI-Starter
- Clone the repository using one of the methods above
- Open
index.html
in your browser - Make sure you have the Window AI extension installed
- Start building your chat application!
- Window AI Chrome Extension must be installed and enabled
- Modern web browser with JavaScript enabled
├── index.html # Basic HTML structure
├── style.css # Responsive styling
└── script.js # Core functionality
- 1GB RAM
- 1 CPU Core
- 20GB Storage
- Ubuntu 20.04 or newer (recommended)
- Install a web server (NGINX recommended)
- Configure SSL certificate (recommended)
- Set up proper file permissions
- Configure domain settings
- Install the Window AI Chrome extension
- Configure your AI provider keys in the extension
- Use this starter template to build your own AI chat application
- The template handles all communication with your chosen AI model through the Window AI extension
The codebase is designed to be easily extensible. Key components:
addMessageToChat()
: Handles message displaywaitForWindowAI()
: Manages extension availabilitygetAIResponse()
: Handles AI communicationhandleMessage()
: Controls message flow
- Chrome (recommended)
- Other modern browsers supporting Window AI extension
This project is built on top of the Window AI framework, which allows users to configure AI models in one place and use them across the web.
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Window AI Extension team
- All contributors to this project