A Chrome Manifest V3 extension that provides an AI chat interface in the browser sidebar with customizable API endpoints, models, and APPLE UI design.
English Version | 中文版本 | Versión en Español | Version Française | 日本語版 | русский язык
project/
├── manifest.json
├── background.js
├── sidebar.html
├── sidebar.css
├── sidebar.js
├── icons/
│ ├── icon16.png
│ ├── icon48.png
│ └── icon128.png
├── _locales/
│ ├── en/
│ │ └── messages.json
│ └── zh_CN/
│ └── messages.json
- Sidebar Integration: Native Chrome sidebar implementation using Manifest V3 Side Panel API
- AI Chat Interface: Real-time conversational AI interactions with streaming responses
- Multi-language Support: Full internationalization (i18n) with English, Chinese, Spanish, French, Japanese, Russian locales
- Persistent Storage: Conversation history management with local storage persistence
- Custom API Endpoints: Configurable REST API endpoints for OpenAI-compatible services
- Model Selection: Flexible model specification with support for various LLM architectures
- Authentication Management: Secure API key storage and management
- Temperature Control: Adjustable response creativity parameters (0.0-1.0 range)
- Session History: Persistent conversation context within active sessions
- Chat History: Comprehensive historical conversation archive with timestamp metadata
- Conversation Switching: Seamless transition between multiple chat contexts
- Selective Deletion: Granular conversation history management with individual record removal
- Responsive Layout: Adaptive design optimized for various viewport dimensions
- Dark Mode Support: Automatic system preference detection with dynamic theme switching
- Micro-interactions: Subtle animations and transitions using cubic-bezier timing functions
- Accessibility Compliance: WCAG-compliant contrast ratios and semantic HTML structure
- Service Worker: Background script for extension lifecycle management
- Side Panel API: Dedicated sidebar interface with isolated execution context
- Storage API: Synchronized settings and asynchronous conversation data persistence
- Host Permissions: Secure cross-origin resource access with explicit domain declarations
- Credential Isolation: API keys stored in encrypted Chrome storage mechanisms
- Content Security Policy: Strict CSP implementation preventing XSS vulnerabilities
- Input Sanitization: HTML entity encoding for user-generated content rendering
- Rate Limiting: Client-side request throttling to prevent API abuse
- Lazy Loading: Conditional resource loading based on user interaction patterns
- Memory Management: Efficient garbage collection with conversation data pruning
- Event Delegation: Optimized event handling with bubbling prevention techniques
- Virtual Scrolling: Efficient DOM rendering for extensive conversation histories
- Clone the repository to local development environment
- Navigate to
chrome://extensions/in Chromium-based browser - Enable "Developer mode" toggle
- Select "Load unpacked" and choose extension directory
- Pin extension to toolbar for convenient access
- API Endpoint: Valid REST endpoint URL for chat completion services
- Authentication Token: Bearer token for API service authentication
- Model Identifier: Valid model name compatible with configured endpoint
- Initiate Chat: Click extension icon to open sidebar interface
- Configure Settings: Access settings panel via gear icon for API configuration
- Start Conversation: Enter message in input field and press send or Enter key
- Manage Sessions: Use new chat button to create fresh conversation contexts
- History Navigation: Access previous conversations through history panel
- Context Switching: Load historical conversations for continued interaction
- Selective Cleanup: Remove individual conversations from history archive
- Theme Adaptation: Automatic dark/light mode switching based on system preferences
- English
- Chinese
- Spanish
- French
- Japanese
- Russian
- Message Bundles: JSON-based i18n message catalogs
- Dynamic Localization: Runtime language detection and switching
- Fallback Mechanism: Graceful degradation to default language
- Google Chrome: Version 114+ with Manifest V3 support
- Microsoft Edge: Chromium-based versions with side panel capability
- Brave Browser: Manifest V3 compliant implementations
- Opera: Chromium engine versions with extension support
- Operating Systems: Windows 10+, macOS 10.15+, Linux distributions with GTK
- Memory: Minimum 4GB RAM recommended for optimal performance
- Storage: 50KB available disk space for extension and cached data
- Zero Tracking: No user behavior monitoring or analytics collection
- Local Processing: All conversation data processed within browser context
- No External Dependencies: Self-contained functionality without third-party services
- Transparent Operations: Clear data flow with explicit user consent mechanisms
- Settings Persistence: Chrome Sync storage for cross-device configuration
- Conversation Archiving: Local storage with automatic data retention policies
- Cache Optimization: Efficient memory utilization with automatic cleanup routines
- Multi-model Support: Simultaneous interaction with multiple AI services
- Export Functionality: Conversation data serialization in standard formats
- Advanced Prompting: Template-based prompt engineering capabilities
- Voice Integration: Speech-to-text and text-to-speech functionality
- WebAssembly Integration: Performance optimization for client-side processing
- Progressive Enhancement: Offline functionality with service worker caching
- Accessibility Audit: WCAG 2.1 AA compliance verification
- Performance Monitoring: Real-time metrics collection and optimization
- Fork repository and create feature branch
- Implement changes following established coding standards
- Execute comprehensive testing across supported platforms
- Submit pull request with detailed change documentation
- ES6+ Syntax: Modern JavaScript with async/await patterns
- CSS Architecture: BEM methodology with custom property theming
- Security Practices: Input validation and output encoding protocols
- Performance Metrics: Lighthouse scores and Core Web Vitals compliance
This project is licensed under the MIT License - see the LICENSE file for details.
For technical assistance and feature requests, please submit issues through the GitHub repository issue tracker. Community contributions and feedback are welcome through pull requests and discussions.