-
-
Notifications
You must be signed in to change notification settings - Fork 163
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c10d30
commit 50901d6
Showing
304 changed files
with
32,417 additions
and
7,612 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"next/babel", | ||
{ | ||
"preset-env": { | ||
"targets": { | ||
"browsers": ["> 0.25%, not dead"] | ||
} | ||
} | ||
} | ||
] | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
|
||
# Your openai api key. (required) | ||
OPENAI_API_KEY=sk-xxxx | ||
|
||
# Access passsword, separated by comma. (optional) | ||
CODE=your-password | ||
|
||
# You can start service behind a proxy | ||
PROXY_URL=http://localhost:7890 | ||
|
||
# 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 | ||
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 want users to query balance, set this value to 1. | ||
ENABLE_BALANCE_QUERY= | ||
|
||
# (optional) | ||
# Default: Empty | ||
# If you want to disable parse settings from url, set this value to 1. | ||
DISABLE_FAST_LINK= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
public/serviceWorker.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"extends": "next/core-web-vitals", | ||
"plugins": ["prettier"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,152 +1,46 @@ | ||
# Byte-compiled / optimized / DLL files | ||
__pycache__/ | ||
*.py[cod] | ||
*$py.class | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# C extensions | ||
*.so | ||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# Distribution / packaging | ||
.Python | ||
build/ | ||
develop-eggs/ | ||
dist/ | ||
downloads/ | ||
eggs/ | ||
.eggs/ | ||
lib/ | ||
lib64/ | ||
parts/ | ||
sdist/ | ||
var/ | ||
wheels/ | ||
pip-wheel-metadata/ | ||
share/python-wheels/ | ||
*.egg-info/ | ||
.installed.cfg | ||
*.egg | ||
MANIFEST | ||
history/ | ||
index/ | ||
# testing | ||
/coverage | ||
|
||
# PyInstaller | ||
# Usually these files are written by a python script from a template | ||
# before PyInstaller builds the exe, so as to inject date/other infos into it. | ||
*.manifest | ||
*.spec | ||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# Installer logs | ||
pip-log.txt | ||
pip-delete-this-directory.txt | ||
# production | ||
/build | ||
|
||
# Unit test / coverage reports | ||
htmlcov/ | ||
.tox/ | ||
.nox/ | ||
.coverage | ||
.coverage.* | ||
.cache | ||
nosetests.xml | ||
coverage.xml | ||
*.cover | ||
*.py,cover | ||
.hypothesis/ | ||
.pytest_cache/ | ||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# Translations | ||
*.mo | ||
*.pot | ||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.pnpm-debug.log* | ||
|
||
# Django stuff: | ||
*.log | ||
local_settings.py | ||
db.sqlite3 | ||
db.sqlite3-journal | ||
# local env files | ||
.env*.local | ||
|
||
# Flask stuff: | ||
instance/ | ||
.webassets-cache | ||
# vercel | ||
.vercel | ||
|
||
# Scrapy stuff: | ||
.scrapy | ||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts | ||
dev | ||
|
||
# Sphinx documentation | ||
docs/_build/ | ||
|
||
# PyBuilder | ||
target/ | ||
|
||
# Jupyter Notebook | ||
.ipynb_checkpoints | ||
|
||
# IPython | ||
profile_default/ | ||
ipython_config.py | ||
|
||
# pyenv | ||
.python-version | ||
|
||
# pipenv | ||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control. | ||
# However, in case of collaboration, if having platform-specific dependencies or dependencies | ||
# having no cross-platform support, pipenv may install dependencies that don't work, or not | ||
# install all needed dependencies. | ||
#Pipfile.lock | ||
|
||
# PEP 582; used by e.g. github.com/David-OConnor/pyflow | ||
__pypackages__/ | ||
|
||
# Celery stuff | ||
celerybeat-schedule | ||
celerybeat.pid | ||
|
||
# SageMath parsed files | ||
*.sage.py | ||
|
||
# Environments | ||
.venv | ||
env/ | ||
venv/ | ||
ENV/ | ||
env.bak/ | ||
venv.bak/ | ||
python/ | ||
git/ | ||
history/ | ||
|
||
|
||
# Spyder project settings | ||
.spyderproject | ||
.spyproject | ||
|
||
# Rope project settings | ||
.ropeproject | ||
|
||
# mkdocs documentation | ||
/site | ||
|
||
# mypy | ||
.mypy_cache/ | ||
.dmypy.json | ||
dmypy.json | ||
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
# Mac system file | ||
**/.DS_Store | ||
|
||
#vscode | ||
.vscode | ||
|
||
# 配置文件/模型文件 | ||
api_key.txt | ||
config.json | ||
auth.json | ||
.models/ | ||
lora/ | ||
.idea | ||
templates/* | ||
code_improver.yaml | ||
.history | ||
config.json | ||
|
||
# docker-compose env files | ||
.env | ||
|
||
*.key | ||
*.key.pub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"./app/**/*.{js,ts,jsx,tsx,json,html,css,md}": [ | ||
"eslint --fix", | ||
"prettier --write" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
module.exports = { | ||
printWidth: 80, | ||
tabWidth: 2, | ||
useTabs: false, | ||
semi: true, | ||
singleQuote: false, | ||
trailingComma: 'all', | ||
bracketSpacing: true, | ||
arrowParens: 'always', | ||
}; |
Oops, something went wrong.