This commit is contained in:
wangyonggang 2023-04-14 18:54:19 +08:00
parent 563eb96282
commit 7a5fec9fa4
5 changed files with 22 additions and 4 deletions

1
.gitignore vendored
View File

@ -1,5 +1,6 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
.history/
# dependencies # dependencies
/node_modules /node_modules
/.pnp /.pnp

View File

@ -204,11 +204,11 @@ function _Home() {
shadow shadow
/> />
</div> </div>
<div className={styles["sidebar-action"]}> {/* <div className={styles["sidebar-action"]}>
<a href={REPO_URL} target="_blank"> <a href={REPO_URL} target="_blank">
<IconButton icon={<GithubIcon />} shadow /> <IconButton icon={<GithubIcon />} shadow />
</a> </a>
</div> </div> */}
</div> </div>
<div> <div>
<IconButton <IconButton

View File

@ -1,4 +1,12 @@
export const OWNER = "Yidadaa"; /*
* @Author: wangyonggang 135274859@qq.com
* @Date: 2023-04-14 11:35:04
* @LastEditors: wangyonggang 135274859@qq.com
* @LastEditTime: 2023-04-14 17:22:25
* @FilePath: \ChatGPT-Next-Web\app\constant.ts
* @Description:
*/
export const OWNER = "WANGYONGGANG";
export const REPO = "ChatGPT-Next-Web"; export const REPO = "ChatGPT-Next-Web";
export const REPO_URL = `https://github.com/${OWNER}/${REPO}`; export const REPO_URL = `https://github.com/${OWNER}/${REPO}`;
export const ISSUE_URL = `https://github.com/${OWNER}/${REPO}/issues`; export const ISSUE_URL = `https://github.com/${OWNER}/${REPO}/issues`;

View File

@ -20,6 +20,7 @@
"fuse.js": "^6.6.2", "fuse.js": "^6.6.2",
"next": "^13.2.3", "next": "^13.2.3",
"node-fetch": "^3.3.1", "node-fetch": "^3.3.1",
"node-fetch": "^3.3.1",
"openai": "^3.2.1", "openai": "^3.2.1",
"react": "^18.2.0", "react": "^18.2.0",
"react-dom": "^18.2.0", "react-dom": "^18.2.0",

View File

@ -1,4 +1,12 @@
#!/bin/bash #!/bin/bash
###
# @Author: wangyonggang 135274859@qq.com
# @Date: 2023-04-14 11:35:04
# @LastEditors: wangyonggang 135274859@qq.com
# @LastEditTime: 2023-04-14 17:15:10
# @FilePath: \ChatGPT-Next-Web\scripts\setup.sh
# @Description:
###
# Check if running on a supported system # Check if running on a supported system
case "$(uname -s)" in case "$(uname -s)" in
@ -51,7 +59,7 @@ if ! command -v node >/dev/null || ! command -v git >/dev/null || ! command -v y
fi fi
# Clone the repository and install dependencies # Clone the repository and install dependencies
git clone https://github.com/Yidadaa/ChatGPT-Next-Web git clone https://github.com/WANGYONGGANG/ChatGPT-Next-Web
cd ChatGPT-Next-Web cd ChatGPT-Next-Web
yarn install yarn install