@kudoai/chatgpt.js 2.6.7 → 2.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/LICENSE.md +9 -0
  2. package/README.md +30 -34
  3. package/chatgpt.js +2001 -2060
  4. package/dist/chatgpt.min.js +9 -3
  5. package/docs/README.md +30 -34
  6. package/docs/SECURITY.md +25 -25
  7. package/docs/USERGUIDE.md +6 -65
  8. package/package.json +73 -73
  9. package/starters/chrome/LICENSE.md +31 -43
  10. package/starters/chrome/docs/README.md +93 -93
  11. package/starters/chrome/docs/SECURITY.md +17 -17
  12. package/starters/chrome/extension/background.js +14 -14
  13. package/starters/chrome/extension/content.js +62 -62
  14. package/starters/chrome/extension/lib/chatgpt.js +2002 -2061
  15. package/starters/chrome/extension/lib/settings-utils.js +24 -24
  16. package/starters/chrome/extension/manifest.json +24 -24
  17. package/starters/chrome/extension/popup/index.html +62 -62
  18. package/starters/chrome/extension/popup/popup.js +92 -92
  19. package/starters/chrome/extension/popup/style.css +55 -55
  20. package/starters/docs/LICENSE.md +13 -25
  21. package/starters/docs/README.md +29 -29
  22. package/starters/greasemonkey/LICENSE.md +31 -43
  23. package/starters/greasemonkey/chatgpt.js-greasemonkey-starter.user.js +5 -5
  24. package/starters/greasemonkey/docs/README.md +7 -7
  25. package/starters/greasemonkey/docs/SECURITY.md +17 -17
  26. package/LICENSE +0 -21
  27. package/docs/de/LICENSE.md +0 -29
  28. package/docs/de/README.md +0 -343
  29. package/docs/de/SECURITY.md +0 -25
  30. package/docs/es/LICENSE.md +0 -29
  31. package/docs/es/README.md +0 -343
  32. package/docs/es/SECURITY.md +0 -25
  33. package/docs/fr/LICENSE.md +0 -29
  34. package/docs/fr/README.md +0 -343
  35. package/docs/fr/SECURITY.md +0 -25
  36. package/docs/hi/LICENSE.md +0 -29
  37. package/docs/hi/README.md +0 -344
  38. package/docs/hi/SECURITY.md +0 -25
  39. package/docs/it/LICENSE.md +0 -27
  40. package/docs/it/README.md +0 -343
  41. package/docs/it/SECURITY.md +0 -25
  42. package/docs/ja/LICENSE.md +0 -29
  43. package/docs/ja/README.md +0 -343
  44. package/docs/ja/SECURITY.md +0 -25
  45. package/docs/ko/LICENSE.md +0 -32
  46. package/docs/ko/README.md +0 -348
  47. package/docs/ko/SECURITY.md +0 -25
  48. package/docs/ne/LICENSE.md +0 -35
  49. package/docs/ne/README.md +0 -344
  50. package/docs/ne/SECURITY.md +0 -25
  51. package/docs/nl/LICENSE.md +0 -29
  52. package/docs/nl/README.md +0 -343
  53. package/docs/nl/SECURITY.md +0 -25
  54. package/docs/pt/LICENSE.md +0 -29
  55. package/docs/pt/README.md +0 -343
  56. package/docs/pt/SECURITY.md +0 -25
  57. package/docs/vi/LICENSE.md +0 -29
  58. package/docs/vi/README.md +0 -343
  59. package/docs/vi/SECURITY.md +0 -25
  60. package/docs/zh-cn/LICENSE.md +0 -29
  61. package/docs/zh-cn/README.md +0 -343
  62. package/docs/zh-cn/SECURITY.md +0 -25
  63. package/docs/zh-tw/LICENSE.md +0 -29
  64. package/docs/zh-tw/README.md +0 -342
  65. package/docs/zh-tw/SECURITY.md +0 -25
  66. package/starters/chrome/docs/de/LICENSE.md +0 -31
  67. package/starters/chrome/docs/de/README.md +0 -93
  68. package/starters/chrome/docs/es/LICENSE.md +0 -31
  69. package/starters/chrome/docs/es/README.md +0 -93
  70. package/starters/chrome/docs/fr/LICENSE.md +0 -31
  71. package/starters/chrome/docs/fr/README.md +0 -93
  72. package/starters/chrome/docs/hi/LICENSE.md +0 -31
  73. package/starters/chrome/docs/hi/README.md +0 -93
  74. package/starters/chrome/docs/hi/SECURITY.md +0 -17
  75. package/starters/chrome/docs/it/LICENSE.md +0 -29
  76. package/starters/chrome/docs/it/README.md +0 -93
  77. package/starters/chrome/docs/ja/LICENSE.md +0 -31
  78. package/starters/chrome/docs/ja/README.md +0 -93
  79. package/starters/chrome/docs/ko/LICENSE.md +0 -34
  80. package/starters/chrome/docs/ko/README.md +0 -93
  81. package/starters/chrome/docs/nl/LICENSE.md +0 -30
  82. package/starters/chrome/docs/nl/README.md +0 -93
  83. package/starters/chrome/docs/pt/LICENSE.md +0 -31
  84. package/starters/chrome/docs/pt/README.md +0 -93
  85. package/starters/chrome/docs/vi/LICENSE.md +0 -31
  86. package/starters/chrome/docs/vi/README.md +0 -93
  87. package/starters/chrome/docs/zh-cn/LICENSE.md +0 -31
  88. package/starters/chrome/docs/zh-cn/README.md +0 -93
  89. package/starters/chrome/docs/zh-cn/SECURITY.md +0 -17
  90. package/starters/chrome/docs/zh-tw/LICENSE.md +0 -31
  91. package/starters/chrome/docs/zh-tw/README.md +0 -93
  92. package/starters/docs/de/LICENSE.md +0 -13
  93. package/starters/docs/de/README.md +0 -29
  94. package/starters/docs/es/LICENSE.md +0 -13
  95. package/starters/docs/es/README.md +0 -29
  96. package/starters/docs/fr/LICENSE.md +0 -13
  97. package/starters/docs/fr/README.md +0 -29
  98. package/starters/docs/hi/LICENSE.md +0 -13
  99. package/starters/docs/hi/README.md +0 -29
  100. package/starters/docs/it/LICENSE.md +0 -11
  101. package/starters/docs/it/README.md +0 -29
  102. package/starters/docs/ja/LICENSE.md +0 -13
  103. package/starters/docs/ja/README.md +0 -30
  104. package/starters/docs/ko/LICENSE.md +0 -16
  105. package/starters/docs/ko/README.md +0 -29
  106. package/starters/docs/nl/LICENSE.md +0 -13
  107. package/starters/docs/nl/README.md +0 -29
  108. package/starters/docs/pt/LICENSE.md +0 -13
  109. package/starters/docs/pt/README.md +0 -29
  110. package/starters/docs/vi/LICENSE.md +0 -13
  111. package/starters/docs/vi/README.md +0 -29
  112. package/starters/docs/zh-cn/LICENSE.md +0 -13
  113. package/starters/docs/zh-cn/README.md +0 -30
  114. package/starters/docs/zh-tw/LICENSE.md +0 -13
  115. package/starters/docs/zh-tw/README.md +0 -29
  116. package/starters/greasemonkey/docs/de/LICENSE.md +0 -31
  117. package/starters/greasemonkey/docs/es/LICENSE.md +0 -31
  118. package/starters/greasemonkey/docs/fr/LICENSE.md +0 -31
  119. package/starters/greasemonkey/docs/hi/LICENSE.md +0 -31
  120. package/starters/greasemonkey/docs/hi/SECURITY.md +0 -17
  121. package/starters/greasemonkey/docs/it/LICENSE.md +0 -29
  122. package/starters/greasemonkey/docs/ja/LICENSE.md +0 -31
  123. package/starters/greasemonkey/docs/ko/LICENSE.md +0 -34
  124. package/starters/greasemonkey/docs/nl/LICENSE.md +0 -30
  125. package/starters/greasemonkey/docs/pt/LICENSE.md +0 -31
  126. package/starters/greasemonkey/docs/vi/LICENSE.md +0 -31
  127. package/starters/greasemonkey/docs/zh-cn/LICENSE.md +0 -31
  128. package/starters/greasemonkey/docs/zh-cn/SECURITY.md +0 -17
  129. package/starters/greasemonkey/docs/zh-tw/LICENSE.md +0 -31
@@ -1,343 +0,0 @@
1
- <div id="repo-cover" align="center">
2
-
3
- <div align="center">
4
- <h6>
5
- <a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
6
- <picture>
7
- <source type="image/svg+xml" media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/KudoAI/chatgpt.js/main/media/images/icons/earth-americas-white-padded-icon17x15.svg">
8
- <img src="https://raw.githubusercontent.com/KudoAI/chatgpt.js/main/media/images/icons/earth-americas-padded-icon17x15.svg">
9
- </picture>
10
- </a>
11
- 简体中文 |
12
- <a href="../..#readme">English</a> |
13
- <a href="../zh-tw#readme">繁體中文</a> |
14
- <a href="../ja#readme">日本</a> |
15
- <a href="../ko#readme">한국인</a> |
16
- <a href="../hi#readme">हिंदी</a> |
17
- <a href="../ne#readme">नेपाली</a> |
18
- <a href="../de#readme">Deutsch</a> |
19
- <a href="../es#readme">Español</a> |
20
- <a href="../fr#readme">Français</a> |
21
- <a href="../it#readme">Italiano</a> |
22
- <a href="../nl#readme">Nederlands</a> |
23
- <a href="../pt#readme">Português</a> |
24
- <a href="../vi#readme">Việt</a>
25
- </h6>
26
- </div>
27
-
28
- <br>
29
-
30
- <picture>
31
- <source type="image/png" media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/media/images/logos/chatgpt.js/with-reflection/darkmode.png">
32
- <img width=800 src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/media/images/logos/chatgpt.js/with-reflection/lightmode.png">
33
- </picture>
34
-
35
- ### 🤖 ChatGPT 的强大客户端 JavaScript 库
36
-
37
- </div>
38
-
39
- <br>
40
-
41
- <div id="shields" align="center">
42
-
43
- [![](https://img.shields.io/github/stars/KudoAI/chatgpt.js?label=星星&color=af68ff&logo=github&logoColor=white&labelColor=464646&style=for-the-badge)](https://github.com/KudoAI/chatgpt.js/stargazers)
44
- [![](https://img.shields.io/badge/许可证-MIT-green.svg?logo=internetarchive&logoColor=white&labelColor=464646&style=for-the-badge)](LICENSE.md)
45
- [![](https://img.shields.io/github/commit-activity/m/kudoai/chatgpt.js?label=提交&logo=github&logoColor=white&labelColor=464646&style=for-the-badge)](https://github.com/KudoAI/chatgpt.js/commits/main)
46
- ![](https://img.shields.io/github/size/kudoai/chatgpt.js/dist/chatgpt.min.js?label=Minified%20Size&logo=databricks&logoColor=white&labelColor=464646&color=ff69b4&style=for-the-badge)
47
- [![](https://img.shields.io/codacy/grade/696917c8e5a949c49edb89ed2f43d5ba?label=代码质量&logo=codacy&logoColor=white&labelColor=464646&color=1acc6c&style=for-the-badge)](https://app.codacy.com/gh/KudoAI/chatgpt.js/commits?utm_source=chatgpt%2Ejs&utm_content=github_shield)
48
- [![](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fsonarcloud.io%2Fapi%2Fmeasures%2Fcomponent%3Fcomponent%3Dkudoai_chatgpt.js%26metricKeys%3Dvulnerabilities&query=%24.component.measures.0.value&style=for-the-badge&logo=sonarcloud&logoColor=white&labelColor=464646&label=漏洞&color=gold)](https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=kudoai_chatgpt.js)
49
- [![](https://img.shields.io/badge/中提到-Awesome-cca8c4?logo=awesomelists&logoColor=white&labelColor=464646&style=for-the-badge)](https://github.com/sindresorhus/awesome-chatgpt#javascript)
50
- [![](https://img.shields.io/badge/精选于-Product_Hunt-ff6154?logo=producthunt&logoColor=white&labelColor=464646&style=for-the-badge)](https://www.producthunt.com/posts/chatgpt-js)
51
- ![](https://img.shields.io/jsdelivr/gh/hm/kudoai/chatgpt.js?label=jsDelivr+点击数&logo=jsdelivr&logoColor=white&labelColor=464646&color=9146ff&style=for-the-badge)
52
-
53
- </div>
54
-
55
- <img height=8px width="100%" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/docs/assets/images/aqua-separator.png">
56
-
57
- <div id="intro">
58
-
59
- ## 💡 关于
60
-
61
- </div>
62
-
63
- <span style="color: white">chatgpt.js</span> 是一个功能<span style="color: white">强大的</span> JavaScript 库,<span style="color: white">可轻松与</span> ChatGPT DOM 进行交互。
64
-
65
- - 功能丰富
66
- - 面向对象
67
- - 易于使用
68
- - 轻量级(但性能最优)
69
-
70
- <img height=8px width="100%" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/docs/assets/images/aqua-separator.png">
71
-
72
- <div id="importing">
73
-
74
- ## ⚡ 导入库
75
-
76
- </div>
77
-
78
- > **注意** _要始终导入最新版本(不建议在生产中使用!)将版本化的 jsDelivr URL 替换为:`https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js/chatgpt.min.js`_
79
-
80
- ### ES6:
81
-
82
- ```js
83
- (async () => {
84
- await import('https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.7/dist/chatgpt.min.js');
85
- // 这里是您的代码
86
- })();
87
- ```
88
-
89
- ### ES5:
90
-
91
- ```js
92
- var xhr = new XMLHttpRequest()
93
- xhr.open('GET', 'https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.7/dist/chatgpt.min.js')
94
- xhr.onload = function() {
95
- if (xhr.status === 200) {
96
- var chatgptJS = document.createElement('script')
97
- chatgptJS.textContent = xhr.responseText
98
- document.head.append(chatgptJS)
99
- yourCode() // 运行您的代码
100
- }
101
- }
102
- xhr.send()
103
-
104
- function yourCode() {
105
- // 这里是您的代码
106
- }
107
- ```
108
-
109
- ### <img style="margin: 0 2px -0.065rem 0" height=17 src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/starters/media/images/icons/tampermonkey-icon28.png"></picture><img style="margin: 0 2px -0.035rem 1px" height=17.5 src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/starters/media/images/icons/violentmonkey-icon100.png"> Greasemonkey:
110
-
111
- > **笔记** _使用入门模板: [kudoai/chatgpt.js-greasemonkey-starter](https://github.com/KudoAI/chatgpt.js-greasemonkey-starter)_
112
-
113
- ```js
114
- ...
115
- // @require https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.7/dist/chatgpt.min.js
116
- // ==/UserScript==
117
-
118
- // 这里是您的代码
119
- ```
120
-
121
- ### <img style="margin: 0 2px -1px 0" height=16 src="https://www.google.com/chrome/static/images/favicons/apple-icon-60x60.png"> Chrome:
122
-
123
- > **笔记** _使用入门模板: [kudoai/chatgpt.js-chrome-starter](https://github.com/KudoAI/chatgpt.js-chrome-starter)_
124
-
125
- 由于 Google 不允许远程代码,因此需要在本地导入 chatgpt.js:
126
-
127
- 1. 将 https://raw.githubusercontent.com/kudoai/chatgpt.js/main/chatgpt.js 保存到子目录 (本例中为 `lib`)
128
-
129
- 2. 将 ES6 导出语句添加到 `lib/chatgpt.js` 的末尾
130
- ```js
131
- ...
132
- export { chatgpt }
133
- ```
134
-
135
- 3. 在项目的 (V3) `manifest.json` 中,添加 `lib/chatgpt.js` 作为 Web 可访问资源
136
- ```json
137
- "web_accessible_resources": [{
138
- "matches": ["<all_urls>"],
139
- "resources": ["lib/chatgpt.js"]
140
- }],
141
- ```
142
-
143
- 4. 在需要 `chatgpt.js` (前景/背景相似) 的脚本中, 像这样导入它:
144
- ```js
145
- (async () => {
146
- const { chatgpt } = await import(chrome.runtime.getURL('lib/chatgpt.js'));
147
- // 这里是您的代码
148
- })();
149
- ```
150
-
151
- <img height=8px width="100%" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/docs/assets/images/aqua-separator.png">
152
-
153
- <div id="npm">
154
-
155
- ## 💾 通过 npm 下载:
156
-
157
- </div>
158
-
159
- 要下载 **chatgpt.js** 进行本地自定义,请在项目的根目录中运行以下命令:
160
-
161
- ```bash
162
- npm install @kudoai/chatgpt.js
163
- ```
164
-
165
- 安装后,导航到 `node_modules/@kudoai/chatgpt.js` 以查找库源 (`dist/` 中的缩小版本)。
166
-
167
- </div>
168
-
169
- <img height=8px width="100%" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/docs/assets/images/aqua-separator.png">
170
-
171
- <div id="usage">
172
-
173
- ## 💻 用法
174
-
175
- </div>
176
-
177
- **chatgpt.js** 的编写考虑到了超级灵活性。
178
-
179
- 例如:
180
-
181
- ```js
182
- chatgpt.getLastResponse()
183
- chatgpt.getLastReply()
184
- chatgpt.response.getLast()
185
- chatgpt.get('reply', 'last')
186
- ```
187
-
188
- 每个调用都会同样获取最后一个回应。如果您认为它有效,那么它可能就是有效的……所以只需输入它!(谁有时间看文档?)
189
-
190
- 如果没有,请查看扩展的[用户指南](https://github.com/KudoAI/chatgpt.js/blob/main/docs/USERGUIDE.md),或者只需提交一个[问题](https://github.com/KudoAI/chatgpt.js/issues) 或 [PR](https://github.com/KudoAI/chatgpt.js/pulls) 它将被集成,简单易行!
191
-
192
- <img height=8px width="100%" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/docs/assets/images/aqua-separator.png">
193
-
194
- <div id="showcase">
195
-
196
- ## 🤖 用 chatgpt.js 制作
197
-
198
- </div>
199
-
200
- https://github.com/KudoAI/chatgpt.js/assets/10906554/f53c740f-d5e0-49b6-ae02-3b3140b0f8a4
201
-
202
- #
203
-
204
- ### <picture><source media="(prefers-color-scheme: dark)" srcset="https://i.imgur.com/RduASbD.png"><img width=16 src="https://raw.githubusercontent.com/adamlui/chatgpt-addons/main/media/icons/openai-favicon64.png"></picture> [自动清除 ChatGPT 历史记录](https://autoclearchatgpt.com) <a href="https://github.com/awesome-scripts/awesome-userscripts#privacy"><img src="https://awesome.re/mentioned-badge.svg" style="margin:0 0 -2px 5px"></a>
205
-
206
- > 自动清除您的 ChatGPT 查询历史记录以获得最大的隐私。
207
- <br>[安装](https://github.com/adamlui/autoclear-chatgpt-history#-installation) /
208
- [自述文件](https://github.com/adamlui/autoclear-chatgpt-history#readme) /
209
- [讨论](https://autoclearchatgpt.com/discuss)
210
-
211
- ### <img width=16 src="https://i.imgur.com/1yjmK3W.png"> [Automatic ChatGPT DAN](https://github.com/madkarmaa/automatic-chatgpt-dan)
212
-
213
- > 自动将 DAN 提示发送到 ChatGPT。
214
- <br>[安装](https://github.com/madkarmaa/automatic-chatgpt-dan#%EF%B8%8F-installation) /
215
- [自述文件](https://github.com/madkarmaa/automatic-chatgpt-dan#readme) /
216
- [讨论](https://github.com/madkarmaa/automatic-chatgpt-dan/issues)
217
-
218
- ### <img src="https://media.bravegpt.com/images/icons/bravegpt/icon48.png" width=18> [BraveGPT](https://bravegpt.com) <a href="https://www.producthunt.com/posts/bravegpt?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-bravegpt" target="_blank" rel="noopener"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=385630&theme=light" style="width: 112px; height: 24px; margin:0 0 -4px 5px;" width="112" height="24" /></a>
219
-
220
- > 在 Brave Search 侧边栏中显示 ChatGPT 答案 (由 GPT-4 驱动!)
221
- <br>[安装](https://github.bravegpt.com/#-installation) /
222
- [自述文件](https://github.bravegpt.com/#readme) /
223
- [讨论](https://github.bravegpt.com/discussions)
224
-
225
- ### <picture><source media="(prefers-color-scheme: dark)" srcset="https://i.imgur.com/RduASbD.png"><img width=16 src="https://raw.githubusercontent.com/adamlui/chatgpt-userscripts/main/media/icons/openai-favicon64.png"></picture> [ChatGPT 自动继续 ⏩](https://chatgptautocontinue.com) <a href="https://github.com/awesome-scripts/awesome-userscripts#chatgpt" target="_blank" rel="noopener"><img src="https://awesome.re/mentioned-badge.svg" style="margin:0 0 -3px 3px"></a>
226
-
227
- > 自动继续生成多个 ChatGPT 响应。
228
- <br>[安装](https://github.com/adamlui/chatgpt-auto-continue/tree/main/docs/zh-cn#-如何安装) /
229
- [自述文件](https://github.com/adamlui/chatgpt-auto-continue/tree/main/docs/zh-cn#readme) /
230
- [讨论](https://chatgptautocontinue.com/discuss)
231
-
232
- ### <picture><source media="(prefers-color-scheme: dark)" srcset="https://i.imgur.com/RduASbD.png"><img width=16 src="https://raw.githubusercontent.com/adamlui/chatgpt-addons/main/media/icons/openai-favicon64.png"></picture> [ChatGPT 自动刷新 ↻](https://chatgptautorefresh.com) <a href="https://github.com/awesome-scripts/awesome-userscripts#chatgpt" target="_blank" rel="noopener"><img src="https://awesome.re/mentioned-badge.svg" style="margin:0 0 -2px 5px"></a>
233
-
234
- > 保持 ChatGPT 会话新鲜,消除聊天时间限制 + 网络错误 + Cloudflare 检查。
235
- <br>[安装](https://github.com/adamlui/chatgpt-auto-refresh/tree/main/docs/zh-cn#-如何安装) /
236
- [自述文件](https://github.com/adamlui/chatgpt-auto-refresh/blob/main/docs/zh-cn#readme) /
237
- [讨论](https://chatgptautorefresh.com/discuss)
238
-
239
- ### <img src="https://media.ddgpt.com/images/icons/duckduckgpt/icon48.png" width=17> [DuckDuckGPT](https://duckduckgpt.com) <a href="https://www.producthunt.com/posts/duckduckgpt?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-duckduckgpt" target="_blank" rel="noopener"><img src="https://api.producthunt.com/widgets/embed-image/v1/featured.svg?post_id=379261&theme=light" style="width: 112px; height: 24px; margin:0 0 -4px 5px;" width="112" height="24" /></a>
240
-
241
- > 在 DuckDuckGo 侧边栏中显示 ChatGPT 答案 (由 GPT-4 驱动!)
242
- <br>[安装](https://github.duckduckgpt.com/#-installation) /
243
- [自述文件](https://github.duckduckgpt.com/#readme) /
244
- [讨论](https://github.duckduckgpt.com/discussions)
245
-
246
- ### <picture><source media="(prefers-color-scheme: dark)" srcset="https://media.googlegpt.io/images/icons/googlegpt/white/icon32.png"><img width=17 src="https://media.googlegpt.io/images/icons/googlegpt/black/icon32.png"></picture> [GoogleGPT](https://googlegpt.kudoai.com)
247
-
248
- > 在 Google Search 侧边栏中显示 ChatGPT 答案 (由 GPT-4 驱动!)
249
- <br>[安装](https://greasyfork.org/scripts/478597-googlegpt) /
250
- [自述文件](https://github.com/KudoAI/googlegpt#readme) /
251
- [讨论](https://github.com/KudoAI/googlegpt/discussions)
252
-
253
- <p><br>
254
-
255
- <a href="https://chatgptinfinity.com" target="_blank" rel="noopener">
256
- <img width=555 src="https://raw.githubusercontent.com/adamlui/chatgpt-infinity/main/chrome/media/images/tiles/marquee-promo-tile-1400x560.png">
257
- </a>
258
-
259
- <p><br>
260
-
261
- <a href="https://chatgptwidescreen.com" target="_blank" rel="noopener">
262
- <img width=555 src="https://raw.githubusercontent.com/adamlui/chatgpt-widescreen/main/chrome/media/images/tiles/marquee-promo-tile-1400x560.png">
263
- </a>
264
-
265
- <p><br>
266
-
267
- <p id="showcase-cta">
268
- 如果您使用 chatgpt.js 制作了一些想要分享的内容,请发送电子邮件至 <a href="mailto:showcase@chatgptjs.org">showcase@chatgptjs.org</a> 或打开一个 <a href="https://github.com/KudoAI/chatgpt.js/pulls" target="_blank" rel="noopener">pull request</a>!
269
- </p>
270
-
271
- <img height=8px width="100%" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/docs/assets/images/aqua-separator.png">
272
-
273
- <div id="contributors">
274
-
275
- ## 🧠 贡献者
276
-
277
- </div>
278
-
279
- 该代码库的存在归功于以下贡献者的代码、翻译、问题和想法:
280
-
281
- <div align="center"><br>
282
-
283
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/10906554?first-contrib=2023.03.15&h=51&w=51&mask=circle&maxage=7d "@adamlui")](https://github.com/adamlui)
284
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/71683364?first-contrib=2023.03.16-get-functions&h=51&w=51&mask=circle&maxage=7d "@mefengl")](https://github.com/mefengl)
285
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/131989355?first-contrib=2023.04.30-doc-translations&h=51&w=51&mask=circle&maxage=7d "@Zin6969")](https://github.com/Zin6969)
286
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/30551844?first-contrib=2023.05.02-getlastresponse-bug-report&h=51&w=51&mask=circle&maxage=7d "@madruga8")](https://github.com/madruga8)
287
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/54934866?first-contrib=2023.05.01-clearchats-discard-fix&h=51&w=51&mask=circle&maxage=7d "@XiaoYingYo")](https://github.com/XiaoYingYo)
288
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/129722778?first-contrib=2023.05.24-css-readability&h=51&w=51&mask=circle&maxage=7d "@AliAlSarre")](https://github.com/AliAlSarre)
289
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/100418457?first-contrib=2023.06.02-send-function-bug-report&h=51&w=51&mask=circle&maxage=7d "@madkarmaa")](https://github.com/madkarmaa)
290
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/1170326?first-contrib=2023.06.10-html-parser-idea&h=51&w=51&mask=circle&maxage=7d "@wamoyo")](https://github.com/wamoyo)
291
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/33952?first-contrib=2023.06.10-html-parser-idea&h=51&w=51&mask=circle&maxage=7d "@meiraleal")](https://github.com/meiraleal)
292
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/22633385?first-contrib=2023.07.11-fix-ja-doc-md&h=51&w=51&mask=circle&maxage=7d "@eltociear")](https://github.com/eltociear)
293
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/72805486?first-contrib=2023.07.14-enhance-ko-docs&h=51&w=51&mask=circle&maxage=7d "@Rojojun")](https://github.com/Rojojun)
294
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/62183023?first-contrib=2023.07.24-fix-hi-doc&h=51&w=51&mask=circle&maxage=7d "@iamnishantgaharwar")](https://github.com/iamnishantgaharwar)
295
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/629429?first-contrib=2023.07.31-homepage-starry-bg&h=51&w=51&mask=circle&maxage=7d "@hakimel")](https://github.com/hakimel)
296
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/73983677?first-contrib=2023.08.23-fix-readme-typos&h=51&w=51&mask=circle&maxage=7d "@omahs")](https://github.com/omahs)
297
- [![](https://images.weserv.nl/?url=https://i.imgur.com/DQVC7vj.jpg?first-contrib=2023.09.19-add-dmarc-policy&h=51&w=51&mask=circle&maxage=7d "Najam Ul Arfeen")](https://www.linkedin.com/in/najam-ul-arfeen-khan/)
298
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/110587589?first-contrib=2023.10.13-translate-docs-to-nepali&h=51&w=51&mask=circle&maxage=7d "@iambijayd")](https://github.com/iambijayd)
299
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/4698976?first-contrib=2023.10.29-remove-outdated-mv2-preface-from-docs&h=51&w=51&mask=circle&maxage=7d "@abhinavm24")](https://github.com/abhinavm24)
300
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/77867745?first-contrib=2023.11.4-getchatdetails-bug-report&h=51&w=51&mask=circle&maxage=7d "@deyvisml")](https://github.com/deyvisml)
301
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/150537240?first-contrib=2023.11.15-regenerate-btn-changed-bug-email&h=51&w=51&mask=circle&maxage=7d "@philly88r")](https://github.com/philly88r)
302
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/9730392?first-contrib=2023.12.18-get-response-from-dom-request&h=51&w=51&mask=circle&maxage=7d "@thomasgauthier")](https://github.com/thomasgauthier)
303
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/42911524?first-contrib=2024.1.17-add-custom-gpt-support&h=51&w=51&mask=circle&maxage=7d "@pranav-bhatt")](https://github.com/pranav-bhatt)
304
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/13976824?first-contrib=2021.01.31-aria-labels-unreliable-bug-report&h=50&w=50&mask=circle&maxage=7d "@hopana")](https://github.com/hopana)
305
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/111466842?first-contrib=2024.2.15-add-en-gb-locale&h=51&w=51&mask=circle&maxage=7d "@Luwa-Tech")](https://github.com/Luwa-Tech)
306
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/in/29110&h=51&w=51&mask=circle&maxage=7d "Dependabot")](https://github.com/dependabot)
307
- [![](https://images.weserv.nl/?url=https://i.imgur.com/tNyIPmG.jpg?h=51&w=51&mask=circle&maxage=7d "ChatGPT")](https://chat.openai.com)
308
- [![](https://images.weserv.nl/?url=https://raw.githubusercontent.com/kudoai/chatgpt.js/main/media/images/icons/poe-icon128.svg?first-contrib=2023.07.27-getandshowreply-method&h=51&w=51&mask=circle&maxage=7d "Poe")](https://poe.com)
309
- [![](https://images.weserv.nl/?url=https://avatars.githubusercontent.com/u/31427850?h=51&w=51&mask=circle&maxage=7d "@ImgBotApp")](https://github.com/ImgBotApp)
310
-
311
- </div><br>
312
-
313
- <img height=8px width="100%" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/docs/assets/images/aqua-separator.png">
314
-
315
- <div id="partners">
316
-
317
- ## 🤝 伙伴
318
-
319
- </div>
320
-
321
- **chatgpt.js** 的部分资金来自:
322
-
323
- <div id="partners-collage" align="center">
324
-
325
- <picture>
326
- <source type="image/png" media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/media/images/logos/partners/collage/white.png">
327
- <img width=888 src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/media/images/logos/partners/collage/black.png">
328
- </picture>
329
-
330
- </div>
331
-
332
- <br>
333
-
334
- <img height=8px width="100%" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/docs/assets/images/aqua-separator.png">
335
-
336
- <div align="center">
337
-
338
- **[发布](https://www.npmjs.com/package/@kudoai/chatgpt.js?activeTab=versions)** /
339
- [用户指南](https://github.com/KudoAI/chatgpt.js/blob/main/docs/USERGUIDE.md) /
340
- [讨论](https://github.com/KudoAI/chatgpt.js/discussions) /
341
- <a href="#">返回顶部 ↑</a>
342
-
343
- </div>
@@ -1,25 +0,0 @@
1
- <div align="center">
2
- <h6>
3
- <a href="../"><img height=15 style="margin: 0 3px -2px" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/6fa1659feadaf70853996dc7d7f6e1ab5a1e6301/media/images/icons/earth-americas.svg"></a>
4
- 简体中文 |
5
- <a href="../SECURITY.md">English</a> |
6
- <a href="../zh-tw/SECURITY.md">繁體中文</a> |
7
- <a href="../ja/SECURITY.md">日本</a> |
8
- <a href="../ko/SECURITY.md">한국인</a> |
9
- <a href="../hi/SECURITY.md">हिंदी</a> |
10
- <a href="../ne/SECURITY.md">नेपाली</a> |
11
- <a href="../de/SECURITY.md">Deutsch</a> |
12
- <a href="../es/SECURITY.md">Español</a> |
13
- <a href="../fr/SECURITY.md">Français</a> |
14
- <a href="../it/SECURITY.md">Italiano</a> |
15
- <a href="../nl/SECURITY.md">Nederlands</a> |
16
- <a href="../pt/SECURITY.md">Português</a> |
17
- <a href="../vi/SECURITY.md">Việt</a>
18
- </h6>
19
- </div>
20
-
21
- # 安全政策
22
-
23
- 如果您发现漏洞,请打开[安全公告草案](https://github.com/KudoAI/chatgpt.js/security/advisories/new)。
24
-
25
- 也欢迎拉取请求,但出于安全原因,请发送电子邮件至 <security@kudoai.com> 并等待回复后再公开。
@@ -1,29 +0,0 @@
1
- <div align="center">
2
- <h6>
3
- <a href="../"><img height=15 style="margin: 0 3px -2px" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/6fa1659feadaf70853996dc7d7f6e1ab5a1e6301/media/images/icons/earth-americas.svg"></a>
4
- 繁體中文 |
5
- <a href="../../LICENSE.md">English</a> |
6
- <a href="../zh-cn/LICENSE.md">简体中文</a> |
7
- <a href="../ja/LICENSE.md">日本</a> |
8
- <a href="../ko/LICENSE.md">한국인</a> |
9
- <a href="../hi/LICENSE.md">हिंदी</a> |
10
- <a href="../ne/LICENSE.md">नेपाली</a> |
11
- <a href="../de/LICENSE.md">Deutsch</a> |
12
- <a href="../es/LICENSE.md">Español</a> |
13
- <a href="../fr/LICENSE.md">Français</a> |
14
- <a href="../it/LICENSE.md">Italiano</a> |
15
- <a href="../nl/LICENSE.md">Nederlands</a> |
16
- <a href="../pt/LICENSE.md">Português</a> |
17
- <a href="../vi/LICENSE.md">Việt</a>
18
- </h6>
19
- </div>
20
-
21
- # MIT 许可证
22
-
23
- 版權所有 (c) 2023–2024 [KudoAI](https://github.com/KudoAI) & [貢獻者](.#-貢獻者)
24
-
25
- 特此向任何獲得副本的人免費授予許可本軟件和相關文檔文件(“軟件”)的,以處理不受限制地使用軟件,包括但不限於權利使用、複製、修改、合併、發布、分發、再許可和/或出售該軟件的副本,並允許該軟件的使用者可以這樣做,但須滿足以下條件:
26
-
27
- 上述版權聲明和本許可聲明應包含在所有內容中軟件的副本或主要部分。
28
-
29
- 該軟件按“原樣”提供,不提供任何形式的明示或保證默示的保證,包括但不限於適銷性保證,適用於特定目的且不侵權。 在任何情況下都不得作者或版權所有者對任何索賠、損害或其他責任負責責任,無論是合同訴訟、侵權訴訟還是其他訴訟,均由以下原因引起:與本軟件無關或與之相關,或者與本軟件相關的使用或其他交易軟件。