ChatGPT-rs is a lightweight ChatGPT client with a graphical user interface, written in Rust

Overview

ChatGPT-rs

ChatGPT-rs is a lightweight ChatGPT client with a graphical user interface, written in Rust. It allows you to chat with OpenAI's GPT models through a simple and intuitive interface.

Features

ChatGPT-rs provides the following features:

  • 💻 User-friendly GUI: ChatGPT-rs has an intuitive graphical user interface that makes it easy to use.
  • 💾 Lightweight: ChatGPT-rs is a small application with a download size of approximately 7MB.
  • 👍 Easy to use: ChatGPT-rs can be used as soon as it is downloaded without the need for any additional deployment steps.
  • 🔧 Model parameter tuning: ChatGPT-rs allows you to fine-tune the GPT model by adjusting the model parameters, allowing for more customized responses.
  • 📄 Conversation history: ChatGPT-rs allows you to save and access conversation history, so you can review past conversations.
  • 📝 Markdown support: ChatGPT-rs supports markdown syntax, allowing you to format your messages with ease.
  • 🎨 Syntax highlighting: ChatGPT-rs includes syntax highlighting for programming languages, making it easy to share code snippets in your conversation.
  • 📱 Compatibility: ChatGPT-rs is designed to work on multiple platforms, including Windows, Mac, and Linux.

If you want to display the markdown code font properly, we recommend installing the "YaHei Consolas Hybrid 1.12.ttf" font from the "fonts" directory in the project repository.

1

2

Getting Started

Downloading

You can download the latest release of ChatGPT-rs from the Releases page on GitHub. Choose the appropriate package for your operating system and follow the instructions to download and extract it to a directory of your choice.

Usage

API Key

Before you can use ChatGPT-rs, you need to obtain an OpenAI API key. To obtain an API key, follow these steps:

  1. Go to the OpenAI API website and sign up for an account.
  2. Once you have an account, go to the Dashboard and click on the "Create new secret key" button.
  3. Follow the instructions to create a new API key.

Once you have obtained an API key, create a .env file in the root directory of the project and add the following line. Alternatively, you can set environment variable in your system:

OPENAI_API_KEY=YOUR_SECRET_KEY

Replace YOUR_SECRET_KEY with your actual API key.

Proxy

By default, ChatGPT-rs now uses the system's default proxy settings. If you need to use a specific proxy to connect to the OpenAI API, you can add the following line to the .env file or set environment variable:

HTTP_PROXY=YOUR_PROXY_ADDRESS

Replace YOUR_PROXY_ADDRESS with your actual proxy address.

System Message

If you need to store a system message before the conversation starts, you can add the following line to the .env file or set environment variable:

SYSTEM_MESSAGE=YOUR_MESSAGE

Replace YOUR_MESSAGE with your actual system message. The first chat message will be stored as the system message.

Start Chatting

To start chatting with GPT

In the latest version, ChatGPT-rs has a new tabbed interface that allows you to chat with multiple users simultaneously. Simply click on the label to open a new conversation tab.

License

This project is licensed under the MIT License - see the LICENSE file for details.

You might also like...
a terminal user interface for lemmy

Lemmy-Terminal-Viewer Terminal User Interface for lemmy for Linux Terminals (should work in MacOs but i can't test) Install and Usage Linux Download l

OSINT from your favorite services in a friendly terminal user interface
OSINT from your favorite services in a friendly terminal user interface

osintui Open Source Intelligence Terminal User Interface Report Bug · Request Feature Installation First, install Rust (using the recommended rustup i

Lightweight alternative Discord client with a smaller footprint and some fancy extensible features.
Lightweight alternative Discord client with a smaller footprint and some fancy extensible features.

Dorion Dorion is an alternative Discord client aimed and lower-spec or storage-sensitive PCs that supports themes, plugins, and more! Table of Content

A tool for chatting using the ChatGPT API, written in Rust CLI.
A tool for chatting using the ChatGPT API, written in Rust CLI.

ChatGPT CLI A tool for chatting using the ChatGPT API, written in Rust CLI. You can use this tool to chat, just by setting your API Key. You can modif

Slack chat bot written in Rust that allows the user to interact with a large language model.
Slack chat bot written in Rust that allows the user to interact with a large language model.

A Slack chat bot written in Rust that allows the user to interact with a large language model. Creating an App on Slack, first steps Go to https://api

A lightweight and super fast cli todo program written in rust under 200 sloc
A lightweight and super fast cli todo program written in rust under 200 sloc

todo A lightweight and super fast cli todo program written in rust under 200 sloc installation AUR package: todo-bin use cargo build --release to comp

Lemurs - A lightweight TUI display/login manager written in Rust 🐒
Lemurs - A lightweight TUI display/login manager written in Rust 🐒

Lemurs 🐒 A TUI Display/Login Manager written in Rust WIP: Whilst the project is working and installable, there are still a lot of bugs and limitation

A safe, fast, lightweight embeddable scripting language written in Rust.

Bud (budlang) A safe, fast, lightweight embeddable scripting language written in Rust. WARNING: This crate is not anywhere near being ready to publish

Super-lightweight Immediate-mode Embedded GUI framework, based on the awesome embedded-graphics library. Written in Rust.

Kolibri - A GUI framework made to be as lightweight as its namesake What is Kolibri? Kolibri is an embedded Immediate Mode GUI mini-framework very str

Releases(v1.2.0)
  • v1.2.0(Mar 28, 2023)

    • Tabbed interface: You can now chat with multiple users simultaneously with ChatGPT-rs. This makes it easy to switch between conversations, and helps you stay organized.
    • Improved interface: We've revamped the interface to make it cleaner and more user-friendly. You'll also notice that certain controls now have right-click menus, which provide additional options for customization.
    • Bug fixes and performance improvements: We've fixed several bugs that were affecting the application's stability, and made some performance optimizations to provide a smoother experience overall.
    Source code(tar.gz)
    Source code(zip)
    chatgpt-rs-linux.tar.gz(4.95 MB)
    chatgpt-rs-windows.7z(2.80 MB)
  • v1.1.2(Mar 27, 2023)

    We are pleased to announce the release of ChatGPT-rs v1.1.2, a lightweight ChatGPT client that lets you chat with OpenAI's GPT models through a simple graphical interface. This version comes with several new features and improvements, including:

    • Improved complete mode: We've optimized the complete mode feature to provide faster and more accurate responses. You'll also notice a smoother user experience overall.
    • Insert text at cursor: You can now insert text at the cursor position, instead of appending text to the end of the message. This makes it easier to customize your prompts without having to retype the entire message.
    • Adjust complete mode parameters: We've added the ability to adjust the parameters for complete mode, such as the maximum response length and temperature. This gives you more control over the way GPT generates responses.
    Source code(tar.gz)
    Source code(zip)
    chatgpt-rs-linux.tar.gz(4.94 MB)
    chatgpt-rs-windows.7z(2.78 MB)
  • v1.1.1(Mar 26, 2023)

    We are pleased to announce the release of ChatGPT-rs v1.1.1, a lightweight ChatGPT client that lets you chat with OpenAI's GPT models through a simple graphical interface. This version comes with an important bug fix that improves the application's stability, including:

    • Fixed complete mode crash: We've addressed an issue that caused the application to crash unexpectedly while using complete mode.
    Source code(tar.gz)
    Source code(zip)
    chatgpt-rs-linux.tar.gz(6.00 MB)
    chatgpt-rs-windows.7z(2.77 MB)
  • v1.1.0(Mar 26, 2023)

    ChatGPT-rs Release Notes (v1.1.0)

    We are pleased to announce the release of ChatGPT-rs v1.1.0, a lightweight ChatGPT client that lets you chat with OpenAI's GPT models through a simple graphical interface. This version comes with several new features and improvements, including:

    • API key and system message editing: You can now edit your API key and system message within the ChatGPT-rs interface, instead of having to create and edit an .env file.
    • Default proxy settings: ChatGPT-rs now uses the system's default proxy settings, so you no longer have to specify a proxy in .env file or within the software.
    • Improved stability: We've fixed several bugs that caused the application to crash unexpectedly.
    Source code(tar.gz)
    Source code(zip)
    chatgpt-rs-linux.tar.gz(6.01 MB)
    chatgpt-rs-windows.zip(3.50 MB)
  • v1.0.0(Mar 25, 2023)

    ChatGPT-rs Release Notes (v1.0.0)

    We are excited to announce the first release of ChatGPT-rs, a lightweight ChatGPT client with a user-friendly graphical interface. You can download the release from our Releases page on GitHub.

    Features

    • User-friendly GUI
    • Lightweight (approximately 7MB download size)
    • Easy to use, requires no additional deployment steps
    • Model parameter tuning for customized responses
    • Conversation history for reviewing past conversations
    • Cross-platform compatibility (Windows and Linux)

    How to Use

    1. Download the release from our Releases page on GitHub.
    2. Install the software on your computer.
    3. Launch ChatGPT-rs and enter your OpenAI API key.
    4. Customize the model parameters if desired.
    5. Begin chatting with OpenAI's GPT models.

    We are excited to share this release with you and look forward to your feedback. If you encounter any bugs or issues, please report them through our Issues page on GitHub.

    ChatGPT-rs 发布说明 (v1.0.0)

    我们很高兴地宣布,ChatGPT-rs 发布了第一个版本,这是一个轻量级的 ChatGPT 客户端,拥有一个用户友好的图形界面。您可以在 GitHub 的 Releases 页面 上下载的此版本。

    新增功能

    • 用户友好的图形界面
    • 轻量级(仅约 7MB 下载大小)
    • 易于使用,不需要额外的部署步骤
    • 模型参数调整,实现自定义的回复
    • 存储对话记录,方便查看以前的聊天记录
    • 跨平台兼容性(Windows、Linux)

    如何使用

    1. GitHub 的 Releases 页面 上下载该版本。
    2. 在计算机上安装该软件。
    3. 启动 ChatGPT-rs 并输入您的 OpenAI API 密钥。
    4. 如果需要,可以自定义模型参数。
    5. 开始使用 OpenAI 的 GPT 模型进行聊天。

    我们很高兴与大家分享这个版本,并期待您的反馈。如果您遇到任何错误或问题,请通过我们在 GitHub 上的 Issues 页面 报告它们。

    Source code(tar.gz)
    Source code(zip)
    chatgpt-rs-linux.tar.gz(5.59 MB)
    chatgpt-rs-windows.zip(3.09 MB)
Owner
null
Terminal User Interface to help debugging programs written for Triton VM.

Triton TUI Terminal User Interface to run and debug programs written for Triton VM. Getting Started Triton TUI tries to be helpful. ?? List possible (

Triton VM 4 May 7, 2024
This is a simple command-line interface tool that allows you to interact with ChatGPT from OpenAI or Azure.

HeyGPT This is a simple command-line interface tool that allows you to interact with ChatGPT from OpenAI or Azure. You can use it to: Chat with ChatGP

Philip 5 Mar 28, 2023
A command-line interface for interacting with the ChatGPT API from OpenAI

cligpt cligpt is a command-line interface for interacting with the ChatGPT API from OpenAI. With cligpt, you can quickly and easily generate text by s

Felipe S. S. Schneider 6 Apr 4, 2023
A simple common-line interface for ChatGPT API.

heygpt A simple common-line interface for ChatGPT API. ?? Streaming output! ?? One-shot mode to get a quick answer ?? Interactive mode to have a conve

Eric Fu 88 Apr 17, 2023
A Text User Interface library for the Rust programming language

Cursive Cursive is a TUI (Text User Interface) library for rust. It uses ncurses by default, but other backends are available. It allows you to build

Alexandre Bury 3.3k Jan 9, 2023
A Text User Interface library for the Rust programming language

Cursive Cursive is a TUI (Text User Interface) library for rust. It uses ncurses by default, but other backends are available. It allows you to build

Alexandre Bury 3.3k Jan 3, 2023
Demo Rust Cursive crate for terminal user interface (TUI)

Demo Rust Cursive Demonstration of the Rust programming language and Cursvie crate for terminal user interface (TUI). Setup Create: cargo new demo Add

Joel Parker Henderson 5 Dec 27, 2022
A user-friendly, lightweight TUI for disk imaging

Caligula Burning Tool Caligula is a user-friendly, lightweight TUI for imaging disks. $ caligula burn -h Burn an image to a disk Usage: caligula burn

Astrid Yu 25 Mar 26, 2023
A user-friendly TUI client for Matrix written in Rust!

Konoha A user-friendly TUI client for Matrix written in Rust! Notice: The client is currently not usable and is only hosted on GitHub for version cont

L3af 9 Jan 5, 2022
A cross platform minimalistic text user interface

titik Titik is a crossplatform TUI widget library with the goal of being able to interact intuitively on these widgets. It uses crossterm as the under

Jovansonlee Cesar 113 Dec 31, 2022