Skip to content
/ macai Public
forked from Renset/macai

Swift powered native macOS client for ChatGPT

License

Notifications You must be signed in to change notification settings

z0rgoyok/macai

 
 

Repository files navigation

macai

GitHub top language GitHub code size in bytes GitHub Workflow Status GitHub GitHub all releases

macai (macOS AI) is a simple yet powerful native macOS client made with the help of ChatGPT to interact with modern AI tools (currently, only ChatGPT is supported).

Please note that macai can currently work only with your API token for ChatGPT. See how you can get your own token here

Downloads

You can download latest signed binary on Releases page.

You can also support project on Gumroad.

Build from source

Checkout main branch and open project in Xcode 14.3 or later

Features

  • Organized with chats, where each chat has its own context
  • Customized system messages (instructions) per chat
  • System-defined light/dark theme
  • Backup and restore your chats
  • Customized context size
  • Select one of the supported models (including GPT-4)
  • Formatted code blocks
  • Formatted tables, copy as JSON
  • With tabs, one can easily work with multiple chats simultaneously
  • Data is stored using CoreData

Project status

The code still has weak structure and not documented. However, I'm working on improving it now. Initially, code was generated by ChatGPT, but most parts were rewritten/changed. Advises and contributions are welcomed.

Contributions

Contributions are welcomed. Take a look at macai project page and Issues page to see planned features/bug fixes, or create a new one.

Screenshots

Starting screen

Welcome Screen: an image with abstract robo-austronaut sitting before laptop

Customized system message

An example of custom system message and ChatGPT responses:

CleanShot 2023-04-23 at 00 29 53@2x

Code formatting and syntax highlighting

The syntax of the code provided in ChatGPT response will be highlighted (185 languages supported)

Syntax highlighting in dark mode

Syntax highlighting in light mode

Table formatting

In most cases, tables in ChatGPT repsonses can be formatted as follows:

An application window with formatted table

Settings