├── .dockerignore ├── .github └── workflows │ ├── build.yml │ └── publish.yml ├── .gitignore ├── .gitpod.yml ├── Dockerfile ├── LICENSE ├── README.md ├── app ├── .gitignore ├── index.html ├── package.json ├── public │ ├── favicon.ico │ ├── lang │ │ └── en-us.json │ ├── logo192.png │ ├── logo512.png │ ├── prose.css │ └── robots.txt ├── src │ ├── components │ │ ├── auth-modals.tsx │ │ ├── header.tsx │ │ ├── input.tsx │ │ ├── markdown.tsx │ │ ├── message.tsx │ │ ├── page.tsx │ │ ├── pages │ │ │ ├── chat.tsx │ │ │ └── landing.tsx │ │ ├── pwa-notifications.tsx │ │ ├── quick-settings.tsx │ │ ├── settings │ │ │ ├── chat.tsx │ │ │ ├── index.tsx │ │ │ ├── option.tsx │ │ │ ├── speech.tsx │ │ │ ├── tab.tsx │ │ │ ├── ui-preferences.tsx │ │ │ └── user.tsx │ │ ├── sidebar │ │ │ ├── index.tsx │ │ │ └── recent-chats.tsx │ │ ├── tts-button.tsx │ │ └── tts-controls.tsx │ ├── core │ │ ├── backend.ts │ │ ├── chat │ │ │ ├── chat-persistance.ts │ │ │ ├── create-reply.ts │ │ │ ├── message-tree.ts │ │ │ ├── openai.ts │ │ │ ├── parameters.ts │ │ │ ├── types.ts │ │ │ ├── use-chat.ts │ │ │ └── y-chat.ts │ │ ├── context.tsx │ │ ├── index.ts │ │ ├── options │ │ │ ├── index.ts │ │ │ ├── option-group.tsx │ │ │ ├── option.ts │ │ │ ├── render-props.ts │ │ │ └── use-option.ts │ │ ├── plugins │ │ │ ├── command.ts │ │ │ ├── index.ts │ │ │ ├── metadata.ts │ │ │ ├── plugin-context.ts │ │ │ ├── plugin-description.ts │ │ │ └── plugin-runner.ts │ │ ├── search.ts │ │ ├── speech-recognition-types.ts │ │ ├── tokenizer │ │ │ ├── bpe.ts │ │ │ ├── chat-history-trimmer.ts │ │ │ ├── cl100k_base.json │ │ │ ├── index.ts │ │ │ ├── worker.ts │ │ │ └── wrapper.ts │ │ ├── tts │ │ │ ├── audio-file-player.ts │ │ │ ├── direct-tts-player.ts │ │ │ ├── direct-tts-plugin.ts │ │ │ ├── tts-plugin.ts │ │ │ ├── types.ts │ │ │ └── use-tts.tsx │ │ └── utils │ │ │ ├── async-loop.ts │ │ │ ├── event-emitter-async-iterator.ts │ │ │ ├── idb.ts │ │ │ ├── index.ts │ │ │ └── sse.ts │ ├── global-options │ │ ├── index.tsx │ │ ├── openai.tsx │ │ ├── parameters.tsx │ │ ├── tts-service.tsx │ │ ├── ui.tsx │ │ └── whisper.tsx │ ├── index.css │ ├── index.tsx │ ├── menus.ts │ ├── plugins │ │ ├── index.ts │ │ ├── system-prompt.tsx │ │ ├── titles.ts │ │ └── trimmer.ts │ ├── spotlight.tsx │ ├── store │ │ ├── index.ts │ │ ├── message.ts │ │ ├── settings-ui.ts │ │ ├── sidebar.ts │ │ └── ui.ts │ ├── stub.js │ ├── tts-plugins │ │ ├── elevenlabs-defaults.ts │ │ ├── elevenlabs.tsx │ │ └── web-speech.ts │ ├── values.ts │ └── vite-env.d.ts ├── tsconfig.json └── vite.config.js └── server ├── generate-self-signed-certificate.sh ├── jest.config.js ├── package-lock.json ├── package.json ├── src ├── auth0.ts ├── config.ts ├── database │ ├── index.ts │ └── knex.ts ├── endpoints │ ├── base.ts │ ├── delete-chat.ts │ ├── get-share.ts │ ├── health.ts │ ├── service-proxies │ │ ├── elevenlabs │ │ │ ├── text-to-speech.ts │ │ │ └── voices.ts │ │ └── openai │ │ │ ├── basic.ts │ │ │ ├── index.ts │ │ │ ├── message.ts │ │ │ ├── streaming.ts │ │ │ └── tokenizer │ │ │ ├── bpe.ts │ │ │ ├── cl100k_base.json │ │ │ └── index.ts │ ├── session.ts │ ├── share.ts │ ├── sync-legacy.ts │ └── sync.ts ├── index.ts ├── object-store │ ├── index.ts │ ├── s3.ts │ └── sqlite.ts ├── passport.ts └── utils.ts └── tsconfig.json /.dockerignore: -------------------------------------------------------------------------------- 1 | **/node_modules -------------------------------------------------------------------------------- /.github/workflows/build.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/.github/workflows/build.yml -------------------------------------------------------------------------------- /.github/workflows/publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/.github/workflows/publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitpod.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/.gitpod.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/README.md -------------------------------------------------------------------------------- /app/.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | package-lock.json 3 | .env 4 | build -------------------------------------------------------------------------------- /app/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/index.html -------------------------------------------------------------------------------- /app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/package.json -------------------------------------------------------------------------------- /app/public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/public/favicon.ico -------------------------------------------------------------------------------- /app/public/lang/en-us.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/public/lang/en-us.json -------------------------------------------------------------------------------- /app/public/logo192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/public/logo192.png -------------------------------------------------------------------------------- /app/public/logo512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/public/logo512.png -------------------------------------------------------------------------------- /app/public/prose.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/public/prose.css -------------------------------------------------------------------------------- /app/public/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/public/robots.txt -------------------------------------------------------------------------------- /app/src/components/auth-modals.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/auth-modals.tsx -------------------------------------------------------------------------------- /app/src/components/header.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/header.tsx -------------------------------------------------------------------------------- /app/src/components/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/input.tsx -------------------------------------------------------------------------------- /app/src/components/markdown.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/markdown.tsx -------------------------------------------------------------------------------- /app/src/components/message.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/message.tsx -------------------------------------------------------------------------------- /app/src/components/page.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/page.tsx -------------------------------------------------------------------------------- /app/src/components/pages/chat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/pages/chat.tsx -------------------------------------------------------------------------------- /app/src/components/pages/landing.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/pages/landing.tsx -------------------------------------------------------------------------------- /app/src/components/pwa-notifications.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/pwa-notifications.tsx -------------------------------------------------------------------------------- /app/src/components/quick-settings.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/quick-settings.tsx -------------------------------------------------------------------------------- /app/src/components/settings/chat.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/settings/chat.tsx -------------------------------------------------------------------------------- /app/src/components/settings/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/settings/index.tsx -------------------------------------------------------------------------------- /app/src/components/settings/option.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/settings/option.tsx -------------------------------------------------------------------------------- /app/src/components/settings/speech.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/settings/speech.tsx -------------------------------------------------------------------------------- /app/src/components/settings/tab.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/settings/tab.tsx -------------------------------------------------------------------------------- /app/src/components/settings/ui-preferences.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/settings/ui-preferences.tsx -------------------------------------------------------------------------------- /app/src/components/settings/user.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/settings/user.tsx -------------------------------------------------------------------------------- /app/src/components/sidebar/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/sidebar/index.tsx -------------------------------------------------------------------------------- /app/src/components/sidebar/recent-chats.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/sidebar/recent-chats.tsx -------------------------------------------------------------------------------- /app/src/components/tts-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/tts-button.tsx -------------------------------------------------------------------------------- /app/src/components/tts-controls.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/components/tts-controls.tsx -------------------------------------------------------------------------------- /app/src/core/backend.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/backend.ts -------------------------------------------------------------------------------- /app/src/core/chat/chat-persistance.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/chat/chat-persistance.ts -------------------------------------------------------------------------------- /app/src/core/chat/create-reply.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/chat/create-reply.ts -------------------------------------------------------------------------------- /app/src/core/chat/message-tree.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/chat/message-tree.ts -------------------------------------------------------------------------------- /app/src/core/chat/openai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/chat/openai.ts -------------------------------------------------------------------------------- /app/src/core/chat/parameters.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/chat/parameters.ts -------------------------------------------------------------------------------- /app/src/core/chat/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/chat/types.ts -------------------------------------------------------------------------------- /app/src/core/chat/use-chat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/chat/use-chat.ts -------------------------------------------------------------------------------- /app/src/core/chat/y-chat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/chat/y-chat.ts -------------------------------------------------------------------------------- /app/src/core/context.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/context.tsx -------------------------------------------------------------------------------- /app/src/core/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/index.ts -------------------------------------------------------------------------------- /app/src/core/options/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/options/index.ts -------------------------------------------------------------------------------- /app/src/core/options/option-group.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/options/option-group.tsx -------------------------------------------------------------------------------- /app/src/core/options/option.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/options/option.ts -------------------------------------------------------------------------------- /app/src/core/options/render-props.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/options/render-props.ts -------------------------------------------------------------------------------- /app/src/core/options/use-option.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/options/use-option.ts -------------------------------------------------------------------------------- /app/src/core/plugins/command.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/plugins/command.ts -------------------------------------------------------------------------------- /app/src/core/plugins/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/plugins/index.ts -------------------------------------------------------------------------------- /app/src/core/plugins/metadata.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/plugins/metadata.ts -------------------------------------------------------------------------------- /app/src/core/plugins/plugin-context.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/plugins/plugin-context.ts -------------------------------------------------------------------------------- /app/src/core/plugins/plugin-description.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/plugins/plugin-description.ts -------------------------------------------------------------------------------- /app/src/core/plugins/plugin-runner.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/plugins/plugin-runner.ts -------------------------------------------------------------------------------- /app/src/core/search.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/search.ts -------------------------------------------------------------------------------- /app/src/core/speech-recognition-types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/speech-recognition-types.ts -------------------------------------------------------------------------------- /app/src/core/tokenizer/bpe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/tokenizer/bpe.ts -------------------------------------------------------------------------------- /app/src/core/tokenizer/chat-history-trimmer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/tokenizer/chat-history-trimmer.ts -------------------------------------------------------------------------------- /app/src/core/tokenizer/cl100k_base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/tokenizer/cl100k_base.json -------------------------------------------------------------------------------- /app/src/core/tokenizer/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/tokenizer/index.ts -------------------------------------------------------------------------------- /app/src/core/tokenizer/worker.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/tokenizer/worker.ts -------------------------------------------------------------------------------- /app/src/core/tokenizer/wrapper.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/tokenizer/wrapper.ts -------------------------------------------------------------------------------- /app/src/core/tts/audio-file-player.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/tts/audio-file-player.ts -------------------------------------------------------------------------------- /app/src/core/tts/direct-tts-player.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/tts/direct-tts-player.ts -------------------------------------------------------------------------------- /app/src/core/tts/direct-tts-plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/tts/direct-tts-plugin.ts -------------------------------------------------------------------------------- /app/src/core/tts/tts-plugin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/tts/tts-plugin.ts -------------------------------------------------------------------------------- /app/src/core/tts/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/tts/types.ts -------------------------------------------------------------------------------- /app/src/core/tts/use-tts.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/tts/use-tts.tsx -------------------------------------------------------------------------------- /app/src/core/utils/async-loop.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/utils/async-loop.ts -------------------------------------------------------------------------------- /app/src/core/utils/event-emitter-async-iterator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/utils/event-emitter-async-iterator.ts -------------------------------------------------------------------------------- /app/src/core/utils/idb.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/utils/idb.ts -------------------------------------------------------------------------------- /app/src/core/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/utils/index.ts -------------------------------------------------------------------------------- /app/src/core/utils/sse.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/core/utils/sse.ts -------------------------------------------------------------------------------- /app/src/global-options/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/global-options/index.tsx -------------------------------------------------------------------------------- /app/src/global-options/openai.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/global-options/openai.tsx -------------------------------------------------------------------------------- /app/src/global-options/parameters.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/global-options/parameters.tsx -------------------------------------------------------------------------------- /app/src/global-options/tts-service.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/global-options/tts-service.tsx -------------------------------------------------------------------------------- /app/src/global-options/ui.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/global-options/ui.tsx -------------------------------------------------------------------------------- /app/src/global-options/whisper.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/global-options/whisper.tsx -------------------------------------------------------------------------------- /app/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/index.css -------------------------------------------------------------------------------- /app/src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/index.tsx -------------------------------------------------------------------------------- /app/src/menus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/menus.ts -------------------------------------------------------------------------------- /app/src/plugins/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/plugins/index.ts -------------------------------------------------------------------------------- /app/src/plugins/system-prompt.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/plugins/system-prompt.tsx -------------------------------------------------------------------------------- /app/src/plugins/titles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/plugins/titles.ts -------------------------------------------------------------------------------- /app/src/plugins/trimmer.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/plugins/trimmer.ts -------------------------------------------------------------------------------- /app/src/spotlight.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/spotlight.tsx -------------------------------------------------------------------------------- /app/src/store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/store/index.ts -------------------------------------------------------------------------------- /app/src/store/message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/store/message.ts -------------------------------------------------------------------------------- /app/src/store/settings-ui.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/store/settings-ui.ts -------------------------------------------------------------------------------- /app/src/store/sidebar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/store/sidebar.ts -------------------------------------------------------------------------------- /app/src/store/ui.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/store/ui.ts -------------------------------------------------------------------------------- /app/src/stub.js: -------------------------------------------------------------------------------- 1 | module.exports = function() {}; -------------------------------------------------------------------------------- /app/src/tts-plugins/elevenlabs-defaults.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/tts-plugins/elevenlabs-defaults.ts -------------------------------------------------------------------------------- /app/src/tts-plugins/elevenlabs.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/tts-plugins/elevenlabs.tsx -------------------------------------------------------------------------------- /app/src/tts-plugins/web-speech.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/tts-plugins/web-speech.ts -------------------------------------------------------------------------------- /app/src/values.ts: -------------------------------------------------------------------------------- 1 | export const APP_NAME = "Chat with GPT"; -------------------------------------------------------------------------------- /app/src/vite-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/src/vite-env.d.ts -------------------------------------------------------------------------------- /app/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/tsconfig.json -------------------------------------------------------------------------------- /app/vite.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/app/vite.config.js -------------------------------------------------------------------------------- /server/generate-self-signed-certificate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/generate-self-signed-certificate.sh -------------------------------------------------------------------------------- /server/jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/jest.config.js -------------------------------------------------------------------------------- /server/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/package-lock.json -------------------------------------------------------------------------------- /server/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/package.json -------------------------------------------------------------------------------- /server/src/auth0.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/auth0.ts -------------------------------------------------------------------------------- /server/src/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/config.ts -------------------------------------------------------------------------------- /server/src/database/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/database/index.ts -------------------------------------------------------------------------------- /server/src/database/knex.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/database/knex.ts -------------------------------------------------------------------------------- /server/src/endpoints/base.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/endpoints/base.ts -------------------------------------------------------------------------------- /server/src/endpoints/delete-chat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/endpoints/delete-chat.ts -------------------------------------------------------------------------------- /server/src/endpoints/get-share.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/endpoints/get-share.ts -------------------------------------------------------------------------------- /server/src/endpoints/health.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/endpoints/health.ts -------------------------------------------------------------------------------- /server/src/endpoints/service-proxies/elevenlabs/text-to-speech.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/endpoints/service-proxies/elevenlabs/text-to-speech.ts -------------------------------------------------------------------------------- /server/src/endpoints/service-proxies/elevenlabs/voices.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/endpoints/service-proxies/elevenlabs/voices.ts -------------------------------------------------------------------------------- /server/src/endpoints/service-proxies/openai/basic.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/endpoints/service-proxies/openai/basic.ts -------------------------------------------------------------------------------- /server/src/endpoints/service-proxies/openai/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/endpoints/service-proxies/openai/index.ts -------------------------------------------------------------------------------- /server/src/endpoints/service-proxies/openai/message.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/endpoints/service-proxies/openai/message.ts -------------------------------------------------------------------------------- /server/src/endpoints/service-proxies/openai/streaming.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/endpoints/service-proxies/openai/streaming.ts -------------------------------------------------------------------------------- /server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts -------------------------------------------------------------------------------- /server/src/endpoints/service-proxies/openai/tokenizer/cl100k_base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/endpoints/service-proxies/openai/tokenizer/cl100k_base.json -------------------------------------------------------------------------------- /server/src/endpoints/service-proxies/openai/tokenizer/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/endpoints/service-proxies/openai/tokenizer/index.ts -------------------------------------------------------------------------------- /server/src/endpoints/session.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/endpoints/session.ts -------------------------------------------------------------------------------- /server/src/endpoints/share.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/endpoints/share.ts -------------------------------------------------------------------------------- /server/src/endpoints/sync-legacy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/endpoints/sync-legacy.ts -------------------------------------------------------------------------------- /server/src/endpoints/sync.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/endpoints/sync.ts -------------------------------------------------------------------------------- /server/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/index.ts -------------------------------------------------------------------------------- /server/src/object-store/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/object-store/index.ts -------------------------------------------------------------------------------- /server/src/object-store/s3.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/object-store/s3.ts -------------------------------------------------------------------------------- /server/src/object-store/sqlite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/object-store/sqlite.ts -------------------------------------------------------------------------------- /server/src/passport.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/passport.ts -------------------------------------------------------------------------------- /server/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/src/utils.ts -------------------------------------------------------------------------------- /server/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/NeonNexus0408/chat-using-gpt/HEAD/server/tsconfig.json --------------------------------------------------------------------------------