Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Railway auto-update #2

Merged
merged 384 commits into from
Dec 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
384 commits
Select commit Hold shift + click to select a range
6a61fe5
Update chat.tsx
Algorithm5838 Sep 26, 2023
398e229
Update chat.tsx
Algorithm5838 Sep 26, 2023
144200e
Merge pull request #2912 from Algorithm5838/Algorithm5838-patch-1
Yidadaa Sep 27, 2023
3bfcdf9
[ADDED] MacOS detect
lifeeric Sep 28, 2023
f3d5fc7
[FIXED] now the default key should be CMD on MacOS
lifeeric Sep 28, 2023
f1ca03e
[FIXED] now it should detects all macintosh
lifeeric Sep 28, 2023
4a599e9
UI Page [Auth Page]
H0llyW00dzZ Sep 30, 2023
bc00be9
Feat & Fix UI Page [Auth Page]
H0llyW00dzZ Sep 30, 2023
31e3090
Refactor Locale Indonesia
H0llyW00dzZ Sep 30, 2023
04b638a
Fix & Refactor UI Page [Auth Page]
H0llyW00dzZ Sep 30, 2023
64a17ab
Client App [Notification]
H0llyW00dzZ Oct 3, 2023
d2ad01a
Client App Fix Issue [Bug] 'export' button does not work #2884
H0llyW00dzZ Oct 3, 2023
ddfd05b
Fix & Feat Client App [Notification]
H0llyW00dzZ Oct 3, 2023
b558d1a
Feat & Fix "Client App [Notification]"
H0llyW00dzZ Oct 3, 2023
ad5093c
Change log
hongji7 Oct 4, 2023
1505372
Change log
hongji7 Oct 4, 2023
ef3e8e6
Merge pull request #2933 from H0llyW00dzZ/authpage
Yidadaa Oct 7, 2023
88f8c43
Improve tw locale
PeterDaveHello Oct 3, 2023
5a2cc6f
Merge pull request #2927 from lifeeric/MACOS
Yidadaa Oct 7, 2023
e35c807
Update tauri.conf.json
Yidadaa Oct 7, 2023
13c1d2f
Merge pull request #2946 from H0llyW00dzZ/ClientApp
Yidadaa Oct 7, 2023
4c8d606
Merge pull request #2950 from PeterDaveHello/locale-tw
Yidadaa Oct 7, 2023
5933b3d
Merge branch 'main' of https://github.com/Yidadaa/ChatGPT-Next-Web
actions-user Oct 8, 2023
bdb49b1
修改界面
luckykong Oct 9, 2023
3e2c5af
Merge pull request #2975 from luckykong/patch-1
Yidadaa Oct 9, 2023
fd413c7
Merge pull request #2947 from KeithHello/main
Yidadaa Oct 9, 2023
f21f922
Update tauri.conf.json
Yidadaa Oct 9, 2023
f54db69
fix: #2981 full screen button not works
Yidadaa Oct 10, 2023
f78008c
Merge pull request #2983 from Yidadaa/Yidadaa-patch-1
Yidadaa Oct 10, 2023
ea59ab5
Fix type in sync.ts
ograycode Oct 10, 2023
adee435
Merge pull request #2992 from ograycode/patch-1
Yidadaa Oct 10, 2023
74fcaab
Refactor Mask UI Page [Masks]
H0llyW00dzZ Oct 10, 2023
1604ed9
Merge branch 'Yidadaa:main' into masks
Oct 11, 2023
ba67f13
Merge pull request #2993 from H0llyW00dzZ/masks
Yidadaa Oct 11, 2023
ec33281
提供同步聊天记录教程,同时翻译多国语言
MCheping8108 Oct 11, 2023
1e77df3
Update constant.ts
Yidadaa Oct 12, 2023
b5d3348
已拆分单个文件、翻译多国语言版本
MCheping8108 Oct 12, 2023
5296ab1
Merge pull request #2996 from MCheping8108/main
Yidadaa Oct 12, 2023
986d34f
docs: fix typo in app/masks/en.ts
suravshrestha Oct 12, 2023
06e043d
Merge pull request #3003 from suravshrestha/patch1
Yidadaa Oct 12, 2023
0dcbfd7
fix serviceWorker cache
jessemoe Oct 13, 2023
f5a2ce5
Fix typo in README.md
eltociear Oct 14, 2023
55bcf78
Update README.md
Yidadaa Oct 15, 2023
65c4a0c
feat: close #3031 user can set larger font size
Yidadaa Oct 16, 2023
d11d906
Merge pull request #3033 from Yidadaa/Yidadaa-patch-1
Yidadaa Oct 16, 2023
4a56e9c
Merge pull request #3019 from eltociear/patch-2
Yidadaa Oct 16, 2023
cc565cf
Merge pull request #3013 from jessegpt/main
Yidadaa Oct 16, 2023
b799213
chore(deps): bump @babel/traverse from 7.21.3 to 7.23.2
dependabot[bot] Oct 18, 2023
f92fefb
Update synchronise-chat-logs-cn.md
Yidadaa Oct 23, 2023
ccac85b
Update README_CN.md
Yidadaa Oct 23, 2023
e8a4ad1
Update README_KO.md
Yidadaa Oct 23, 2023
d1c3d90
Update README_KO.md
Yidadaa Oct 23, 2023
70e67a6
Revert "fix serviceWorker cache: auto caching files by workbox"
Yidadaa Oct 25, 2023
b90dfb4
Merge pull request #3095 from Yidadaa/revert-3013-main
Yidadaa Oct 26, 2023
cd1f082
Feat Models [GPT-4] [GPT-3.5] [128K context]
H0llyW00dzZ Nov 6, 2023
9f26c8c
Fix Typo [GPT-4]
H0llyW00dzZ Nov 6, 2023
d2d615c
Refactor KnowledgeCutoff
H0llyW00dzZ Nov 6, 2023
1096fe5
Merge pull request #3143 from H0llyW00dzZ/newmodels
Yidadaa Nov 7, 2023
6e52d14
fix: #3016 disable sidebar transition on ios
Yidadaa Nov 7, 2023
836bf83
fix: #3152 system prompt should be injected
Yidadaa Nov 7, 2023
3407b57
Merge pull request #3163 from Yidadaa/bugfix-1107
Yidadaa Nov 7, 2023
638fdd8
feat: default disable balance query
Yidadaa Nov 7, 2023
c5ca278
feat: close #2908 allow to disable parse settings from link
Yidadaa Nov 7, 2023
c7321fd
fixup
Yidadaa Nov 7, 2023
8af164c
Merge pull request #3165 from Yidadaa/bugfix-1107
Yidadaa Nov 7, 2023
54a5332
feat: sort model by name
Yidadaa Nov 7, 2023
dbee5bc
Update tauri.conf.json
Yidadaa Nov 7, 2023
77f27b7
Merge pull request #3166 from Yidadaa/bugfix-1107
Yidadaa Nov 7, 2023
9cb889c
docs: up to date
AnYiEE Nov 7, 2023
d1ec26a
Merge pull request #3171 from AnYiEE/docs-update
Yidadaa Nov 8, 2023
3a51961
docs: fix typo in #3171
AnYiEE Nov 8, 2023
6ab4c9b
Update cloudflare-pages-cn.md
hekbobo Nov 8, 2023
deca9bf
Merge pull request #3183 from hekbobo/patch-1
Yidadaa Nov 8, 2023
4715477
Merge pull request #3181 from AnYiEE/docs-typo
Yidadaa Nov 8, 2023
8c0ba1a
feat: close #2954 chat summary should be copyable
Yidadaa Nov 8, 2023
1304a39
Merge pull request #3190 from Yidadaa/bugfix-1109
Yidadaa Nov 8, 2023
fbc0236
fix: #3174 should prompt to confirm to delete chat
Yidadaa Nov 8, 2023
3dc2919
Merge pull request #3191 from Yidadaa/bugfix-1109
Yidadaa Nov 8, 2023
d93f05f
feat: close #3187 use CUSTOM_MODELS to control model list
Yidadaa Nov 8, 2023
33b9708
Merge pull request #3192 from Yidadaa/bugfix-1109
Yidadaa Nov 8, 2023
d0a1d91
fix: #3186 enable max_tokens in chat payload
Yidadaa Nov 8, 2023
87e3d66
fix: #3192 use smaller max_tokens as default
Yidadaa Nov 9, 2023
3b3ebda
fix: #3196 3.5-turbo-1106 should use old cutoff date
Yidadaa Nov 9, 2023
fd2f441
feat: wont send max_tokens
Yidadaa Nov 9, 2023
b7ffca0
feat: close #935 add azure support
Yidadaa Nov 9, 2023
c9dd953
fixup
Yidadaa Nov 9, 2023
1141cd2
Merge pull request #3206 from Yidadaa/azure
Yidadaa Nov 9, 2023
c7e0a6f
doc: update azure env vars
Yidadaa Nov 9, 2023
8032e6d
Update README.md
Yidadaa Nov 9, 2023
e6b72ac
Update README.md
Yidadaa Nov 9, 2023
cb140e4
fix: #3207 ensure corner case
Yidadaa Nov 10, 2023
2bfb362
Update tauri.conf.json
Yidadaa Nov 10, 2023
6b2db97
fixbug
Ensteinjun Nov 10, 2023
78d68a9
Merge pull request #3214 from Ensteinjun/main
Yidadaa Nov 10, 2023
ca79266
Update constant.ts
Yidadaa Nov 10, 2023
943214c
Update README_CN.md
Yidadaa Nov 10, 2023
bf84269
fix: remove the content-encoding header
akira-cn Nov 10, 2023
dd6e799
fix: remove the content-encoding header
akira-cn Nov 10, 2023
be97749
feat: #3224 auto switch to first avaliable model
Yidadaa Nov 11, 2023
8bd39f3
Merge pull request #3229 from Yidadaa/bugfix-1112
Yidadaa Nov 11, 2023
a5a1f2e
feat: CUSTOM_MODELS support mapper
Yidadaa Nov 11, 2023
64647b0
chore: update doc for mapped `CUSTOM_MODELS`
Yidadaa Nov 11, 2023
22b6987
Merge pull request #3230 from Yidadaa/bugfix-1112
Yidadaa Nov 11, 2023
be6d45e
feat: close #3222 share message list should start from clear context …
Yidadaa Nov 11, 2023
295864d
Merge pull request #3231 from Yidadaa/bugfix-1112
Yidadaa Nov 11, 2023
0f6ed9c
Feat UI/UX Page Local Language [Exporter Message]
H0llyW00dzZ Nov 11, 2023
a46f081
Fix UI/UX Page Local Language [Exporter Message]
H0llyW00dzZ Nov 11, 2023
5ba3fc9
Revert "Fix UI/UX Page Local Language [Exporter Message]"
H0llyW00dzZ Nov 11, 2023
3a654ba
UI (model selection): hide unavailable model options
nanaya-tachibana Nov 12, 2023
17b329b
Merge pull request #3232 from H0llyW00dzZ/language
Yidadaa Nov 12, 2023
b52e237
fix: #3189 should correct math eq in exporter
Yidadaa Nov 12, 2023
4f52679
Merge pull request #3236 from Yidadaa/latex
Yidadaa Nov 12, 2023
a0cd939
fix: #2841 dollar sign conflict with latex math
Yidadaa Nov 12, 2023
549a2fd
Merge pull request #3237 from Yidadaa/latex
Yidadaa Nov 12, 2023
fdca9e5
Merge pull request #3233 from nanaya-tachibana/nanaya/model-selection
Yidadaa Nov 13, 2023
d033168
fix: #3241 should not ensure openai url non-empty
Yidadaa Nov 13, 2023
011b52d
Update README.md
Yidadaa Nov 13, 2023
1e51531
chore(deps-dev): bump @types/node from 20.3.3 to 20.9.0
dependabot[bot] Nov 13, 2023
5fbf4c3
chore(deps-dev): bump @types/spark-md5 from 3.0.2 to 3.0.4
dependabot[bot] Nov 13, 2023
a64c9da
chore(deps): bump mermaid from 10.3.1 to 10.6.1
dependabot[bot] Nov 13, 2023
9f17b45
Merge pull request #3252 from Yidadaa/dependabot/npm_and_yarn/mermaid…
Yidadaa Nov 13, 2023
7d1fae3
chore(deps): bump emoji-picker-react from 4.5.1 to 4.5.15
dependabot[bot] Nov 13, 2023
a9d605e
chore(deps): bump nanoid from 4.0.2 to 5.0.3
dependabot[bot] Nov 13, 2023
5156a80
Merge pull request #3251 from Yidadaa/dependabot/npm_and_yarn/types/s…
Yidadaa Nov 13, 2023
5e73577
Merge pull request #3250 from Yidadaa/dependabot/npm_and_yarn/types/n…
Yidadaa Nov 13, 2023
2bd6342
Merge pull request #3249 from Yidadaa/dependabot/npm_and_yarn/emoji-p…
Yidadaa Nov 13, 2023
9da455a
Merge pull request #3248 from Yidadaa/dependabot/npm_and_yarn/nanoid-…
Yidadaa Nov 13, 2023
f1772f4
Fix UI/UX Page [Settings]
H0llyW00dzZ Nov 14, 2023
d898ffc
Merge pull request #3261 from H0llyW00dzZ/clients
Yidadaa Nov 14, 2023
9876a1a
fix: #3275 refuse on server side if hide user api key
Yidadaa Nov 15, 2023
74eb42c
config: exclude hkg1 from the deployment regions of the edge function
Eric-2369 Nov 16, 2023
600df4f
Merge pull request #3290 from Eric-2369/main
Yidadaa Nov 17, 2023
401fa19
Update tauri.conf.json
Yidadaa Nov 17, 2023
3c510cf
chore: update gh actions nodejs version to 18
Yidadaa Nov 17, 2023
7bdb68e
config: disable ip forward in vercel json config
Yidadaa Nov 17, 2023
914f4fb
Update vercel.json
Yidadaa Nov 17, 2023
cf220dd
Update vercel.json
Yidadaa Nov 17, 2023
6f135a0
Translation of the application into Brazilian Portuguese
yuri-filipe Nov 18, 2023
16b2a3e
Update vercel.json
Yidadaa Nov 18, 2023
536ace8
feat: animate streaming response to make more smooth
Yidadaa Nov 19, 2023
dc7159a
feat: close #3301 enable or diable default models with -all / +all
Yidadaa Nov 19, 2023
45b88eb
feat: close #3304 use `=` instead of `:` to map model name in CUSTOM_…
Yidadaa Nov 19, 2023
6aade62
feat: close #3300 support multiple api keys
Yidadaa Nov 19, 2023
2dde550
Merge pull request #3311 from Yidadaa/bugfix-1119
Yidadaa Nov 19, 2023
4f8a0b7
Merge pull request #3308 from yuri-filipe/main
Yidadaa Nov 19, 2023
f248593
feat: better animation speed
Yidadaa Nov 19, 2023
6527074
fix(locales): type error in pt.ts
AnYiEE Nov 23, 2023
261a8fd
fix(CUSTOM_MODELS):#3349 Dependency chatStore otherwise the session a…
durianice Nov 23, 2023
06de3f5
Update README.md
Yidadaa Nov 24, 2023
b21931c
Update README.md
Yidadaa Nov 24, 2023
ef9e86b
Fix UI/UX Page Chats [Memory Prompt] [Stored Local Storage]
H0llyW00dzZ Nov 24, 2023
f925887
Fix Api Common [Server Side] [Console Log]
H0llyW00dzZ Nov 25, 2023
f9d9169
Fixup Api Common [Server Side] [Console Log]
H0llyW00dzZ Nov 25, 2023
6f5699f
Chore Docs (README.md)
H0llyW00dzZ Nov 26, 2023
d76e744
Fix & Refactor UI/UX Page [Auth]
H0llyW00dzZ Nov 26, 2023
bf5e7aa
Feat UI/UX Page [Settings]
H0llyW00dzZ Nov 27, 2023
7df868e
Revert "Fix & Refactor UI/UX Page [Auth]"
H0llyW00dzZ Nov 27, 2023
dda40e2
Fix & Refactor UI/UX Page [Settings]
H0llyW00dzZ Nov 27, 2023
84f4126
Update README.md
Yidadaa Nov 27, 2023
bfb7b98
Merge pull request #3356 from durianice/pr_merge
Yidadaa Nov 27, 2023
a62ab3c
Merge pull request #3354 from AnYiEE/fix-type
Yidadaa Nov 27, 2023
ce1715c
Merge pull request #3369 from H0llyW00dzZ/chatz
Yidadaa Nov 27, 2023
03756e3
Merge pull request #3372 from H0llyW00dzZ/fixserverside
Yidadaa Nov 27, 2023
4636a75
Merge pull request #3382 from H0llyW00dzZ/docs
Yidadaa Nov 27, 2023
2c12be6
Merge pull request #3383 from H0llyW00dzZ/auth
Yidadaa Nov 27, 2023
cf50299
Update README_CN.md
Yidadaa Nov 29, 2023
54df355
Fix Trim Topic in Indonesia Language
H0llyW00dzZ Dec 5, 2023
28c1260
Merge pull request #3455 from H0llyW00dzZ/trimtopic
Yidadaa Dec 6, 2023
cae4655
Update tauri.conf.json
Yidadaa Dec 11, 2023
93cee18
ci: add .dockerignore to exclude env files
KevenLi8888 Dec 12, 2023
bcb520e
Update emoji.tsx
Yidadaa Dec 15, 2023
07f2cf7
Merge pull request #3532 from ChatGPTNextWebTeam/update-emoji-url
Yidadaa Dec 15, 2023
d676f88
Update README_CN.md
Yidadaa Dec 15, 2023
efdd615
Merge pull request #3535 from ChatGPTNextWeb/Yidadaa-patch-1
Yidadaa Dec 15, 2023
0b731ed
fix sync.yml
MCheping8108 Dec 15, 2023
e69d20a
Merge pull request #3538 from MCheping8108/main
Yidadaa Dec 17, 2023
2c63dde
Update README.md
RoboticsAndCloud Dec 18, 2023
6938910
Merge pull request #3559 from RoboticsAndCloud/patch-1
Yidadaa Dec 18, 2023
a454c39
Merge pull request #3511 from KevenLi8888/add-dockerignore
Yidadaa Dec 18, 2023
860c5b8
chore(deps): bump @hello-pangea/dnd from 16.3.0 to 16.5.0
dependabot[bot] Dec 18, 2023
1f35624
chore(deps-dev): bump @tauri-apps/cli from 1.4.0 to 1.5.8
dependabot[bot] Dec 18, 2023
4b7139d
chore(deps): bump fuse.js from 6.6.2 to 7.0.0
dependabot[bot] Dec 18, 2023
24d7dc9
Update api.ts to set proper header "Accept"
Rocky0102 Dec 18, 2023
8efe26e
Merge pull request #1 from Rocky0102/Rocky0102-patch-proper-accept-he…
Rocky0102 Dec 18, 2023
2bc84ec
Update README.md
RoboticsAndCloud Dec 19, 2023
e012b1e
Merge pull request #3061 from ChatGPTNextWeb/dependabot/npm_and_yarn/…
Yidadaa Dec 19, 2023
4a23a00
Merge pull request #3567 from ChatGPTNextWeb/dependabot/npm_and_yarn/…
Yidadaa Dec 19, 2023
37b8922
Merge pull request #3566 from ChatGPTNextWeb/dependabot/npm_and_yarn/…
Yidadaa Dec 19, 2023
ed88619
Merge pull request #3565 from ChatGPTNextWeb/dependabot/npm_and_yarn/…
Yidadaa Dec 19, 2023
6e1f424
Merge branch 'ChatGPTNextWeb:main' into main
RoboticsAndCloud Dec 19, 2023
bf412fd
Update README.md
pdx-xf Dec 20, 2023
bc5b8f0
Update README.md
pdx-xf Dec 20, 2023
1d096ee
docs: Add deploy to Zeabur button in README
MichaelYuhe Dec 22, 2023
4251589
docs: Add deploy to Zeabur button in REAME for Chinese
MichaelYuhe Dec 22, 2023
9cc6000
Merge pull request #3601 from zeabur/main
Yidadaa Dec 22, 2023
b1db9ea
Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next…
actions-user Dec 23, 2023
3ef0621
refactor: update product name
fredliang44 Dec 23, 2023
75acd4c
chore: append previous name
fredliang44 Dec 23, 2023
0f885e7
Merge pull request #3607 from fredliang44/main
Dec 23, 2023
f4754dc
Merge pull request #3588 from qiuqfang/main
Dec 23, 2023
d1fcfa0
Merge pull request #3574 from RoboticsAndCloud/main
Yidadaa Dec 23, 2023
778e88c
chore: resolve conflict
fredliang44 Dec 23, 2023
070b191
Merge branch 'ChatGPTNextWeb:main' into main
fredliang44 Dec 23, 2023
ae0d68c
fix: fix llm models field
fredliang44 Dec 23, 2023
45798f9
fix: fix type errors
fredliang44 Dec 23, 2023
4169431
fix: fix add api auth
fredliang44 Dec 23, 2023
20f2f61
feat: support set api key from client side
fredliang44 Dec 23, 2023
7d9a213
fix: fix server token fetch policy
fredliang44 Dec 23, 2023
ae19a0d
chroe: update model name
fredliang44 Dec 23, 2023
7026bd9
chroe: update prompts
fredliang44 Dec 23, 2023
75057f9
chroe: support error reason for gemini pro
fredliang44 Dec 23, 2023
7c3dfb7
feat: support custom gemini pro params
fredliang44 Dec 24, 2023
aea794e
chore: remove openai log from google api handler
fredliang44 Dec 24, 2023
6369b90
chore: update README for google gemini pro model
fredliang44 Dec 24, 2023
1e05eb1
chore: update docs for gemini pro
fredliang44 Dec 24, 2023
bda3098
Merge pull request #3609 from fredliang44/main
Dec 24, 2023
35471a4
Fix & Feat [Auth] Api Key Variable
H0llyW00dzZ Dec 24, 2023
281fe69
Feat [Server Side] Google Api Configuration
H0llyW00dzZ Dec 24, 2023
8ca525d
Fix [TypesScript] [LLM Api] Chaining Model
H0llyW00dzZ Dec 24, 2023
e9def2c
Refactor [Model] [LLM Api] Chaining Model
H0llyW00dzZ Dec 24, 2023
0c11625
Revert "Fix [TypesScript] [LLM Api] Chaining Model"
H0llyW00dzZ Dec 24, 2023
b9ca669
Merge pull request #3619 from H0llyW00dzZ/fix_llm_issue
fredliang44 Dec 24, 2023
753c518
chore: update how to identify google model
fredliang44 Dec 24, 2023
c0ce70c
Merge pull request #3617 from H0llyW00dzZ/fixfixbug
fredliang44 Dec 24, 2023
5af68ac
fix: fix issue https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/iss…
fredliang44 Dec 24, 2023
cad461b
chore: remove console log
fredliang44 Dec 24, 2023
c82efce
Merge pull request #3620 from fredliang44/main
fredliang44 Dec 24, 2023
199f29e
chore: auto concat messages
fredliang44 Dec 24, 2023
a9d7253
Merge branch 'ChatGPTNextWeb:main' into main
fredliang44 Dec 24, 2023
0d189dc
Merge pull request #3622 from fredliang44/main
fredliang44 Dec 24, 2023
5c63825
fix: fix using different model
fredliang44 Dec 24, 2023
7ad1e24
Merge branch 'ChatGPTNextWeb:main' into main
fredliang44 Dec 24, 2023
771cc9e
Merge pull request #3625 from fredliang44/main
fredliang44 Dec 24, 2023
f5ed160
fix: fix removing bearer header
fredliang44 Dec 24, 2023
c127db3
Merge branch 'ChatGPTNextWeb:main' into main
fredliang44 Dec 24, 2023
bd1e311
Merge pull request #3626 from fredliang44/main
fredliang44 Dec 24, 2023
19137b7
fix: return bearer header when using openai
fredliang44 Dec 25, 2023
a4cb859
Merge pull request #3629 from fredliang44/main
fredliang44 Dec 25, 2023
422d70d
chore: update auth value logic (#3630)
fredliang44 Dec 25, 2023
a91ac91
Fix [UI/UX] [Emoji] emoji URL (#3647)
H0llyW00dzZ Dec 25, 2023
0b814ef
Update Web App link in README.md
Dec 26, 2023
bb3cc2c
Update CN web app link in README.md
Dec 26, 2023
c03abda
Merge pull request #3570 from Rocky0102/main
Yidadaa Dec 26, 2023
350ddd2
Merge pull request #3215 from akira-cn/main
Yidadaa Dec 26, 2023
64a8ba6
Chore [Package] Downgrade Tauri Builder Version (#3656)
H0llyW00dzZ Dec 27, 2023
d170009
Release 2.10.1: Support Google Gemini Pro model (#3668)
fredliang44 Dec 27, 2023
f8b963d
chore(docs): update readme for Gemini Pro (#3685)
fredliang44 Dec 28, 2023
406530c
feat: support vercel speed insight (#3686)
fredliang44 Dec 28, 2023
3ba5986
Non -GPT model disable system prompt (#3684)
reece00 Dec 28, 2023
5cf58d9
feat: support streaming for Gemini Pro (#3688)
fredliang44 Dec 28, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# local env files
.env*.local

# docker-compose env files
.env

*.key
*.key.pub
25 changes: 20 additions & 5 deletions .env.template
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,42 @@ CODE=your-password
# You can start service behind a proxy
PROXY_URL=http://localhost:7890

# (optional)
# Default: Empty
# Googel Gemini Pro API key, set if you want to use Google Gemini Pro API.
GOOGLE_API_KEY=

# (optional)
# Default: https://generativelanguage.googleapis.com/v1beta/models/gemini-pro:generateContent
# Googel Gemini Pro API url, set if you want to customize Google Gemini Pro API url.
GOOGLE_URL=

# Override openai api request base url. (optional)
# Default: https://api.openai.com
# Examples: http://your-openai-proxy.com
BASE_URL=

# Specify OpenAI organization ID.(optional)
# Default: Empty
# If you do not want users to input their own API key, set this value to 1.
OPENAI_ORG_ID=

# (optional)
# Default: Empty
# If you do not want users to use GPT-4, set this value to 1.
DISABLE_GPT4=

# (optional)
# Default: Empty
# If you do not want users to input their own API key, set this value to 1.
HIDE_USER_API_KEY=

# (optional)
# Default: Empty
# If you do not want users to use GPT-4, set this value to 1.
DISABLE_GPT4=
# If you do want users to query balance, set this value to 1.
ENABLE_BALANCE_QUERY=

# (optional)
# Default: Empty
# If you do not want users to query balance, set this value to 1.
HIDE_BALANCE_QUERY=
# If you want to disable parse settings from url, set this value to 1.
DISABLE_FAST_LINK=

4 changes: 2 additions & 2 deletions .github/workflows/app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: get version
run: echo "PACKAGE_VERSION=$(node -p "require('./src-tauri/tauri.conf.json').package.version")" >> $GITHUB_ENV
- name: create release
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
- name: install Rust stable
uses: dtolnay/rust-toolchain@stable
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
id: sync
uses: aormsby/Fork-Sync-With-Upstream-action@v3.4
with:
upstream_sync_repo: Yidadaa/ChatGPT-Next-Web
upstream_sync_repo: ChatGPTNextWeb/ChatGPT-Next-Web
upstream_sync_branch: main
target_sync_branch: main
target_repo_token: ${{ secrets.GITHUB_TOKEN }} # automatically generated, no need to set
Expand Down
36 changes: 19 additions & 17 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ FROM base AS builder
RUN apk update && apk add --no-cache git

ENV OPENAI_API_KEY=""
ENV GOOGLE_API_KEY=""
ENV CODE=""

WORKDIR /app
Expand All @@ -31,6 +32,7 @@ RUN apk add proxychains-ng

ENV PROXY_URL=""
ENV OPENAI_API_KEY=""
ENV GOOGLE_API_KEY=""
ENV CODE=""

COPY --from=builder /app/public ./public
Expand All @@ -41,22 +43,22 @@ COPY --from=builder /app/.next/server ./.next/server
EXPOSE 3000

CMD if [ -n "$PROXY_URL" ]; then \
export HOSTNAME="127.0.0.1"; \
protocol=$(echo $PROXY_URL | cut -d: -f1); \
host=$(echo $PROXY_URL | cut -d/ -f3 | cut -d: -f1); \
port=$(echo $PROXY_URL | cut -d: -f3); \
conf=/etc/proxychains.conf; \
echo "strict_chain" > $conf; \
echo "proxy_dns" >> $conf; \
echo "remote_dns_subnet 224" >> $conf; \
echo "tcp_read_time_out 15000" >> $conf; \
echo "tcp_connect_time_out 8000" >> $conf; \
echo "localnet 127.0.0.0/255.0.0.0" >> $conf; \
echo "localnet ::1/128" >> $conf; \
echo "[ProxyList]" >> $conf; \
echo "$protocol $host $port" >> $conf; \
cat /etc/proxychains.conf; \
proxychains -f $conf node server.js; \
export HOSTNAME="127.0.0.1"; \
protocol=$(echo $PROXY_URL | cut -d: -f1); \
host=$(echo $PROXY_URL | cut -d/ -f3 | cut -d: -f1); \
port=$(echo $PROXY_URL | cut -d: -f3); \
conf=/etc/proxychains.conf; \
echo "strict_chain" > $conf; \
echo "proxy_dns" >> $conf; \
echo "remote_dns_subnet 224" >> $conf; \
echo "tcp_read_time_out 15000" >> $conf; \
echo "tcp_connect_time_out 8000" >> $conf; \
echo "localnet 127.0.0.0/255.0.0.0" >> $conf; \
echo "localnet ::1/128" >> $conf; \
echo "[ProxyList]" >> $conf; \
echo "$protocol $host $port" >> $conf; \
cat /etc/proxychains.conf; \
proxychains -f $conf node server.js; \
else \
node server.js; \
node server.js; \
fi
109 changes: 85 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<div align="center">
<img src="./docs/images/icon.svg" alt="icon"/>

<h1 align="center">ChatGPT Next Web</h1>
<h1 align="center">NextChat (ChatGPT Next Web)</h1>

English / [简体中文](./README_CN.md) / [日本語](./README_JA.md)
English / [简体中文](./README_CN.md)

One-Click to get well-designed cross-platform ChatGPT web UI.
One-Click to get a well-designed cross-platform ChatGPT web UI, with GPT3, GPT4 & Gemini Pro support.

一键免费部署你的跨平台私人 ChatGPT 应用。
一键免费部署你的跨平台私人 ChatGPT 应用, 支持 GPT3, GPT4 & Gemini Pro 模型

[![Web][Web-image]][web-url]
[![Windows][Windows-image]][download-url]
[![MacOS][MacOS-image]][download-url]
[![Linux][Linux-image]][download-url]

[Web App](https://chatgpt.nextweb.fun/) / [Desktop App](https://github.com/Yidadaa/ChatGPT-Next-Web/releases) / [Issues](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) / [Discord](https://discord.gg/YCkeafCafC) / [Buy Me a Coffee](https://www.buymeacoffee.com/yidadaa)
[Web App](https://app.nextchat.dev/) / [Desktop App](https://github.com/Yidadaa/ChatGPT-Next-Web/releases) / [Discord](https://discord.gg/YCkeafCafC) / [Twitter](https://twitter.com/mortiest_ricky) / [Buy Me a Coffee](https://www.buymeacoffee.com/yidadaa)

[网页版](https://chatgpt.nextweb.fun/) / [客户端](https://github.com/Yidadaa/ChatGPT-Next-Web/releases) / [反馈](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) / [QQ 群](https://github.com/Yidadaa/ChatGPT-Next-Web/discussions/1724) / [打赏开发者](https://user-images.githubusercontent.com/16968934/227772541-5bcd52d8-61b7-488c-a203-0330d8006e2b.jpg)
[网页版](https://app.nextchat.dev/) / [客户端](https://github.com/Yidadaa/ChatGPT-Next-Web/releases) / [反馈](https://github.com/Yidadaa/ChatGPT-Next-Web/issues) / [QQ 群](https://github.com/Yidadaa/ChatGPT-Next-Web/discussions/1724) / [打赏开发者](https://user-images.githubusercontent.com/16968934/227772541-5bcd52d8-61b7-488c-a203-0330d8006e2b.jpg)

[web-url]: https://chatgpt.nextweb.fun
[download-url]: https://github.com/Yidadaa/ChatGPT-Next-Web/releases
Expand All @@ -25,7 +25,9 @@ One-Click to get well-designed cross-platform ChatGPT web UI.
[MacOS-image]: https://img.shields.io/badge/-MacOS-black?logo=apple
[Linux-image]: https://img.shields.io/badge/-Linux-333?logo=ubuntu

[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FYidadaa%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&project-name=chatgpt-next-web&repository-name=ChatGPT-Next-Web)
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2FYidadaa%2FChatGPT-Next-Web&env=OPENAI_API_KEY&env=CODE&env=GOOGLE_API_KEY&project-name=chatgpt-next-web&repository-name=ChatGPT-Next-Web)

[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/templates/ZBUEFA)

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/Yidadaa/ChatGPT-Next-Web)

Expand All @@ -37,15 +39,15 @@ One-Click to get well-designed cross-platform ChatGPT web UI.

- **Deploy for free with one-click** on Vercel in under 1 minute
- Compact client (~5MB) on Linux/Windows/MacOS, [download it now](https://github.com/Yidadaa/ChatGPT-Next-Web/releases)
- Fully compatible with self-deployed llms, recommended for use with [RWKV-Runner](https://github.com/josStorer/RWKV-Runner) or [LocalAI](https://github.com/go-skynet/LocalAI)
- Privacy first, all data stored locally in the browser
- Fully compatible with self-deployed LLMs, recommended for use with [RWKV-Runner](https://github.com/josStorer/RWKV-Runner) or [LocalAI](https://github.com/go-skynet/LocalAI)
- Privacy first, all data is stored locally in the browser
- Markdown support: LaTex, mermaid, code highlight, etc.
- Responsive design, dark mode and PWA
- Fast first screen loading speed (~100kb), support streaming response
- New in v2: create, share and debug your chat tools with prompt templates (mask)
- Awesome prompts powered by [awesome-chatgpt-prompts-zh](https://github.com/PlexPt/awesome-chatgpt-prompts-zh) and [awesome-chatgpt-prompts](https://github.com/f/awesome-chatgpt-prompts)
- Automatically compresses chat history to support long conversations while also saving your tokens
- I18n: English, 简体中文, 繁体中文, 日本語, Français, Español, Italiano, Türkçe, Deutsch, Tiếng Việt, Русский, Čeština, 한국어
- I18n: English, 简体中文, 繁体中文, 日本語, Français, Español, Italiano, Türkçe, Deutsch, Tiếng Việt, Русский, Čeština, 한국어, Indonesia

## Roadmap

Expand All @@ -59,9 +61,11 @@ One-Click to get well-designed cross-platform ChatGPT web UI.

## What's New

- 🚀 v2.0 is released, now you can create prompt templates, turn your ideas into reality! Read this: [ChatGPT Prompt Engineering Tips: Zero, One and Few Shot Prompting](https://www.allabtai.com/prompt-engineering-tips-zero-one-and-few-shot-prompting/).
- 🚀 v2.7 let's share conversations as image, or share to ShareGPT!
- 🚀 v2.10.1 support Google Gemini Pro model.
- 🚀 v2.9.11 you can use azure endpoint now.
- 🚀 v2.8 now we have a client that runs across all platforms!
- 🚀 v2.7 let's share conversations as image, or share to ShareGPT!
- 🚀 v2.0 is released, now you can create prompt templates, turn your ideas into reality! Read this: [ChatGPT Prompt Engineering Tips: Zero, One and Few Shot Prompting](https://www.allabtai.com/prompt-engineering-tips-zero-one-and-few-shot-prompting/).

## 主要功能

Expand All @@ -74,7 +78,7 @@ One-Click to get well-designed cross-platform ChatGPT web UI.
- 预制角色功能(面具),方便地创建、分享和调试你的个性化对话
- 海量的内置 prompt 列表,来自[中文](https://github.com/PlexPt/awesome-chatgpt-prompts-zh)和[英文](https://github.com/f/awesome-chatgpt-prompts)
- 自动压缩上下文聊天记录,在节省 Token 的同时支持超长对话
- 多国语言支持:English, 简体中文, 繁体中文, 日本語, Español, Italiano, Türkçe, Deutsch, Tiếng Việt, Русский, Čeština
- 多国语言支持:English, 简体中文, 繁体中文, 日本語, Español, Italiano, Türkçe, Deutsch, Tiếng Việt, Русский, Čeština, 한국어, Indonesia
- 拥有自己的域名?好上加好,绑定后即可在任何地方**无障碍**快速访问

## 开发计划
Expand All @@ -93,6 +97,7 @@ One-Click to get well-designed cross-platform ChatGPT web UI.
- 💡 想要更方便地随时随地使用本项目?可以试下这款桌面插件:https://github.com/mushan0x0/AI0x0.com
- 🚀 v2.7 现在可以将会话分享为图片了,也可以分享到 ShareGPT 的在线链接。
- 🚀 v2.8 发布了横跨 Linux/Windows/MacOS 的体积极小的客户端。
- 🚀 v2.9.11 现在可以使用自定义 Azure 服务了。

## Get Started

Expand Down Expand Up @@ -153,13 +158,13 @@ After adding or modifying this environment variable, please redeploy the project

> [简体中文 > 如何配置 api key、访问密码、接口代理](./README_CN.md#环境变量)

### `OPENAI_API_KEY` (required)
### `CODE` (optional)

Your openai api key.
Access password, separated by comma.

### `CODE` (optional)
### `OPENAI_API_KEY` (required)

Access passsword, separated by comma.
Your openai api key, join multiple api keys with comma.

### `BASE_URL` (optional)

Expand All @@ -173,6 +178,28 @@ Override openai api request base url.

Specify OpenAI organization ID.

### `AZURE_URL` (optional)

> Example: https://{azure-resource-url}/openai/deployments/{deploy-name}

Azure deploy url.

### `AZURE_API_KEY` (optional)

Azure Api Key.

### `AZURE_API_VERSION` (optional)

Azure Api Version, find it at [Azure Documentation](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions).

### `GOOGLE_API_KEY` (optional)

Google Gemini Pro Api Key.

### `GOOGLE_URL` (optional)

Google Gemini Pro Api Url.

### `HIDE_USER_API_KEY` (optional)

> Default: Empty
Expand All @@ -185,11 +212,26 @@ If you do not want users to input their own API key, set this value to 1.

If you do not want users to use GPT-4, set this value to 1.

### `HIDE_BALANCE_QUERY` (optional)
### `ENABLE_BALANCE_QUERY` (optional)

> Default: Empty

If you do not want users to query balance, set this value to 1.
If you do want users to query balance, set this value to 1, or you should set it to 0.

### `DISABLE_FAST_LINK` (optional)

> Default: Empty

If you want to disable parse settings from url, set this to 1.

### `CUSTOM_MODELS` (optional)

> Default: Empty
> Example: `+llama,+claude-2,-gpt-3.5-turbo,gpt-4-1106-preview=gpt-4-turbo` means add `llama, claude-2` to model list, and remove `gpt-3.5-turbo` from list, and display `gpt-4-1106-preview` as `gpt-4-turbo`.

To control custom models, use `+` to add a custom model, use `-` to hide a model, use `name=displayName` to customize model name, separated by comma.

User `-all` to disable all default models, `+all` to enable all default models.

## Requirements

Expand Down Expand Up @@ -230,18 +272,18 @@ yarn dev
docker pull yidadaa/chatgpt-next-web

docker run -d -p 3000:3000 \
-e OPENAI_API_KEY="sk-xxxx" \
-e CODE="your-password" \
-e OPENAI_API_KEY=sk-xxxx \
-e CODE=your-password \
yidadaa/chatgpt-next-web
```

You can start service behind a proxy:

```shell
docker run -d -p 3000:3000 \
-e OPENAI_API_KEY="sk-xxxx" \
-e CODE="your-password" \
-e PROXY_URL="http://localhost:7890" \
-e OPENAI_API_KEY=sk-xxxx \
-e CODE=your-password \
-e PROXY_URL=http://localhost:7890 \
yidadaa/chatgpt-next-web
```

Expand All @@ -257,6 +299,20 @@ If your proxy needs password, use:
bash <(curl -s https://raw.githubusercontent.com/Yidadaa/ChatGPT-Next-Web/main/scripts/setup.sh)
```

## Synchronizing Chat Records (UpStash)

| [简体中文](./docs/synchronise-chat-logs-cn.md) | [English](./docs/synchronise-chat-logs-en.md) | [Italiano](./docs/synchronise-chat-logs-es.md) | [日本語](./docs/synchronise-chat-logs-ja.md) | [한국어](./docs/synchronise-chat-logs-ko.md)

## Documentation

> Please go to the [docs][./docs] directory for more documentation instructions.

- [Deploy with cloudflare (Deprecated)](./docs/cloudflare-pages-en.md)
- [Frequent Ask Questions](./docs/faq-en.md)
- [How to add a new translation](./docs/translation.md)
- [How to use Vercel (No English)](./docs/vercel-cn.md)
- [User Manual (Only Chinese, WIP)](./docs/user-manual-cn.md)

## Screenshots

![Settings](./docs/images/settings.png)
Expand Down Expand Up @@ -299,6 +355,11 @@ If you want to add a new translation, read this [document](./docs/translation.md
[@AnsonHyq](https://github.com/AnsonHyq)
[@synwith](https://github.com/synwith)
[@piksonGit](https://github.com/piksonGit)
[@ouyangzhiping](https://github.com/ouyangzhiping)
[@wenjiavv](https://github.com/wenjiavv)
[@LeXwDeX](https://github.com/LeXwDeX)
[@Licoy](https://github.com/Licoy)
[@shangmin2009](https://github.com/shangmin2009)

### Contributor

Expand Down
Loading
Loading