Travis Fischer
21dd9d518f
feat: MAJOR BREAKING CHANGE; moved from browser to official completion API with unofficial chatgpt model
2023-02-01 03:14:10 -06:00
Travis Fischer
83bb9cf813
fix; isProAccount should be optional
2023-01-22 01:52:43 -06:00
Pawan Osman
ba71198ab3
Support for Pro Accounts
2023-01-22 07:43:41 +00:00
Lawrence Onah
e21a690e9e
chore: add support for userDataDir
2023-01-19 14:31:08 +01:00
Travis Fischer
b5698e3ae2
chore: remove unused code
2023-01-18 00:21:05 -06:00
Travis Fischer
0c11a4d766
feat: improve support for proxy auth
2023-01-15 03:53:31 -06:00
Travis Fischer
e0fd5f4652
feat: add onProgress to ChatGPTAPIBrowser.sendMessage
2023-01-12 03:55:20 -06:00
Travis Fischer
c64d3055cc
feat: add bypass for 2023-01-09 update modal
2023-01-11 03:42:13 -06:00
czzonet
384db42dcb
fix JSON parse error
2023-01-10 15:54:54 +08:00
Travis Fischer
b6649b9484
fix: add slight delay for password => login click
2023-01-06 16:05:07 -06:00
Travis Fischer
c1ec537903
fix: minor PR cleanups
2022-12-31 15:21:55 -06:00
Holegots
e98f740f1a
⚡ ️ Improve robustness
2023-01-01 01:50:37 +08:00
Travis Fischer
6187ded9e1
🔖
2022-12-29 01:14:41 -06:00
Travis Fischer
10db1601a0
feat: minor improvements to captcha bypass
2022-12-28 16:33:24 -06:00
Travis Fischer
533a65db1c
feat: puppeteer robustness improvements
2022-12-28 01:58:29 -06:00
suhaotian
345b5be4ec
fix: No element found for selector: button[data-provider="google"]
2022-12-27 19:26:32 +08:00
Travis Fischer
69f955ddb8
fix: minor improvement to nopecha init
2022-12-27 00:45:51 -06:00
Travis Fischer
4e9ce99888
fix: minor fixes
2022-12-27 00:41:34 -06:00
Skippy
8d4abc36a3
Minor Cleanups to improve efficiency
2022-12-25 19:35:56 +02:00
Skippy
bfa0a90a12
Fix double call to refreshSession() on 403
2022-12-25 11:07:35 +02:00
Skippy
1090fd8a89
refreshSession() Info Logging
2022-12-25 10:45:07 +02:00
Skippy
7dfea52545
Fix for Failure to Retry request after 403
...
While loop condition was not being satisfied due to result being set to a value (the OpenAI response), thus the (!result) condition was False.
2022-12-25 10:42:39 +02:00
Skippy
8b24a9e80a
Improve refreshSession
...
Waiting for cloudflare cookie to be received which fixes the issue of non-authenticated false-postive due to the refreshSession() function returning while the CF anti-bot is still on-going
2022-12-25 10:38:31 +02:00
Skippy
de3b60f1f8
Info Logging for initSession()
2022-12-25 09:53:47 +02:00
Travis Fischer
b35c106bf8
feat: improve browser 403/401 refresh handling
2022-12-24 02:30:12 -06:00
Travis Fischer
97f9c80403
feat: improve nopecha key input
2022-12-24 01:47:23 -06:00
Travis Fischer
ef7cf86e87
📚
2022-12-23 01:01:07 -06:00
Travis Fischer
4077f42759
👈
2022-12-22 10:47:11 -06:00
Travis Fischer
c2e4b37714
fix: nopecha key
2022-12-22 10:38:23 -06:00
Travis Fischer
f3d516a4e3
fix: prettier; re-add delay
2022-12-22 10:36:39 -06:00
Travis Fischer
dc12e2e98d
Merge pull request #191 from danielehrhardt/nopecha-key-fix
...
fix https://github.com/transitive-bullshit/chatgpt-api/issues/185
2022-12-22 10:35:50 -06:00
Travis Fischer
0ec19f2cfb
Merge pull request #190 from danielehrhardt/email-input-fix
2022-12-22 10:34:04 -06:00
Daniel Ehrhardt
931e134f46
fix: nopecha key input
2022-12-22 13:50:02 +01:00
Daniel Ehrhardt
eeb2bf4542
fix: email input not complete
2022-12-22 12:58:04 +01:00
Daniel Ehrhardt
257c23b0ea
Added nopechaKey to ChatGPTAPIBrowser
2022-12-22 12:55:35 +01:00
timordnung
fa29f3da2f
Added Proxy Auth
2022-12-21 10:41:39 +01:00
timordnung
318a03be66
Added Proxy Auth
2022-12-21 10:40:35 +01:00
Travis Fischer
091914a03c
feat: minor cleanups
2022-12-20 02:14:15 -06:00
Travis Fischer
a891f10727
feat: fix 403 handling during sendMessage
2022-12-18 22:06:40 -06:00
Travis Fischer
7222b7f296
Merge pull request #167 from optionsx/Addition_Microsoft_Login
2022-12-18 18:17:01 -06:00
optionsx
73d60c6b28
Last One :)
2022-12-19 02:54:17 +03:00
optionsx
ca7dbddca1
revision of last changes
2022-12-19 02:52:27 +03:00
optionsx
242ea3d4cd
Addition of Microsoft Login.
2022-12-19 01:32:45 +03:00
Joel
39dc4de3b4
refactor: fix linting issues
2022-12-18 14:28:51 -08:00
Joel
31a8206fed
feat: add proxy support
2022-12-18 14:15:14 -08:00
Travis Fischer
39518ac691
feat: respect PUPPETEER_EXECUTABLE_PATH
2022-12-18 04:07:24 -06:00
Travis Fischer
1de4e6fbc8
fix: google login robustness
2022-12-18 01:04:58 -06:00
Travis Fischer
d87ae67129
docs: add captcha docs to readme
2022-12-18 00:17:57 -06:00
Travis Fischer
56dd2fe4b7
fix: 2captcha support when using typescript/tsx/esbuild
2022-12-17 23:30:51 -06:00
Travis Fischer
cb994390c3
feat: minor chrome improvements; added flags to try and reduce memory
2022-12-17 22:36:35 -06:00
Travis Fischer
a7af8ac0df
feat: add log to make it clear when nopecha is initialized properly
2022-12-17 17:57:30 -06:00
Travis Fischer
3e6db370ea
feat: add logic to solve simple captchas in addition to recaptchas
2022-12-17 16:43:40 -06:00
Travis Fischer
71de95ab97
feat: make retry at capacity a little more customizable
2022-12-17 16:33:39 -06:00
Travis Fischer
df424df197
feat: retry if at capacity
2022-12-17 16:31:32 -06:00
Travis Fischer
ad20bb6f57
feat: make nopecha extension ID dynamic
2022-12-17 16:09:18 -06:00
Gus V
77e71f461d
Update openai-auth.ts
...
add --disable-setuid-sandbox so puppeteer works with the heroku buildpack for puppeteer on heroku
2022-12-17 12:28:00 -05:00
Travis Fischer
df1db26415
chore: update ts docs
2022-12-17 03:57:22 -06:00
Travis Fischer
a5f1f20f9a
feat: add nopecha automatic captcha bypass
2022-12-17 03:12:58 -06:00
Travis Fischer
f1d769ce6b
feat: add useful puppeteer launch args
2022-12-17 00:09:32 -06:00
Travis Fischer
8a0043d343
🐆
2022-12-16 23:48:56 -06:00
Travis Fischer
619ddd9148
feat: improve chat page detection for browser version
2022-12-16 23:39:44 -06:00
Travis Fischer
1af5db2471
feat: redesign main sendMessage, initSession, closeSession API
2022-12-16 22:48:42 -06:00
Travis Fischer
205d6d97fe
feat: change browserPath=>executablePath
2022-12-16 17:23:26 -06:00
Travis Fischer
d685b7800c
fix: minor cleanups of executablePath
2022-12-16 17:12:28 -06:00
Travis Fischer
94d54836a7
fix: resetThread should never throw
2022-12-16 17:07:32 -06:00
Alex Shand
e5cad7a55e
feature: Add browserPath option
2022-12-17 00:02:33 +10:00
Travis Fischer
83855626d9
fix: conversation support
2022-12-16 01:33:42 -06:00
Travis Fischer
d2cd6f8162
feat: add timeout support for browser sendMessage
2022-12-16 01:05:33 -06:00
Travis Fischer
8f5c9af919
👈
2022-12-16 00:29:48 -06:00
Travis Fischer
ad7853a096
feat: improve browser version with conversation support
2022-12-16 00:28:30 -06:00
Travis Fischer
9aeb17e7f7
fix: minor fix for timeouts
2022-12-15 21:33:24 -06:00
Travis Fischer
025f9682e4
fix: timeouts for browser
2022-12-15 19:00:09 -06:00
Travis Fischer
fdb60f633a
fix: minor cleanups
2022-12-15 16:59:28 -06:00
Travis Fischer
1f1fc66429
feat: close browser on error
2022-12-15 02:14:17 -06:00
Travis Fischer
b3f71bc1e4
feat: bump reload timeout
2022-12-15 01:39:09 -06:00
Travis Fischer
8e0f32b444
feat: add timeout support to browser sendMessage
2022-12-15 01:35:09 -06:00
Travis Fischer
0d09ca965f
feat: handle session expiration gracefully
2022-12-15 00:44:17 -06:00
Joel
b8a3fe0d2a
Merge branch 'feature/improve-robustness' into feature/improve-robustness
2022-12-14 22:27:41 -08:00
Joel
16d144adab
fix: properly handle messages with newlines
...
Pressing Enter would normally send the current message, so now the code splits it up by newlines and uses Shift+Enter unless it's the last split.
2022-12-14 22:24:03 -08:00
Travis Fischer
7ddac69223
feat: more WIP..
2022-12-15 00:22:31 -06:00
Travis Fischer
2e0990e9be
feat: add ChatGPTAPIBrowser for increased robustness; less efficient but less 429/403/503 errors
2022-12-14 22:41:43 -06:00
Travis Fischer
dd872320ae
feat: trying to fix capacity testing
2022-12-14 21:27:46 -06:00
Travis Fischer
0385b8d7df
feat: fix capacity error
2022-12-14 21:24:19 -06:00
Travis Fischer
61e9148805
Merge pull request #110 from MrlolDev/main
2022-12-14 16:39:32 -06:00
Joel
5170641e89
fix: remove unnecessary console logging
...
Removes unnecessary console logging in `checkForChatGPTAtCapacity()` and puts the alert message into the error message.
2022-12-14 13:17:21 -08:00
Travis Fischer
d2770a2dd1
chore: add GitHub issue template
2022-12-14 13:05:16 -06:00
gookyn
e0850dabf1
fix(openai-auth.ts): fix the default chrome path of windows
...
#112
2022-12-14 16:36:45 +08:00
Travis Fischer
fd4ff2f432
feat: remove browser build; fix build errors
2022-12-13 20:13:31 -06:00
Travis Fischer
38118a4a6e
.
2022-12-13 20:11:12 -06:00
Travis Fischer
bbd157d377
Merge pull request #124 from kodjunkie/patch-1
2022-12-13 20:07:47 -06:00
tpholston
5dad44637c
Adding a isGoogleLogin flag to getOpenAIAuth so users with a google account can authenticate that way.
2022-12-13 17:01:32 -07:00
Lawrence Onah
7826796bfd
fix chrome executable path on linux
2022-12-13 20:56:34 +01:00
Travis Fischer
c936391041
fix: minor fix for puppeteer automation
2022-12-13 12:32:17 -06:00
Lawrence Onah
87b168d209
get chrome executable path based on the platform
2022-12-13 15:40:08 +01:00
Mrlolpro
1dc12afe7d
feat: detect capacity limit
2022-12-12 20:49:57 +01:00
Mrlolpro
658be86e24
feat: add 2captcha support
2022-12-12 20:46:33 +01:00
Travis Fischer
1d621d0c3c
feat: move puppeteer automation into main lib; update docs
2022-12-12 11:23:03 -06:00
Travis Fischer
c1634b0537
feat: add additional options to better control debugging; add some inline docs
2022-12-12 10:37:44 -06:00
Travis Fischer
70fd95c80c
feat: add demos for puppeteer automated CF workaround
2022-12-12 05:28:53 -06:00
Travis Fischer
74a9b928d2
feat: allow for adding extra headers
2022-12-11 20:00:56 -06:00