@kudoai/chatgpt.js 2.6.6 → 2.6.7
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.
- package/README.md +343 -341
- package/chatgpt.js +12 -12
- package/dist/chatgpt.min.js +3 -3
- package/docs/README.md +15 -13
- package/docs/SECURITY.md +2 -2
- package/docs/USERGUIDE.md +6 -6
- package/docs/de/LICENSE.md +1 -1
- package/docs/de/README.md +15 -13
- package/docs/de/SECURITY.md +2 -2
- package/docs/es/LICENSE.md +1 -1
- package/docs/es/README.md +15 -13
- package/docs/es/SECURITY.md +2 -2
- package/docs/fr/LICENSE.md +1 -1
- package/docs/fr/README.md +15 -13
- package/docs/fr/SECURITY.md +2 -2
- package/docs/hi/LICENSE.md +1 -1
- package/docs/hi/README.md +15 -13
- package/docs/hi/SECURITY.md +2 -2
- package/docs/it/LICENSE.md +1 -1
- package/docs/it/README.md +15 -13
- package/docs/it/SECURITY.md +2 -2
- package/docs/ja/LICENSE.md +1 -1
- package/docs/ja/README.md +15 -13
- package/docs/ja/SECURITY.md +2 -2
- package/docs/ko/LICENSE.md +1 -1
- package/docs/ko/README.md +15 -13
- package/docs/ko/SECURITY.md +2 -2
- package/docs/ne/LICENSE.md +1 -1
- package/docs/ne/README.md +15 -13
- package/docs/ne/SECURITY.md +2 -2
- package/docs/nl/LICENSE.md +1 -1
- package/docs/nl/README.md +15 -13
- package/docs/nl/SECURITY.md +2 -2
- package/docs/pt/LICENSE.md +1 -1
- package/docs/pt/README.md +15 -13
- package/docs/pt/SECURITY.md +2 -2
- package/docs/vi/LICENSE.md +1 -1
- package/docs/vi/README.md +15 -13
- package/docs/vi/SECURITY.md +2 -2
- package/docs/zh-cn/LICENSE.md +1 -1
- package/docs/zh-cn/README.md +15 -13
- package/docs/zh-cn/SECURITY.md +2 -2
- package/docs/zh-tw/LICENSE.md +1 -1
- package/docs/zh-tw/README.md +15 -13
- package/docs/zh-tw/SECURITY.md +2 -2
- package/package.json +3 -3
- package/starters/chrome/docs/README.md +3 -3
- package/starters/chrome/docs/SECURITY.md +1 -1
- package/starters/chrome/docs/de/LICENSE.md +1 -1
- package/starters/chrome/docs/de/README.md +3 -3
- package/starters/chrome/docs/es/LICENSE.md +1 -1
- package/starters/chrome/docs/es/README.md +3 -3
- package/starters/chrome/docs/fr/LICENSE.md +1 -1
- package/starters/chrome/docs/fr/README.md +3 -3
- package/starters/chrome/docs/hi/LICENSE.md +1 -1
- package/starters/chrome/docs/hi/README.md +3 -3
- package/starters/chrome/docs/hi/SECURITY.md +1 -1
- package/starters/chrome/docs/it/LICENSE.md +1 -1
- package/starters/chrome/docs/it/README.md +3 -3
- package/starters/chrome/docs/ja/LICENSE.md +1 -1
- package/starters/chrome/docs/ja/README.md +3 -3
- package/starters/chrome/docs/ko/LICENSE.md +1 -1
- package/starters/chrome/docs/ko/README.md +3 -3
- package/starters/chrome/docs/nl/LICENSE.md +1 -1
- package/starters/chrome/docs/nl/README.md +3 -3
- package/starters/chrome/docs/pt/LICENSE.md +1 -1
- package/starters/chrome/docs/pt/README.md +3 -3
- package/starters/chrome/docs/vi/LICENSE.md +1 -1
- package/starters/chrome/docs/vi/README.md +3 -3
- package/starters/chrome/docs/zh-cn/LICENSE.md +1 -1
- package/starters/chrome/docs/zh-cn/README.md +3 -3
- package/starters/chrome/docs/zh-cn/SECURITY.md +1 -1
- package/starters/chrome/docs/zh-tw/LICENSE.md +1 -1
- package/starters/chrome/docs/zh-tw/README.md +3 -3
- package/starters/chrome/extension/content.js +1 -1
- package/starters/chrome/extension/lib/chatgpt.js +24 -26
- package/starters/chrome/extension/manifest.json +1 -1
- package/starters/chrome/extension/popup/index.html +1 -1
- package/starters/docs/LICENSE.md +1 -1
- package/starters/docs/README.md +4 -4
- package/starters/docs/de/LICENSE.md +1 -1
- package/starters/docs/de/README.md +4 -4
- package/starters/docs/es/LICENSE.md +1 -1
- package/starters/docs/es/README.md +4 -4
- package/starters/docs/fr/LICENSE.md +1 -1
- package/starters/docs/fr/README.md +4 -4
- package/starters/docs/hi/LICENSE.md +1 -1
- package/starters/docs/hi/README.md +4 -4
- package/starters/docs/it/LICENSE.md +1 -1
- package/starters/docs/it/README.md +4 -4
- package/starters/docs/ja/LICENSE.md +1 -1
- package/starters/docs/ja/README.md +4 -4
- package/starters/docs/ko/LICENSE.md +1 -1
- package/starters/docs/ko/README.md +4 -4
- package/starters/docs/nl/LICENSE.md +1 -1
- package/starters/docs/nl/README.md +4 -4
- package/starters/docs/pt/LICENSE.md +1 -1
- package/starters/docs/pt/README.md +4 -4
- package/starters/docs/vi/LICENSE.md +1 -1
- package/starters/docs/vi/README.md +4 -4
- package/starters/docs/zh-cn/LICENSE.md +1 -1
- package/starters/docs/zh-cn/README.md +4 -4
- package/starters/docs/zh-tw/LICENSE.md +1 -1
- package/starters/docs/zh-tw/README.md +4 -4
- package/starters/greasemonkey/chatgpt.js-greasemonkey-starter.user.js +4 -4
- package/starters/greasemonkey/docs/README.md +1 -1
- package/starters/greasemonkey/docs/SECURITY.md +1 -1
- package/starters/greasemonkey/docs/de/LICENSE.md +1 -1
- package/starters/greasemonkey/docs/es/LICENSE.md +1 -1
- package/starters/greasemonkey/docs/fr/LICENSE.md +1 -1
- package/starters/greasemonkey/docs/hi/LICENSE.md +1 -1
- package/starters/greasemonkey/docs/hi/SECURITY.md +1 -1
- package/starters/greasemonkey/docs/it/LICENSE.md +1 -1
- package/starters/greasemonkey/docs/ja/LICENSE.md +1 -1
- package/starters/greasemonkey/docs/ko/LICENSE.md +1 -1
- package/starters/greasemonkey/docs/nl/LICENSE.md +1 -1
- package/starters/greasemonkey/docs/pt/LICENSE.md +1 -1
- package/starters/greasemonkey/docs/vi/LICENSE.md +1 -1
- package/starters/greasemonkey/docs/zh-cn/LICENSE.md +1 -1
- package/starters/greasemonkey/docs/zh-cn/SECURITY.md +1 -1
- package/starters/greasemonkey/docs/zh-tw/LICENSE.md +1 -1
package/docs/nl/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
<h6>
|
|
5
|
-
<a href="https://github.com/
|
|
5
|
+
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
|
|
6
6
|
<picture>
|
|
7
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
8
|
<img src="https://raw.githubusercontent.com/KudoAI/chatgpt.js/main/media/images/icons/earth-americas-padded-icon17x15.svg">
|
|
@@ -40,11 +40,12 @@
|
|
|
40
40
|
|
|
41
41
|
<div id="shields" align="center">
|
|
42
42
|
|
|
43
|
-
[](https://github.com/KudoAI/chatgpt.js/stargazers)
|
|
44
44
|
[](LICENSE.md)
|
|
45
|
-
[](https://github.com/
|
|
46
|
-
](https://github.com/KudoAI/chatgpt.js/commits/main)
|
|
46
|
+

|
|
47
47
|
[](https://app.codacy.com/gh/KudoAI/chatgpt.js/commits?utm_source=chatgpt%2Ejs&utm_content=github_shield)
|
|
48
|
+
[](https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=kudoai_chatgpt.js)
|
|
48
49
|
[](https://github.com/sindresorhus/awesome-chatgpt#javascript)
|
|
49
50
|
[](https://www.producthunt.com/posts/chatgpt-js)
|
|
50
51
|
|
|
@@ -80,7 +81,7 @@
|
|
|
80
81
|
|
|
81
82
|
```js
|
|
82
83
|
(async () => {
|
|
83
|
-
await import('https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.
|
|
84
|
+
await import('https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.7/dist/chatgpt.min.js');
|
|
84
85
|
// Uw code hier...
|
|
85
86
|
})();
|
|
86
87
|
```
|
|
@@ -89,7 +90,7 @@
|
|
|
89
90
|
|
|
90
91
|
```js
|
|
91
92
|
var xhr = new XMLHttpRequest();
|
|
92
|
-
xhr.open('GET', 'https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.
|
|
93
|
+
xhr.open('GET', 'https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.7/dist/chatgpt.min.js');
|
|
93
94
|
xhr.onload = function () {
|
|
94
95
|
if (xhr.status === 200) {
|
|
95
96
|
var chatgptJS = document.createElement('script');
|
|
@@ -107,11 +108,11 @@ function yourCode() {
|
|
|
107
108
|
|
|
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:
|
|
109
110
|
|
|
110
|
-
> **Nota** _Een startsjabloon gebruiken: [kudoai/chatgpt.js-greasemonkey-starter](https://github.com/
|
|
111
|
+
> **Nota** _Een startsjabloon gebruiken: [kudoai/chatgpt.js-greasemonkey-starter](https://github.com/KudoAI/chatgpt.js-greasemonkey-starter)_
|
|
111
112
|
|
|
112
113
|
```js
|
|
113
114
|
...
|
|
114
|
-
// @require https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.
|
|
115
|
+
// @require https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.7/dist/chatgpt.min.js
|
|
115
116
|
// ==/UserScript==
|
|
116
117
|
|
|
117
118
|
// Uw code hier...
|
|
@@ -119,7 +120,7 @@ function yourCode() {
|
|
|
119
120
|
|
|
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:
|
|
121
122
|
|
|
122
|
-
> **Nota** _Een startsjabloon gebruiken: [kudoai/chatgpt.js-chrome-starter](https://github.com/
|
|
123
|
+
> **Nota** _Een startsjabloon gebruiken: [kudoai/chatgpt.js-chrome-starter](https://github.com/KudoAI/chatgpt.js-chrome-starter)_
|
|
123
124
|
|
|
124
125
|
Omdat Google geen externe code toestaat, is het lokaal importeren van chatgpt.js vereist:
|
|
125
126
|
|
|
@@ -186,7 +187,7 @@ chatgpt.get('reply', 'last');
|
|
|
186
187
|
|
|
187
188
|
Elke oproep haalt gelijkelijk het laatste antwoord op. Als je denkt dat het werkt, zal het waarschijnlijk... dus typ het gewoon!
|
|
188
189
|
|
|
189
|
-
Als dit niet het geval is, bekijk dan de uitgebreide [gebruikershandleiding](https://github.com/
|
|
190
|
+
Als dit niet het geval is, bekijk dan de uitgebreide [gebruikershandleiding](https://github.com/KudoAI/chatgpt.js/blob/main/docs/USERGUIDE.md), of dien gewoon een [probleem](https://github.com/KudoAI/chatgpt.js/issues) in of [PR](https://github.com/KudoAI/chatgpt.js/pulls) en het wordt geïntegreerd, makkelijk!
|
|
190
191
|
|
|
191
192
|
<img height=8px width="100%" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/docs/assets/images/aqua-separator.png">
|
|
192
193
|
|
|
@@ -264,7 +265,7 @@ https://github.com/KudoAI/chatgpt.js/assets/10906554/f53c740f-d5e0-49b6-ae02-3b3
|
|
|
264
265
|
<p><br>
|
|
265
266
|
|
|
266
267
|
<p id="showcase-cta">
|
|
267
|
-
Als je iets hebt gemaakt met chatgpt.js dat je wilt delen, stuur dan een e-mail naar <a href="mailto:showcase@chatgptjs.org">showcase@chatgptjs.org</a> of open gewoon een <a href="https://github.com/
|
|
268
|
+
Als je iets hebt gemaakt met chatgpt.js dat je wilt delen, stuur dan een e-mail naar <a href="mailto:showcase@chatgptjs.org">showcase@chatgptjs.org</a> of open gewoon een <a href="https://github.com/KudoAI/chatgpt.js/pulls" target="_blank" rel="noopener">pull request</a>!
|
|
268
269
|
</p>
|
|
269
270
|
|
|
270
271
|
<img height=8px width="100%" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/docs/assets/images/aqua-separator.png">
|
|
@@ -300,6 +301,7 @@ Deze bibliotheek bestaat dankzij code, vertalingen, problemen en ideeën van de
|
|
|
300
301
|
[](https://github.com/philly88r)
|
|
301
302
|
[](https://github.com/thomasgauthier)
|
|
302
303
|
[](https://github.com/pranav-bhatt)
|
|
304
|
+
[](https://github.com/hopana)
|
|
303
305
|
[](https://github.com/Luwa-Tech)
|
|
304
306
|
[](https://github.com/dependabot)
|
|
305
307
|
[](https://chat.openai.com)
|
|
@@ -334,8 +336,8 @@ Deze bibliotheek bestaat dankzij code, vertalingen, problemen en ideeën van de
|
|
|
334
336
|
<div align="center">
|
|
335
337
|
|
|
336
338
|
**[Uitgaven](https://www.npmjs.com/package/@kudoai/chatgpt.js?activeTab=versions)** /
|
|
337
|
-
[gebruikershandleiding](https://github.com/
|
|
338
|
-
[Bespreken](https://github.com/
|
|
339
|
+
[gebruikershandleiding](https://github.com/KudoAI/chatgpt.js/blob/main/docs/USERGUIDE.md) /
|
|
340
|
+
[Bespreken](https://github.com/KudoAI/chatgpt.js/discussions) /
|
|
339
341
|
<a href="#">Terug naar boven ↑</a>
|
|
340
342
|
|
|
341
343
|
</div>
|
package/docs/nl/SECURITY.md
CHANGED
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
|
|
21
21
|
# Veiligheidsbeleid
|
|
22
22
|
|
|
23
|
-
Als u een kwetsbaarheid vindt, open dan een [conceptbeveiligingsadvies](https://github.com/
|
|
23
|
+
Als u een kwetsbaarheid vindt, open dan een [conceptbeveiligingsadvies](https://github.com/KudoAI/chatgpt.js/security/advisories/new).
|
|
24
24
|
|
|
25
|
-
Pull-verzoeken zijn ook welkom, maar stuur om veiligheidsredenen een e-mail naar security@
|
|
25
|
+
Pull-verzoeken zijn ook welkom, maar stuur om veiligheidsredenen een e-mail naar <security@kudoai.com> en wacht op een reactie voordat je het openbaar maakt.
|
package/docs/pt/LICENSE.md
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
# Licença MIT
|
|
22
22
|
|
|
23
|
-
Direitos autorais (c) 2023–2024 [KudoAI](https://github.com/
|
|
23
|
+
Direitos autorais (c) 2023–2024 [KudoAI](https://github.com/KudoAI) e [colaboradores](.#-colaboradores)
|
|
24
24
|
|
|
25
25
|
A permissão é concedida, gratuitamente, a qualquer pessoa que obtenha uma cópia deste software e arquivos de documentação associados (o "Software"), para lidar no Software sem restrições, incluindo, sem limitação, os direitos usar, copiar, modificar, fundir, publicar, distribuir, sublicenciar e/ou vender cópias do Software e para permitir que as pessoas a quem o Software é munidos para o efeito, nas seguintes condições:
|
|
26
26
|
|
package/docs/pt/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
<h6>
|
|
5
|
-
<a href="https://github.com/
|
|
5
|
+
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
|
|
6
6
|
<picture>
|
|
7
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
8
|
<img src="https://raw.githubusercontent.com/KudoAI/chatgpt.js/main/media/images/icons/earth-americas-padded-icon17x15.svg">
|
|
@@ -40,11 +40,12 @@
|
|
|
40
40
|
|
|
41
41
|
<div id="shields" align="center">
|
|
42
42
|
|
|
43
|
-
[](https://github.com/KudoAI/chatgpt.js/stargazers)
|
|
44
44
|
[](LICENSE.md)
|
|
45
|
-
[](https://github.com/
|
|
46
|
-
](https://github.com/KudoAI/chatgpt.js/commits/main)
|
|
46
|
+

|
|
47
47
|
[](https://app.codacy.com/gh/KudoAI/chatgpt.js/commits?utm_source=chatgpt%2Ejs&utm_content=github_shield)
|
|
48
|
+
[](https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=kudoai_chatgpt.js)
|
|
48
49
|
[](https://github.com/sindresorhus/awesome-chatgpt#javascript)
|
|
49
50
|
[](https://www.producthunt.com/posts/chatgpt-js)
|
|
50
51
|
|
|
@@ -80,7 +81,7 @@
|
|
|
80
81
|
|
|
81
82
|
```js
|
|
82
83
|
(async () => {
|
|
83
|
-
await import('https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.
|
|
84
|
+
await import('https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.7/dist/chatgpt.min.js');
|
|
84
85
|
// Seu código aqui...
|
|
85
86
|
})();
|
|
86
87
|
```
|
|
@@ -89,7 +90,7 @@
|
|
|
89
90
|
|
|
90
91
|
```js
|
|
91
92
|
var xhr = new XMLHttpRequest();
|
|
92
|
-
xhr.open('GET', 'https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.
|
|
93
|
+
xhr.open('GET', 'https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.7/dist/chatgpt.min.js');
|
|
93
94
|
xhr.onload = function () {
|
|
94
95
|
if (xhr.status === 200) {
|
|
95
96
|
var chatgptJS = document.createElement('script');
|
|
@@ -107,11 +108,11 @@ function yourCode() {
|
|
|
107
108
|
|
|
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:
|
|
109
110
|
|
|
110
|
-
> **Observação** _Para usar um modelo inicial: [kudoai/chatgpt.js-greasemonkey-starter](https://github.com/
|
|
111
|
+
> **Observação** _Para usar um modelo inicial: [kudoai/chatgpt.js-greasemonkey-starter](https://github.com/KudoAI/chatgpt.js-greasemonkey-starter)_
|
|
111
112
|
|
|
112
113
|
```js
|
|
113
114
|
...
|
|
114
|
-
// @require https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.
|
|
115
|
+
// @require https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.7/dist/chatgpt.min.js
|
|
115
116
|
// ==/UserScript==
|
|
116
117
|
|
|
117
118
|
// Seu código aqui...
|
|
@@ -119,7 +120,7 @@ function yourCode() {
|
|
|
119
120
|
|
|
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:
|
|
121
122
|
|
|
122
|
-
> **Observação** _Para usar um modelo inicial: [kudoai/chatgpt.js-chrome-starter](https://github.com/
|
|
123
|
+
> **Observação** _Para usar um modelo inicial: [kudoai/chatgpt.js-chrome-starter](https://github.com/KudoAI/chatgpt.js-chrome-starter)_
|
|
123
124
|
|
|
124
125
|
Como o Google não permite código remoto, é necessário importar chatgpt.js localmente:
|
|
125
126
|
|
|
@@ -186,7 +187,7 @@ chatgpt.get('reply', 'last');
|
|
|
186
187
|
|
|
187
188
|
Cada chamada busca igualmente a última resposta. Se você acha que funciona, provavelmente funcionará... então apenas digite! (Quem tem tempo para documentos?)
|
|
188
189
|
|
|
189
|
-
Caso contrário, verifique o [guia do usuário](https://github.com/
|
|
190
|
+
Caso contrário, verifique o [guia do usuário](https://github.com/KudoAI/chatgpt.js/blob/main/docs/USERGUIDE.md) estendido ou simplesmente envie um [problema](https://github.com/KudoAI/chatgpt.js/issues) ou [PR](https://github.com/KudoAI/chatgpt.js/pulls) e será integrado, mole-mole!
|
|
190
191
|
|
|
191
192
|
<img height=8px width="100%" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/docs/assets/images/aqua-separator.png">
|
|
192
193
|
|
|
@@ -264,7 +265,7 @@ https://github.com/KudoAI/chatgpt.js/assets/10906554/f53c740f-d5e0-49b6-ae02-3b3
|
|
|
264
265
|
<p><br>
|
|
265
266
|
|
|
266
267
|
<p id="showcase-cta">
|
|
267
|
-
Se você fez algo com chatgpt.js que deseja compartilhar, envie um e-mail para <a href="mailto:showcase@chatgptjs.org">showcase@chatgptjs.org</a> ou apenas abra um <a href="https://github.com/
|
|
268
|
+
Se você fez algo com chatgpt.js que deseja compartilhar, envie um e-mail para <a href="mailto:showcase@chatgptjs.org">showcase@chatgptjs.org</a> ou apenas abra um <a href="https://github.com/KudoAI/chatgpt.js/pulls" target="_blank" rel="noopener">pull request</a>!
|
|
268
269
|
</p>
|
|
269
270
|
|
|
270
271
|
<img height=8px width="100%" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/docs/assets/images/aqua-separator.png">
|
|
@@ -300,6 +301,7 @@ Esta biblioteca existe graças ao código, traduções, problemas e ideias dos s
|
|
|
300
301
|
[](https://github.com/philly88r)
|
|
301
302
|
[](https://github.com/thomasgauthier)
|
|
302
303
|
[](https://github.com/pranav-bhatt)
|
|
304
|
+
[](https://github.com/hopana)
|
|
303
305
|
[](https://github.com/Luwa-Tech)
|
|
304
306
|
[](https://github.com/dependabot)
|
|
305
307
|
[](https://chat.openai.com)
|
|
@@ -334,8 +336,8 @@ Esta biblioteca existe graças ao código, traduções, problemas e ideias dos s
|
|
|
334
336
|
<div align="center">
|
|
335
337
|
|
|
336
338
|
**[Lançamentos](https://www.npmjs.com/package/@kudoai/chatgpt.js?activeTab=versions)** /
|
|
337
|
-
[guia do usuário](https://github.com/
|
|
338
|
-
[Discutir](https://github.com/
|
|
339
|
+
[guia do usuário](https://github.com/KudoAI/chatgpt.js/blob/main/docs/USERGUIDE.md) /
|
|
340
|
+
[Discutir](https://github.com/KudoAI/chatgpt.js/discussions) /
|
|
339
341
|
<a href="#">De volta ao topo ↑</a>
|
|
340
342
|
|
|
341
343
|
</div>
|
package/docs/pt/SECURITY.md
CHANGED
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
|
|
21
21
|
# Política de segurança
|
|
22
22
|
|
|
23
|
-
Se você encontrar uma vulnerabilidade, abra um [draft security advisory](https://github.com/
|
|
23
|
+
Se você encontrar uma vulnerabilidade, abra um [draft security advisory](https://github.com/KudoAI/chatgpt.js/security/advisories/new).
|
|
24
24
|
|
|
25
|
-
Pull requests também são bem-vindos, mas por questões de segurança, envie um e-mail para security@
|
|
25
|
+
Pull requests também são bem-vindos, mas por questões de segurança, envie um e-mail para <security@kudoai.com> e aguarde uma resposta antes de torná-lo público.
|
package/docs/vi/LICENSE.md
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
# Giấy phép MIT
|
|
22
22
|
|
|
23
|
-
Bản quyền (c) 2023–2024 [KudoAI](https://github.com/
|
|
23
|
+
Bản quyền (c) 2023–2024 [KudoAI](https://github.com/KudoAI) & [người đóng góp](.#-người-đóng-góp)
|
|
24
24
|
|
|
25
25
|
Giấy phép được cấp miễn phí cho bất kỳ người nào có được một bản sao của phần mềm này và các tệp tài liệu liên quan ("Phần mềm"), để xử lý trong Phần mềm mà không bị hạn chế, bao gồm nhưng không giới hạn các quyền để sử dụng, sao chép, sửa đổi, hợp nhất, xuất bản, phân phối, cấp phép lại và/hoặc bán các bản sao của Phần mềm và để cho phép những người mà Phần mềm được được trang bị để làm như vậy, với các điều kiện sau đây:
|
|
26
26
|
|
package/docs/vi/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
<h6>
|
|
5
|
-
<a href="https://github.com/
|
|
5
|
+
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
|
|
6
6
|
<picture>
|
|
7
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
8
|
<img src="https://raw.githubusercontent.com/KudoAI/chatgpt.js/main/media/images/icons/earth-americas-padded-icon17x15.svg">
|
|
@@ -40,11 +40,12 @@
|
|
|
40
40
|
|
|
41
41
|
<div id="shields" align="center">
|
|
42
42
|
|
|
43
|
-
[](https://github.com/KudoAI/chatgpt.js/stargazers)
|
|
44
44
|
[](LICENSE.md)
|
|
45
|
-
[](https://github.com/
|
|
46
|
-
](https://github.com/KudoAI/chatgpt.js/commits/main)
|
|
46
|
+

|
|
47
47
|
[](https://app.codacy.com/gh/KudoAI/chatgpt.js/commits?utm_source=chatgpt%2Ejs&utm_content=github_shield)
|
|
48
|
+
[](https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=kudoai_chatgpt.js)
|
|
48
49
|
[](https://github.com/sindresorhus/awesome-chatgpt#javascript)
|
|
49
50
|
[](https://www.producthunt.com/posts/chatgpt-js)
|
|
50
51
|
|
|
@@ -80,7 +81,7 @@
|
|
|
80
81
|
|
|
81
82
|
```js
|
|
82
83
|
(async () => {
|
|
83
|
-
await import('https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.
|
|
84
|
+
await import('https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.7/dist/chatgpt.min.js');
|
|
84
85
|
// Mã của bạn ở đây ...
|
|
85
86
|
})();
|
|
86
87
|
```
|
|
@@ -89,7 +90,7 @@
|
|
|
89
90
|
|
|
90
91
|
```js
|
|
91
92
|
var xhr = new XMLHttpRequest();
|
|
92
|
-
xhr.open('GET', 'https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.
|
|
93
|
+
xhr.open('GET', 'https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.7/dist/chatgpt.min.js');
|
|
93
94
|
xhr.onload = function () {
|
|
94
95
|
if (xhr.status === 200) {
|
|
95
96
|
var chatgptJS = document.createElement('script');
|
|
@@ -107,11 +108,11 @@ function yourCode() {
|
|
|
107
108
|
|
|
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:
|
|
109
110
|
|
|
110
|
-
> **Ghi** _Để sử dụng một mẫu bắt đầu: [kudoai/chatgpt.js-greasemonkey-starter](https://github.com/
|
|
111
|
+
> **Ghi** _Để sử dụng một mẫu bắt đầu: [kudoai/chatgpt.js-greasemonkey-starter](https://github.com/KudoAI/chatgpt.js-greasemonkey-starter)_
|
|
111
112
|
|
|
112
113
|
```js
|
|
113
114
|
...
|
|
114
|
-
// @require https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.
|
|
115
|
+
// @require https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.7/dist/chatgpt.min.js
|
|
115
116
|
// ==/UserScript==
|
|
116
117
|
|
|
117
118
|
// Mã của bạn ở đây ...
|
|
@@ -119,7 +120,7 @@ function yourCode() {
|
|
|
119
120
|
|
|
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:
|
|
121
122
|
|
|
122
|
-
> **Ghi** _Để sử dụng một mẫu bắt đầu: [kudoai/chatgpt.js-chrome-starter](https://github.com/
|
|
123
|
+
> **Ghi** _Để sử dụng một mẫu bắt đầu: [kudoai/chatgpt.js-chrome-starter](https://github.com/KudoAI/chatgpt.js-chrome-starter)_
|
|
123
124
|
|
|
124
125
|
Vì Google không cho phép mã từ xa nên việc nhập chatgpt.js cục bộ là bắt buộc:
|
|
125
126
|
|
|
@@ -186,7 +187,7 @@ chatgpt.get('reply', 'last');
|
|
|
186
187
|
|
|
187
188
|
Mỗi cuộc gọi đều tìm nạp phản hồi cuối cùng. Nếu bạn nghĩ rằng nó hoạt động, nó có thể sẽ... vì vậy hãy gõ nó!
|
|
188
189
|
|
|
189
|
-
Nếu không, hãy xem [hướng dẫn sử dụng](https://github.com/
|
|
190
|
+
Nếu không, hãy xem [hướng dẫn sử dụng](https://github.com/KudoAI/chatgpt.js/blob/main/docs/USERGUIDE.md) mở rộng hoặc chỉ cần gửi [vấn đề](https://github.com/KudoAI/chatgpt.js/issues) hoặc [PR](https://github.com/KudoAI/chatgpt.js/pulls) và nó sẽ được tích hợp, thật dễ dàng!
|
|
190
191
|
|
|
191
192
|
<img height=8px width="100%" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/docs/assets/images/aqua-separator.png">
|
|
192
193
|
|
|
@@ -264,7 +265,7 @@ https://github.com/KudoAI/chatgpt.js/assets/10906554/f53c740f-d5e0-49b6-ae02-3b3
|
|
|
264
265
|
<p><br>
|
|
265
266
|
|
|
266
267
|
<p id="showcase-cta">
|
|
267
|
-
Nếu bạn đã tạo nội dung nào đó với chatgpt.js mà bạn muốn chia sẻ, hãy gửi email đến <a href="mailto:showcase@chatgptjs.org">showcase@chatgptjs.org</a> hoặc chỉ cần mở một <a href="https://github.com/
|
|
268
|
+
Nếu bạn đã tạo nội dung nào đó với chatgpt.js mà bạn muốn chia sẻ, hãy gửi email đến <a href="mailto:showcase@chatgptjs.org">showcase@chatgptjs.org</a> hoặc chỉ cần mở một <a href="https://github.com/KudoAI/chatgpt.js/pulls" target="_blank" rel="noopener">pull request</a>!
|
|
268
269
|
</p>
|
|
269
270
|
|
|
270
271
|
<img height=8px width="100%" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/docs/assets/images/aqua-separator.png">
|
|
@@ -300,6 +301,7 @@ Thư viện này tồn tại nhờ mã, bản dịch, vấn đề & ý tưởng
|
|
|
300
301
|
[](https://github.com/philly88r)
|
|
301
302
|
[](https://github.com/thomasgauthier)
|
|
302
303
|
[](https://github.com/pranav-bhatt)
|
|
304
|
+
[](https://github.com/hopana)
|
|
303
305
|
[](https://github.com/Luwa-Tech)
|
|
304
306
|
[](https://github.com/dependabot)
|
|
305
307
|
[](https://chat.openai.com)
|
|
@@ -334,8 +336,8 @@ Thư viện này tồn tại nhờ mã, bản dịch, vấn đề & ý tưởng
|
|
|
334
336
|
<div align="center">
|
|
335
337
|
|
|
336
338
|
**[Phát hành](https://www.npmjs.com/package/@kudoai/chatgpt.js?activeTab=versions)** /
|
|
337
|
-
[Hướng dẫn sử dụng](https://github.com/
|
|
338
|
-
[Bàn luận](https://github.com/
|
|
339
|
+
[Hướng dẫn sử dụng](https://github.com/KudoAI/chatgpt.js/blob/main/docs/USERGUIDE.md) /
|
|
340
|
+
[Bàn luận](https://github.com/KudoAI/chatgpt.js/discussions) /
|
|
339
341
|
<a href="#">Trở lại đầu trang ↑</a>
|
|
340
342
|
|
|
341
343
|
</div>
|
package/docs/vi/SECURITY.md
CHANGED
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
|
|
21
21
|
# Chính sách bảo mật
|
|
22
22
|
|
|
23
|
-
Nếu bạn tìm thấy lỗ hổng bảo mật, vui lòng mở [dự thảo tư vấn bảo mật](https://github.com/
|
|
23
|
+
Nếu bạn tìm thấy lỗ hổng bảo mật, vui lòng mở [dự thảo tư vấn bảo mật](https://github.com/KudoAI/chatgpt.js/security/advisories/new).
|
|
24
24
|
|
|
25
|
-
Yêu cầu kéo cũng được hoan nghênh, nhưng vì lý do an toàn, hãy gửi email đến security@
|
|
25
|
+
Yêu cầu kéo cũng được hoan nghênh, nhưng vì lý do an toàn, hãy gửi email đến <security@kudoai.com> và đợi phản hồi trước khi công khai.
|
package/docs/zh-cn/LICENSE.md
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
# MIT 许可证
|
|
22
22
|
|
|
23
|
-
版权所有 (c) 2023–2024 [KudoAI](https://github.com/
|
|
23
|
+
版权所有 (c) 2023–2024 [KudoAI](https://github.com/KudoAI) & [贡献者](.#-贡献者)
|
|
24
24
|
|
|
25
25
|
特此免费授予获得本软件和相关文档文件(“软件”)副本的任何人不受限制地处理本软件的权限,包括但不限于使用、复制、修改、合并的权利,发布,分发,再许可和/或出售软件的副本,并允许获得软件的人这样做,但须满足以下条件:
|
|
26
26
|
|
package/docs/zh-cn/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<div align="center">
|
|
4
4
|
<h6>
|
|
5
|
-
<a href="https://github.com/
|
|
5
|
+
<a href="https://github.com/KudoAI/chatgpt.js/tree/main/docs">
|
|
6
6
|
<picture>
|
|
7
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
8
|
<img src="https://raw.githubusercontent.com/KudoAI/chatgpt.js/main/media/images/icons/earth-americas-padded-icon17x15.svg">
|
|
@@ -40,11 +40,12 @@
|
|
|
40
40
|
|
|
41
41
|
<div id="shields" align="center">
|
|
42
42
|
|
|
43
|
-
[](https://github.com/KudoAI/chatgpt.js/stargazers)
|
|
44
44
|
[](LICENSE.md)
|
|
45
|
-
[](https://github.com/
|
|
46
|
-
](https://github.com/KudoAI/chatgpt.js/commits/main)
|
|
46
|
+

|
|
47
47
|
[](https://app.codacy.com/gh/KudoAI/chatgpt.js/commits?utm_source=chatgpt%2Ejs&utm_content=github_shield)
|
|
48
|
+
[](https://sonarcloud.io/component_measures?metric=new_vulnerabilities&id=kudoai_chatgpt.js)
|
|
48
49
|
[](https://github.com/sindresorhus/awesome-chatgpt#javascript)
|
|
49
50
|
[](https://www.producthunt.com/posts/chatgpt-js)
|
|
50
51
|

|
|
@@ -80,7 +81,7 @@
|
|
|
80
81
|
|
|
81
82
|
```js
|
|
82
83
|
(async () => {
|
|
83
|
-
await import('https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.
|
|
84
|
+
await import('https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.7/dist/chatgpt.min.js');
|
|
84
85
|
// 这里是您的代码
|
|
85
86
|
})();
|
|
86
87
|
```
|
|
@@ -89,7 +90,7 @@
|
|
|
89
90
|
|
|
90
91
|
```js
|
|
91
92
|
var xhr = new XMLHttpRequest()
|
|
92
|
-
xhr.open('GET', 'https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.
|
|
93
|
+
xhr.open('GET', 'https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.7/dist/chatgpt.min.js')
|
|
93
94
|
xhr.onload = function() {
|
|
94
95
|
if (xhr.status === 200) {
|
|
95
96
|
var chatgptJS = document.createElement('script')
|
|
@@ -107,11 +108,11 @@ function yourCode() {
|
|
|
107
108
|
|
|
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:
|
|
109
110
|
|
|
110
|
-
> **笔记** _使用入门模板: [kudoai/chatgpt.js-greasemonkey-starter](https://github.com/
|
|
111
|
+
> **笔记** _使用入门模板: [kudoai/chatgpt.js-greasemonkey-starter](https://github.com/KudoAI/chatgpt.js-greasemonkey-starter)_
|
|
111
112
|
|
|
112
113
|
```js
|
|
113
114
|
...
|
|
114
|
-
// @require https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.
|
|
115
|
+
// @require https://cdn.jsdelivr.net/npm/@kudoai/chatgpt.js@2.6.7/dist/chatgpt.min.js
|
|
115
116
|
// ==/UserScript==
|
|
116
117
|
|
|
117
118
|
// 这里是您的代码
|
|
@@ -119,7 +120,7 @@ function yourCode() {
|
|
|
119
120
|
|
|
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:
|
|
121
122
|
|
|
122
|
-
> **笔记** _使用入门模板: [kudoai/chatgpt.js-chrome-starter](https://github.com/
|
|
123
|
+
> **笔记** _使用入门模板: [kudoai/chatgpt.js-chrome-starter](https://github.com/KudoAI/chatgpt.js-chrome-starter)_
|
|
123
124
|
|
|
124
125
|
由于 Google 不允许远程代码,因此需要在本地导入 chatgpt.js:
|
|
125
126
|
|
|
@@ -186,7 +187,7 @@ chatgpt.get('reply', 'last')
|
|
|
186
187
|
|
|
187
188
|
每个调用都会同样获取最后一个回应。如果您认为它有效,那么它可能就是有效的……所以只需输入它!(谁有时间看文档?)
|
|
188
189
|
|
|
189
|
-
如果没有,请查看扩展的[用户指南](https://github.com/
|
|
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) 它将被集成,简单易行!
|
|
190
191
|
|
|
191
192
|
<img height=8px width="100%" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/docs/assets/images/aqua-separator.png">
|
|
192
193
|
|
|
@@ -264,7 +265,7 @@ https://github.com/KudoAI/chatgpt.js/assets/10906554/f53c740f-d5e0-49b6-ae02-3b3
|
|
|
264
265
|
<p><br>
|
|
265
266
|
|
|
266
267
|
<p id="showcase-cta">
|
|
267
|
-
如果您使用 chatgpt.js 制作了一些想要分享的内容,请发送电子邮件至 <a href="mailto:showcase@chatgptjs.org">showcase@chatgptjs.org</a> 或打开一个 <a href="https://github.com/
|
|
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>!
|
|
268
269
|
</p>
|
|
269
270
|
|
|
270
271
|
<img height=8px width="100%" src="https://raw.githubusercontent.com/kudoai/chatgpt.js/main/docs/assets/images/aqua-separator.png">
|
|
@@ -300,6 +301,7 @@ https://github.com/KudoAI/chatgpt.js/assets/10906554/f53c740f-d5e0-49b6-ae02-3b3
|
|
|
300
301
|
[](https://github.com/philly88r)
|
|
301
302
|
[](https://github.com/thomasgauthier)
|
|
302
303
|
[](https://github.com/pranav-bhatt)
|
|
304
|
+
[](https://github.com/hopana)
|
|
303
305
|
[](https://github.com/Luwa-Tech)
|
|
304
306
|
[](https://github.com/dependabot)
|
|
305
307
|
[](https://chat.openai.com)
|
|
@@ -334,8 +336,8 @@ https://github.com/KudoAI/chatgpt.js/assets/10906554/f53c740f-d5e0-49b6-ae02-3b3
|
|
|
334
336
|
<div align="center">
|
|
335
337
|
|
|
336
338
|
**[发布](https://www.npmjs.com/package/@kudoai/chatgpt.js?activeTab=versions)** /
|
|
337
|
-
[用户指南](https://github.com/
|
|
338
|
-
[讨论](https://github.com/
|
|
339
|
+
[用户指南](https://github.com/KudoAI/chatgpt.js/blob/main/docs/USERGUIDE.md) /
|
|
340
|
+
[讨论](https://github.com/KudoAI/chatgpt.js/discussions) /
|
|
339
341
|
<a href="#">返回顶部 ↑</a>
|
|
340
342
|
|
|
341
343
|
</div>
|
package/docs/zh-cn/SECURITY.md
CHANGED
|
@@ -20,6 +20,6 @@
|
|
|
20
20
|
|
|
21
21
|
# 安全政策
|
|
22
22
|
|
|
23
|
-
如果您发现漏洞,请打开[安全公告草案](https://github.com/
|
|
23
|
+
如果您发现漏洞,请打开[安全公告草案](https://github.com/KudoAI/chatgpt.js/security/advisories/new)。
|
|
24
24
|
|
|
25
|
-
也欢迎拉取请求,但出于安全原因,请发送电子邮件至 security@
|
|
25
|
+
也欢迎拉取请求,但出于安全原因,请发送电子邮件至 <security@kudoai.com> 并等待回复后再公开。
|
package/docs/zh-tw/LICENSE.md
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
|
|
21
21
|
# MIT 许可证
|
|
22
22
|
|
|
23
|
-
版權所有 (c) 2023–2024 [KudoAI](https://github.com/
|
|
23
|
+
版權所有 (c) 2023–2024 [KudoAI](https://github.com/KudoAI) & [貢獻者](.#-貢獻者)
|
|
24
24
|
|
|
25
25
|
特此向任何獲得副本的人免費授予許可本軟件和相關文檔文件(“軟件”)的,以處理不受限制地使用軟件,包括但不限於權利使用、複製、修改、合併、發布、分發、再許可和/或出售該軟件的副本,並允許該軟件的使用者可以這樣做,但須滿足以下條件:
|
|
26
26
|
|