ChatGPT  by wieslawsoltes

C# ChatGPT client for cross-platform GUI and CLI use

Created 2 years ago
1,476 stars

Top 27.9% on SourcePulse

GitHubView on GitHub
Project Summary

This project provides a cross-platform ChatGPT client for macOS, Windows, Linux, Android, iOS, and web browsers, built with C# and the Avalonia UI framework. It targets developers and users seeking a native or web-based interface for interacting with OpenAI's models, offering features like environment variable API key management, custom API URL support, and chat import from the official ChatGPT web version.

How It Works

The client leverages the Avalonia UI framework for its cross-platform graphical interface, enabling a consistent user experience across various operating systems and web browsers. It interacts with OpenAI's API, requiring an API key to be set either as an environment variable (OPENAI_API_KEY) or directly within the application's settings. The project also includes a .NET CLI tool for command-line interactions and a COM interop library for integration with Microsoft Office applications like VBA.

Quick Start & Requirements

  • Installation: Install the CLI tool globally: dotnet tool install --global ChatGPT.CLI --version 1.0.0-preview.17.
  • Prerequisites: .NET 7.0 SDK, OpenAI API key. For mobile/web builds: dotnet workload install ios android wasm-tools.
  • Configuration: Set OPENAI_API_KEY environment variable or configure in app settings.
  • Documentation: Guide, API Reference.

Highlighted Details

  • Cross-platform GUI support (macOS, Windows, Linux, Android, iOS, Browser) via Avalonia UI.
  • Includes a .NET CLI tool for automated tasks and scripting.
  • Provides COM interop for integration with Microsoft Office VBA.
  • Supports overriding OpenAI API URL and model parameters.

Maintenance & Community

The project is maintained by wieslawsoltes. Community interaction channels are not explicitly mentioned in the README.

Licensing & Compatibility

  • License: MIT License.
  • Compatibility: Permissive MIT license allows for commercial use and integration into closed-source applications.

Limitations & Caveats

The project is described as being in a preview state for the CLI tool (1.0.0-preview.17). Specific performance benchmarks or detailed platform-specific limitations are not provided.

Health Check
Last Commit

8 months ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
6 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.