Opti-Link Instant Messenger (v0.9.0.0) is a custom PowerShell GUI application built using Windows Forms (.NET WinForms) designed to provide an interactive chat client experience primarily for AI models hosted by LM Studio. This version introduced persistent theme settings, allowing users to personalize their interface, and refined the custom menu renderer to be theme-aware.
It empowers users to communicate with various AI personalities, configure model parameters, manage chat history, and customize their interface with a thematic design, including a custom menu renderer.
Built by: EliteSoftware Enterprises / Zachary Whiteman / Google Gemini Ai
This application is a single PowerShell script and does not require a complex installation process.
To run this script, you only need:
- Windows Operating System (Windows 7 or later).
- PowerShell 5.1 or newer (PowerShell Core is supported, but the script is optimized for the full .NET Framework available in Windows PowerShell for WinForms).
- The required .NET Framework assemblies (System.Windows.Forms, System.Drawing, System.IO.Compression.FileSystem) which are included with modern Windows installations and loaded automatically by the script.
- For LM Studio Integration: LM Studio application running a local server.
- Download: Download the
v0.9.0.0 OptiLink Instant Messenger.PS1script file. - Unblock: Right-click the file, go to Properties, and click
Unblockif the file was downloaded from the internet. - Run: Execute the script from a PowerShell console or by double-clicking it (if your system is configured to run PS1 files).
.\v0.9.0.0 OptiLink Instant Messenger.PS1
The application's configuration files (settings.json, icons, logs) are stored in:
[Script Directory]\OptiLink_Config
Opti-Link Instant Messenger provides a tabbed interface for managing your AI chat experience:
- Chat Tab: Your primary chat interface. Type your prompts and view AI responses in chat bubbles.
- Connection Tab: Configure your LM Studio server URL and port, and fetch loaded models.
- Model Parameters Tab: Adjust AI behavior with settings like Temperature, System Prompt (personas), GPU Offload, and Context Length.
- Templates Tab: Manage additional stop strings and set response length limits.
- Models Tab: Fetch and display a list of downloaded LM Studio models.
Key Interactions:
- Sending Messages: Use the "Send" button or your configured hotkey (Enter, Ctrl+Enter, or Shift+Enter).
- Settings (
File > Settings): Customize application icon, send message hotkey, backend preference (LM Studio is primary in this version), and theme preference. - Changelog (
Help > Changelog): View application version history. - Minimize to Tray: Minimize the application window to send it to the system tray. Double-click the tray icon to restore.
- New Feature: Persistent Theme Setting: Users can now toggle between a default Teal theme and a standard system color theme, with their choice saved across sessions.
- Theme-Aware Custom Menu Renderer: The menu bar visually adapts to the selected theme.
- LM Studio Integration: Seamlessly connects and interacts with LM Studio's HTTP API for chat completions.
- Interactive Chat Bubbles: WebBrowser control-based chat interface with dynamic HTML/CSS styling for clear conversation flow.
- Comprehensive Settings: Persistent configuration for connection details, model parameters, themes, and UI preferences.
- Model Parameter Tuning: Fine-tune AI responses with configurable Temperature, System Prompts (personas), GPU Offload layers, and Context Length.
- Prompt Templating: Define custom stop strings to control AI output and set maximum response token limits.
- LM Studio Model Management: Fetches and displays loaded models from your LM Studio server.
- System Tray Integration: Minimize the application to the system tray for discreet background operation.
- Robust Logging: Comprehensive logging system with automatic archiving of logs and detailed error reports, aiding in diagnostics.
- Customizable Icon: Set a custom application icon for personalization.
- Portable Configuration: Stores all settings and logs adjacent to the script in
OptiLink_Configfor easy portability.
The entire application is a self-contained PowerShell script, utilizing:
- Scripting Language: PowerShell (5.1+)
- GUI Framework: .NET Windows Forms (WinForms)
- Chat Rendering:
System.Windows.Forms.WebBrowserfor rich HTML/CSS chat bubbles. - AI Backend Integration:
Invoke-RestMethodfor communication with LM Studio's HTTP API. - File Management & Archiving:
System.IO.Compression.FileSystemand PowerShell native commands for dependency handling. - Persistence: JSON-based configuration files (
settings.json). - Dynamic UI: Custom
ToolStripProfessionalRendererfor themed menu bars.
Opti-Link Instant Messenger (v0.9.0.0) is primarily a client-side application designed to interact with locally-hosted AI models via LM Studio.
- Local-First Operation: The application prioritizes local execution and interaction. LM Studio connections are typically to
localhost. - PowerShell Scripting: The application is written entirely in PowerShell, leveraging its capabilities for GUI development and system interaction.
- Configuration Storage: All application settings are stored locally in JSON files within the
OptiLink_Configdirectory, adjacent to the script. No external cloud services are used for configuration. - No Telemetry: The application does not collect or transmit any user data or telemetry.
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