GEMINI Interface is a comprehensive PowerShell WinForms application that serves as a robust base template and interface for custom GUI tools. It integrates a logging module, advanced console window management, and a direct interface to the Gemini API. The application features a modern tabbed layout that includes a System Dashboard, Dual Web Browsers (Modern/Legacy), a File Explorer, and a fully functional Gemini Chat interface.
Built by: Zachary Whiteman & Google Gemini Ai.
This application is a powerful dashboard for managing your system and interacting with AI.
To run this script, you will need:
- Windows Operating System.
- PowerShell 5.1 or newer.
- .NET Framework: Required for the Windows Forms GUI.
- Gemini API Key: A valid API key must be stored in the
GEMINI_API_KEYenvironment variable for the chat features to work.
- Download: Download the
GEMINI Interface.PS1script file. - Unblock: Right-click the file, go to Properties, and click
Unblock. - Run: Execute the script from a PowerShell console.
.\GEMINI Interface.PS1
The interface is divided into several tabs:
- Dashboard: View real-time system status indicators and general information.
- Browsers: Access web content through embedded Modern and Legacy browser controls.
- File Explorer: Navigate your local file system with a custom tree view and list view, supporting sorting and grouping.
- Gemini Chat: Interact directly with the Gemini AI models through a chat interface built with HTML/JS and powered by PowerShell.
- Robust Logging: Built-in logging module that saves events to JSON files and automatically archives old logs.
- Console Management: Toggle the visibility of the parent PowerShell console window to keep your desktop clean.
- API Integration: Native PowerShell function to query the Gemini API, supporting multiple models.
- Visual Styling: Features custom gradient headers, "Aero-style" buttons, and dynamic icon management for a polished look.
- Configuration: Saves user settings to a local JSON file.
- Scripting Language: PowerShell 5.1+
- GUI Framework: .NET Windows Forms (WinForms).
- Integration: Uses a
WebBrowsercontrol with HTML/JavaScript to render the chat interface, communicating with the PowerShell backend.
- API Key Security: The script relies on an environment variable (
GEMINI_API_KEY) rather than hardcoding credentials, which is a security best practice. - Local Resources: The application expects a
Resourcesdirectory containing icons and HTML templates to function correctly.
Distributed under the MIT License. See LICENSE.txt for more information.
Zach Whiteman - elitesoftwarecolimited@gmail.com
HuggingFace - https://huggingface.co/EliteSoftware
HuggingFace (Personal) - https://huggingface.co/TheShadyRainbow
LinkTree - https://linktr.ee/zachrainbow