Coder Social home page Coder Social logo

ichatgpt's Introduction

iChatGPT

OpenAI ChatGPT app for iOS, iPadOS, macoS

一、App 介绍

iChatGPT app

使用和原理介绍:

更新说明

最新版本 v2.7

  • Streamlined output support. (支持流式输出)
  • Added modules for gpt-3.5-turbo-16k, gpt-3.5-turbo-16k-061, and gpt-4-32k-0613. (增加模块,支持 gpt-3.5-turbo-16k、gpt-3.5-turbo-16k-061 和 gpt-4-32k-0613)
  • Increased request timeout to 60 seconds to reduce timeout issues. (请求超时时间调整为 60 秒,减少请求超时问题)
  • Switched to historical conversations, automatically scrolling to the latest content. (切换历史对话,默认滚动到最新的对话内容)
  • Optimized several user experience details. (优化一些体验细节)

支持功能

实现 ChatGPT 基本聊天功能:

  • 可以直接与 ChatGPT 对话,并且保留上下文;
  • 可以复制问题和回答内容;
  • 可以快捷重复提问;
  • iPadOS 和 macOS 可以同时打开多个独立的聊天对话

支持系统:

  • iOS 14.0+
  • iPadOS 14.0+
  • macOS 11.0+

TODO

  • 显示个人头像
  • 请求失败重试等
  • 支持多语言,如英文
  • 保存对话
  • 保存 pdf 文件
  • 支持自定义 API URL
  • 自由的选择和复制文本
  • 支持语音输入
  • 支持代码高亮和复制等
  • 支持表格显示
  • 支持流式输出
  • 支持自定义图标
  • 悬浮窗模式
  • 更多功能,欢迎提 PR ~

二、安装说明

2.1 iOS / iPadOS / Mac Apple Silicon

  • iOS 14.0+
  • iPadOS 14.0+
  • macOS 11.0+(Mac Apple Silicon M1/M2+)

TestFlight 下载地址:https://testflight.apple.com/join/GR4BOt2M

注:

  1. TestFlight 名额有限,先下先得!
  2. 如无名额,iOS 和 iPadOS 需要自行编译安装。

2.2 macSO 安装包下载

  • macOS 11.0+

  • Mac Apple Silicon M1/M2+

  • Mac Intel x86_64

  • Mac 下载:Releases

2.3 Xcode 构建

  • 构建依赖:Xcode14

下载项目后,双击 iChatGPT.xcodeproj 打开项目构建。

注:依赖其它共享组件,需要保证能访问 GitHub 服务。

三、FAQ

3.1 登陆

目前支持使用openai key来进行认证,无需其他方式 screenshot/03.png

欢迎大家提 PR ! 或者有解决方案欢迎大家提供~

3.2 启动 macOS app

  • 问题:首次打开提示:“无法打开iChatGPT.app”,因为 Apple 无法检查其是否包含恶意软件。”

解决方法:选中 app 后,点击右键 -> ”打开“,即可正常打开 iChatGPT。

3.3 More Questions

3.4 历史更新功能

v2.6:

  • Support custom API URL.(支持自定义 API URL。)
  • Set API timeout duration.(设置 API 超时时间。)
  • Configure API model for individual chat rooms.(支持聊天室单独设置 API 模型。)
  • Support more model choices (e.g., gpt-4-32k).(支持更多模型选择,如 gpt-4-32k 等。)
  • Change icons to local images and differentiate gpt-4 icons.(将图标更改为本地图片并区分 gpt-4 图标。)
  • Fix auto letter conversion issue with consecutive characters (e.g., in Chinese or Japanese).(修复连续输入字符时自动变为字母的问题,如中文或日文。)

v2.5:

  • Added chat room settings with Prompt and Temperature parameter configuration. (新增聊天室设置功能,支持 Prompt 和 Temperature 参数配置。)
  • Display current conversation identifier in the history list. (历史对话列表增加显示当前对话标识。)
  • Fixed potential crash when sending conversations. (修复发送对话时可能会崩溃的问题。)
  • Removed restrictions on creating new conversations and switching history when requesting a conversation. (请求对话时,取消创建新对话和切换历史对话的禁用限制。)
  • Improved multi-language translations for sharing feature. (完善分享功能的多语言翻译。)

v2.4:

  • Add sharing function(增加分享功能)
  • Fix the history list is too high(修复历史列表过高)

v2.3:

  • Create new conversation. (创建新的对话)
  • Save conversation records. (保存对话记录)
  • Switch to historical conversations. (切换历史对话)
  • Scroll to the top of the conversation list. (滚动到对话列表的顶部)
  • Auto-scroll to the bottom of the conversation list. (自动滚动到对话列表的底部)
  • Option to request conversations without historical records (click on the icon on the left side of the input box to toggle). (请求时可不带历史对话记录)
  • Support for additional languages (Traditional Chinese, Korean, Japanese, French, German, Russian, etc.). (支持更多语言(繁体中文、韩文、日文、法语、德语、俄语等))

v2.2:

  • Increased request timeout from 30 seconds to 60 seconds.(请求超时从 30 秒增加到 60 秒。)
  • When sending dialog context, only send the first three Q&A rounds, and submit only the first 100 characters of the answer.(发送对话上下文时,只发送提问的前三轮问答,且答案只提交前100个字。)
  • Fixed Chinese Pinyin input method typing interruption problem (thanks to @ypwhs/@coder-free/@0xfeedface1993).(修复中文拼音输入法打字中断的问题(感谢 @ypwhs、@coder-free、@0xfeedface1993))

v2.1:

  • support GPT-4 Model(支持 GPT-4 模型)
  • support English language(支持英文语言)
  • display configured API Key(显示已配置的 API Key)

v2.0:

  • support OpenAI API key
  • base GPT3.5 Turbo

注意:需要填写自己的 OpenAI API key,app 不提供 key!

四、Contributors

五、效果示例

screenshot/02.jpeg

screenshot/03.jpeg

screenshot/05.jpeg

screenshot/06.jpeg

screenshot/07.jpeg

六、特别鸣谢

ichatgpt's People

Contributors

0xfeedface1993 avatar alphagogoo avatar gavinhome avatar ihtcboy avatar rbbtsn0w 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

ichatgpt's Issues

支持prompt模板

能否支持使用prompt模板

比如当用户输入keyword,向ChatGPT发送 你认为${keyword}是什么原因?你是从哪里了解到的?能给我一些关于它的链接吗?

Cant use azure openai

Cant change the hostname to use model on azure openai.

Getting error: The data couldn't be read because its missing

修改key之后不能马上生效

在使用过程中偶然发现,修改key之后不能立刻生效,需要退出软件重启才可以,希望作者可以再完善一下

bug

iOS14系统安装完进软件点右上角key无反应,作者看到解决下

提两个UX的小建议

  1. 希望可以自由的选择并且复制答案的文字,尤其是代码部分,在代码上加个复制的按钮也行。但最好是文字选择。

截屏2023-03-16 13 44 21

2. 希望可以在确定后,页面自动定位到最低点,将答案完整的显示。

不支持创建多个会话吗?

不支持创建多个会话吗?像官网那样,可以新增和删除会话,另外API的参数可以做成可配置的吗?

流式输出

一次性输出,答案需要等待很长时间,可否改成流式输出,像官网那样

Mac端填入Session Token信息保存后、提问报错403

Mac客户端版本v1.1.2,按照Readme和如图操作后,报错「非预期的响应内容: HTTP:403」
报错HTML渲染后,内容是

chat.openai.com

Checking if the site connection is secure

chat.openai.com needs to review the security of your connection before proceeding.

Ray ID: 7793b967cb9e9e6e

Performance & security by Cloudflare

Snipaste_2022-12-14_11-06-26

希望可以添加自定义api url的功能

由于梯子的原因,一些用户可能无法直接访问api.openai.com的网址。可以通过CF代理的方式进行访问。如果能进行自定义url,那么就可以更方便的使用自己的API

提几个需求

1.悬浮窗模式:对话框一直悬浮在前
2.保存成pdf,预制格式

HTTP 403 Error

Getting the same error 403 when sending any message even after doing the mentioned steps.
Any fix for that yet?
Thanks

提示403

按照提示填入对应参数后,还是一直显示这个
能提供一下解决方案吗,iOS和macOS都是一样的错误
非预期的响应内容: HTTP:403

<title>Just a moment...</title>

chat.openai.com

Checking if the site connection is secure

Enable JavaScript and cookies to continue
chat.openai.com needs to review the security of your connection before proceeding.
<script> (function(){ window._cf_chl_opt={ cvId: '2', cType: 'managed', cNounce: '52725', cRay: '77a580da7dd9c0f2', cHash: '430a42f451f04dd', cUPMDTk: "\/backend-api\/conversation?__cf_chl_tk=eqbiscIqbM7dkjMCb.2wgrHHb3FTjuRpwRdHtYNWaKc-1671173620-0-gaNycGzNB70", cFPWv: 'g', cTTimeMs: '1000', cTplV: 4,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YM0y8YA==', i2: '5H/iS+KVOJlNQOyCgg6U0w==', zh: 'iuyN59AGNgeBFFEOPj72EN+xtBfXXvoCyd1dJnIVFAc=', uh: 'w+NeOS2eM6319mStwCUvaYmRm9BS2ZQKAp45tqudIII=', hh: 'foaWmAUHGGlVCZaNUJIHhxzxFNzSPNnVe6rJjiQw728=', } }; var trkjs = document.createElement('img'); trkjs.setAttribute('src', '/cdn-cgi/images/trace/managed/js/transparent.gif?ray=77a580da7dd9c0f2'); trkjs.setAttribute('style', 'display: none'); document.body.appendChild(trkjs); var cpo = document.createElement('script'); cpo.src = '/cdn-cgi/challenge-platform/h/g/orchestrate/managed/v1?ray=77a580da7dd9c0f2'; window._cf_chl_opt.cOgUHash = location.hash === '' && location.href.indexOf('#') !== -1 ? '#' : location.hash; window._cf_chl_opt.cOgUQuery = location.search === '' && location.href.slice(0, -window._cf_chl_opt.cOgUHash.length).indexOf('?') !== -1 ? '?' : location.search; if (window.history && window.history.replaceState) { var ogU = location.pathname + window._cf_chl_opt.cOgUQuery + window._cf_chl_opt.cOgUHash; history.replaceState(null, null, "\/backend-api\/conversation?__cf_chl_rt_tk=eqbiscIqbM7dkjMCb.2wgrHHb3FTjuRpwRdHtYNWaKc-1671173620-0-gaNycGzNB70" + window._cf_chl_opt.cOgUHash); cpo.onload = function() { history.replaceState(null, null, ogU); }; } document.getElementsByTagName('head')[0].appendChild(cpo); }()); </script>
<div class="footer" role="contentinfo">
    <div class="footer-inner">
        <div class="clearfix diagnostic-wrapper">
            <div class="ray-id">Ray ID: <code>77a580da7dd9c0f2</code></div>
        </div>
        <div class="text-center">Performance &amp; security by <a rel="noopener noreferrer" href="https://www.cloudflare.com?utm_source=challenge&utm_campaign=m" target="_blank">Cloudflare</a></div>
    </div>
</div>

[Bug] iOS打字断流问题

在手机上打字总是会被打断,不知道为什么。

视频如下:

RPReplay_Final1679225990.mov

具体填写数据是?

session token,需要填写的是?
cf Clearance,需要填写的是?
user agent,需要填写的是?

我目前只有 open AI的API KEYS

返回结果里的代码换行不正确

比如c语言的hello world就不能正常显示换行,但实际上输出的回答结果是包含换行的,只需要长按复制答案粘贴到其他地方就可以看到换行了。
image

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.