ChatMate is a browser extension that provides personalized, context-aware, and dynamic chat recommendations in Hinglish (a mix of Hindi and English) for social media platforms like Instagram and Facebook.
- Multiple Conversation Modes: Choose from different modes like casual, flirting, funny, and professional.
- Tone Customization: Select tones such as friendly, sarcastic, formal, jovial, or flirty.
- Real-Time Conversation Capture: The extension captures chat conversations in real-time.
- Auto-Reply Mode: Option to automatically respond to incoming messages.
- Hinglish Support: All generated messages are in Hinglish, providing a natural conversational experience.
- AI-Powered: Uses the Google Gemini API to generate intelligent responses.
- Free to Use: Built with Google's free tier Gemini API (generous free quota each month).
- Offline Fallback: If the API is unavailable, falls back to local response generation.
ChatMate uses Google's Gemini API to generate intelligent responses:
- AI Model: Gemini 1.5 Flash - Google's versatile and fast multimodal model
- Free Tier: Google offers a generous free tier for Gemini API (60 requests per minute)
- Context-Aware: The API generates responses based on conversation mode and tone
- Local Fallback: If API calls fail, the extension uses pre-defined responses
- Clone this repository:
git clone https://github.com/yourusername/chatmate.git
cd chatmate
-
Load the extension in Chrome:
- Open Chrome and navigate to
chrome://extensions/
- Enable "Developer mode" by toggling the switch in the top right corner
- Click "Load unpacked" and select the directory containing this code
- Open Chrome and navigate to
-
Load the extension in Firefox:
- Open Firefox and navigate to
about:debugging#/runtime/this-firefox
- Click "Load Temporary Add-on"
- Select any file in the extension directory
- Open Firefox and navigate to
-
Load the extension in Edge:
- Open Edge and navigate to
edge://extensions/
- Enable "Developer mode" by toggling the switch in the left sidebar
- Click "Load unpacked" and select the directory containing this code
- Open Edge and navigate to
To use the AI features, you need a Google Gemini API key:
- Go to Google AI Studio
- Create a free account or sign in with your Google account
- Navigate to "Get API Key" and create a new key
- Copy the API key
- Enter the API key in the ChatMate extension popup and click "Save Key"
- Navigate to Instagram or Facebook and open a chat.
- Click on the ChatMate extension icon in your browser toolbar to open the popup.
- Select the conversation mode and tone you prefer.
- To get a chat recommendation:
- Type or paste the message you're responding to in the input field
- Click "Generate Response"
- The suggested response will appear below
- You can either:
- Copy the response to clipboard and paste it manually
- Click "Send to Chat" to automatically insert the response into the chat input field
- Enable "Auto Reply" for the extension to automatically respond to incoming messages based on your selected settings.
ChatMate uses Google's Gemini AI to generate Hinglish responses:
- When you enter a message, the extension sends a request to the Gemini API
- The API generates a contextually appropriate response based on your conversation mode and tone
- If the API is unavailable, the extension uses a fallback local response system
- The extension formats all responses to ensure they have a natural Hinglish style
- Responses can be automatically sent or manually copied to the chat
All conversation data is stored locally in your browser. When using the API:
- Only the current message and instructions are sent to Google's Gemini API
- No conversation history or personal data is transmitted
- API calls require your API key, which is stored securely in your browser
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
This extension is not affiliated with Instagram, Facebook, Meta Platforms, Inc., or Google.