🌟 Features
Core Functionality
- Direct integration with Google's Gemini AI
- Real-time chat interface
- Message history with scrollable view
- Quick response system with keyboard shortcuts
Privacy Features
- Runs with administrative privileges
- Hidden from taskbar
- Quick hide/show functionality
- Adjustable opacity
- Generic window title for discretion
User Interface
- Compact, responsive design
- Customizable window position and size
- Persistent configuration settings
- Status indicators for operations
- Intuitive icon-based controls
🚀 Installation
Prerequisites
- Python 3.8 or higher
- Windows Operating System
- Administrative privileges
Required Packages
pip install google-generativeai pywin32 keyboard
Configuration
- Clone or download this repository
- Run the application once to generate the default
config.json
- Edit
config.json
with your API credentials:
{
"api_key": "YOUR_API_KEY_HERE",
"model": "gemini-1.5-flash",
"window": {
"width": 300,
"height": 400,
"x": 1500,
"y": 100,
"opacity": 0.4
},
"isadmin": true
}
🎮 Usage
Starting the Application
python main.py
Keyboard Shortcuts
F10
: Toggle window visibility
Ctrl + Enter
: Send message
Enter
: New line in input
Button Controls
- 📤 Send message
- 🗑️ Clear chat history
- 💥 Close application
Window Management
- Drag to reposition
- Resize from corners
- Position and size are saved automatically
🔒 Privacy Considerations
- Application runs with elevated privileges
- Window is hidden from taskbar
- Generic window title
- Quick hide functionality
- Adjustable opacity for discretion
⚠️ Security Notes
- Store your API key securely
- Be cautious with administrative privileges
- Monitor application access
- Regularly update dependencies
🔧 Troubleshooting
Common Issues
- Permission Denied: Ensure you're running as administrator and check file permissions.
- API Errors: Verify API key, check internet connection, and confirm API quota availability.
- Window Not Showing: Use
Ctrl+Shift+H
to toggle visibility or restart the application.
🤝 Contributing
Contributions are welcome! Please feel free to submit pull requests.
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a pull request
📝 Version History
- 1.0.0: Initial release with basic chat functionality, privacy features, configuration system, and window management.
📞 Support
For support, please:
- Check the troubleshooting section
- Review existing issues
- Create a new issue with detailed information
View on GitHub