Code Monkey home page Code Monkey logo

chat-ai-desktop's Introduction

Chat AI Desktop App

Unofficial open source Chat AI desktop app for mac, windows, and linux menubar using tauri & rust.

ssstwitter.com_1676182720544.mp4

sswinmac

Downloads

API Mode

apimode

I would like to credit open source chatbot UI by @mckaywrigley that made this possible. The desktop app wrapping the forked version here

Set your API Key

You can visit OpenAI Account to get your own API key, click menu on the top left and input your API Key

FAQ

Is it safe to login with my account in the app?

Yes, it is safe. There is no data transferred in the app (you can check the source). It's just a wrapper for teh popular Chat AI website. If you are still unsure, you can build your own binary and use it.

I cannot open the MacOS app because developer cannot be verified?

  1. In the Finder on your Mac, locate the chat ai app. Don't use Launchpad to do this. Launchpad doesn't allow you to access the shortcut menu.
  2. Control-click the app icon, then choose Open from the shortcut menu.
  3. Click Open.

https://support.apple.com/en-sg/guide/mac-help/mh40616/mac

Recommended IDE Setup

Developing

yarn
yarn tauri dev

Building

yarn
yarn tauri build

chat-ai-desktop's People

Contributors

buraksakalli avatar cho2 avatar d3vil0p3r avatar sonnylazuardi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chat-ai-desktop's Issues

Can't install rpm on Fedora 37

When trying to install the rpm package, dnf tells me that the file /usr/bin from chatgpt-0.2.0-2.x86_64 collides with the file from the package filesystem-3.18-2.fc37.x86_64.

[Feature] Starting in tray

Could you add an option so that ChatGPT is starting in tray?
It would be convenient to get it there upon system startup.

Doesn't move on from the waiting screen

image

Tried mac version, installed by the instruction, doesn't move to next after verifying not machine. Web site of chatGPT works pretty well.

System info
MacOS: Ventura 13.2.1

Linux Mint deb package missing dependency

Hi,

I have come across this error once installed from deb package:

chatgpt: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory
I have checked and I have these ssl libraries installed

  • libssl-dev
  • libssl3

however, it won't run with the above error.
Can you please help me find out what I need to have installed?
My build:
Linux jav-mint 5.15.0-70-generic #77-Ubuntu SMP Tue Mar 21 14:02:37 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

README_zh.md

项目简介

本项目是一个模拟登录到 openai 网页使用 ChatGPT 的项目

  • 梯子
国内预先要准备梯子,也就是要能登录网址:https://openai.com
  • 短信验证码
当然有梯子后,还要注册好账号,注册需要外国手机接短信验证码

不用怀疑,要实现上面的两个条件很有难度,网上的无数教程都不能解释这个,因为都懂的,不敢说,大家要自己想办法

直接使用本项目

克隆或者下载本项目后,找到releases文件夹看是否有适合自己系统的编译文件,有的话直接下载使用(记得梯子先开起来,另外苹果系统打开提示不安全时,打开系统的设置,打开隐私安全页面滚动到下面,看到允许允许的地方,允许它允许),启动后,第一个页面是验证是否是机器人,点一下然后就弹出登录页面,登录openai账号,就可以享用了。

本项目的准备工作

  • clone 或者下载本项目到本地
如果您电脑有 git 工具用克隆命令:
git clone https://github.com/sonnylazuardi/chatgpt-desktop.git
  • 本项目用到了 Tauri 框架,运行 Tauri 项目要 Rust,下面是 Tauri 的准备工作,根据自己操作系统去准备环境
https://tauri.app/zh-cn/v1/guides/getting-started/prerequisites
  • 使用 Visual Studio Code 打开项目,如果没有 Tauri 扩展、rust-analyzer 扩展,请先安装

  • 本项目是用 yarn 管理的,还需要安装 yarn,用命令安装,命令为:curl -o- -L https://yarnpkg.com/install.sh | bash

  • 接下来执行开发命令

# 执行过程会下载一些依赖,耐心等它下载完,如果报错,那么检查上面的准备工作是否有什么没做,或者从报错信息去阅读是什么导致,我这里测试成功(macOS 13.2.1)
yarn
yarn tauri dev
  • 接下来执行构建命令
yarn
yarn tauri build

API mode not sticking after app restart

Currently, when restarting the Chatbot UI app, the API mode automatically switches to Web Mode, which can be inconvenient for users who prefer to use the API mode. It would be helpful if a default mode could be set at the start of the app in future releases to avoid this issue.

Ty for your awesome software Sonny

Can't get past verification box

Verification box turns solid white after a second. Can't access it, reopening and reinstalling doesn't work
Running on Windows 11 Revision os

[feature] add prompt prefix support for api mode.

For api mode, we don't need the ai to remember the whole context, but to add a prompt prefix for the after text.

Say:
[prompt-prefix] translator all the later inputs into English:
[user-input]: 今天天气不错
[ai-ouput]: The weather is nice today

if we had a [prompt prefix], we needn't input it every time, and we needn't care about the context tokens overflow.

Winget install package

Thanks for this program! I got so tired of looking for the chatgpt browser tab among the far-too-many I have open.

I created a PR to add chatgpt-desktop to the Winget package respository
microsoft/winget-pkgs#92606

There's a process to have this done automatically through CI on each release, but I've never done that; I'm new to the winget packaging universe.

[Improvement] Send Chat Shortcut

Can you improve the shortcut (example: ctrl + enter) for send chat instead click send chat manually? I hope this feature help for efficiency

proxy setting

chatgpt is not valiable in some countries so proxy setting is nessesary

Title bar issue

On laptop, scroll with 2 fingers, more details in video below:

20230719_134737.mp4

[Windows 10 21H2] Can't create created folder

When I install chatgpt, it says that it can't create folder C:\ProgramData\Microsoft\Windows\Start Menu, but when I navigate to this folder, it exists, but because my Windows 10 is on Russian language, it displays as "Главное меню" (Glavnoye menyu, Main menu)

image
image

(i screenshotted my screen because my Windows+Shift+S doesn't work)

[Bug] login process is broken

It's now required to click multiple times on login, but maybe it's ChatGPT issue.
Anyway, after logging in, it returns to log in screen again.

broken cmd + v on mac

steps to reproduce :

  1. install the app
  2. click login
  3. try to copy a text and paste the copied text to the textbox

Win 11 not working

Hey everyone!
After installation it appears in task bar as an icon and closes straights away, in task manager doesn't show up, any guess how to fix it? win 11

The request is blocked

On intel macos I get a blank screen saying the 'the request was blocked'. This is the first thing I see when I open the app.

On Pop_OS Linux (deb package) attempting to run results in a stack overflow.

Hello,
I installed the deb package and went to start it up, but it simply gave the following log messages.

Dec  7 20:39:22 pop-os chatgpt.desktop[743101]: thread 'main' has overflowed its stack
Dec  7 20:39:22 pop-os chatgpt.desktop[743101]: fatal runtime error: stack overflow
System Details
mosthated@pop-os
----------------
OS: Pop!_OS 22.04 LTS x86_64
Host: X670E Taichi
Kernel: 6.0.9-060009-generic
Uptime: 20 hours, 44 mins
Packages: 4402 (dpkg), 43 (nix-default), 110 (flatpak), 14 (snap)
Shell: zsh 5.8.1
Resolution: 2560x1080
DE: GNOME 42.3.1
WM: Mutter
WM Theme: Yaru-dark
Theme: Pop-dark [GTK2/3]
Icons: Flatery-Orange-Dark [GTK2/3]
Terminal: alacritty
CPU: AMD Ryzen 9 7950X (32) @ 5.881GHz
GPU: AMD ATI Radeon RX 6900 XT
GPU: AMD ATI 59:00.0 Device 164e
Memory: 44256MiB / 63415MiB

Thanks,
-MH

hmmm

where to start...

great idea but..

should give option to just use api key instead of logging in
literally cannot move window from bottom right hand corner
not a good port for windows

still..great idea.

[feature] input box focus

I was wondering if you could code the function to auto focus to the input area or have a hot key to do so. It's very convenient and useful when I use some macro software to do copy and prompt attach and sent it to chatgpt to proceed.

thanks a million!

about app's window

  1. if click outside the range of app's window ,you need to open it again.
    is there any way can change the setting to solve this promblem?

  2. the web mode sometimes would be no background ,so it is difficult to read and copy text
    problem 2

thanks the author made this app

Bug report: can't resize the window

I want to adjust the size and position of the client. When I click on the edge of the client, although my cursor shows that it can be adjusted, when I press the mouse button, the entire client will be minimized to the lower right corner. This makes me very uncomfortable. Can you help me see where the problem is?

[Bug] MacOS - Window does not reopen from the dock

Steps to reproduce

  1. Start chatgpt application
  2. Close window, but do not quit the application
  3. Click on chatgpt application icon from the dock - window does not reopen

Expected results

The chatgpt window should reopen when clicking on the dock

Other observations

  • Can reopen window from the task bar icon

System

  • macOS Monterey 12.6.1

Feature Request: Ability to submit message with [Enter] Key

Currently you have to manually click the send button with your mouse, and the [Enter] key does a new line.
It would be much more convenient if the application behaved as most applications do where [Enter] submits, and Shift+Enter does a new line.

[Improvement] Unused shared libraries

The binary file chatgpt extraced from Linux .deb contains some unused shared libraries.

It can check by ldd like below:

$ ldd --unused $(which chatgpt)
Unused direct dependencies:
	/usr/lib/libdl.so.2
	/usr/lib/libpthread.so.0

[Bug] - tauri command not found during building in Arch Linux

Hello,
I'm trying to build chatgpt-desktop by yarn tauri build but I get the following error:

yarn run v1.22.19
$ tauri build
/bin/sh: line 1: tauri: command not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I installed yarn, tauri-devel-meta and also Rust, and followed Tauri App docs (https://tauri.app/v1/guides/getting-started/prerequisites/) but I continue to get this error. Even if I try to use yarn cargo-tauri build (despite I have cargo-tauri tool), I get:

yarn run v1.22.19
error Command "cargo-tauri" not found.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.