├── .eslintrc.cjs ├── .gitignore ├── .vscode └── settings.json ├── README.md ├── TODO.md ├── babel.config.cjs ├── index.html ├── jest.config.cjs ├── package.json ├── postcss.config.js ├── public └── vite.svg ├── src ├── App.tsx ├── components │ ├── DropdownMenu.ts │ ├── Home.tsx │ ├── OpenAIKey.tsx │ ├── chat-config │ │ ├── ChatConfigContext.tsx │ │ ├── ChatConfigList.tsx │ │ ├── ChatConfigModal.tsx │ │ └── useShortcut.ts │ ├── conversations │ │ ├── ChatEditModal.tsx │ │ └── Conversations.tsx │ ├── hooks │ │ ├── useDependecyDebugger.ts │ │ ├── useLocalStorage.ts │ │ └── usePrevious.ts │ └── pane │ │ ├── Messages.tsx │ │ ├── Pane.tsx │ │ └── github-markdown.css ├── db │ ├── db-selectors.ts │ └── index.ts ├── index.css ├── main.tsx ├── state │ ├── conversations.ts │ ├── panes.ts │ ├── selectors.ts │ └── store.ts ├── utils │ ├── openai.ts │ └── uuid.ts └── vite-env.d.ts ├── tailwind.config.js ├── tsconfig.json ├── tsconfig.node.json └── vite.config.ts /.eslintrc.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/.eslintrc.cjs -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .env 3 | dist -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/README.md -------------------------------------------------------------------------------- /TODO.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/TODO.md -------------------------------------------------------------------------------- /babel.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/babel.config.cjs -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/index.html -------------------------------------------------------------------------------- /jest.config.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/jest.config.cjs -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/postcss.config.js -------------------------------------------------------------------------------- /public/vite.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/public/vite.svg -------------------------------------------------------------------------------- /src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/App.tsx -------------------------------------------------------------------------------- /src/components/DropdownMenu.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/components/DropdownMenu.ts -------------------------------------------------------------------------------- /src/components/Home.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/components/Home.tsx -------------------------------------------------------------------------------- /src/components/OpenAIKey.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/components/OpenAIKey.tsx -------------------------------------------------------------------------------- /src/components/chat-config/ChatConfigContext.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/components/chat-config/ChatConfigContext.tsx -------------------------------------------------------------------------------- /src/components/chat-config/ChatConfigList.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/components/chat-config/ChatConfigList.tsx -------------------------------------------------------------------------------- /src/components/chat-config/ChatConfigModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/components/chat-config/ChatConfigModal.tsx -------------------------------------------------------------------------------- /src/components/chat-config/useShortcut.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/components/chat-config/useShortcut.ts -------------------------------------------------------------------------------- /src/components/conversations/ChatEditModal.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/components/conversations/ChatEditModal.tsx -------------------------------------------------------------------------------- /src/components/conversations/Conversations.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/components/conversations/Conversations.tsx -------------------------------------------------------------------------------- /src/components/hooks/useDependecyDebugger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/components/hooks/useDependecyDebugger.ts -------------------------------------------------------------------------------- /src/components/hooks/useLocalStorage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/components/hooks/useLocalStorage.ts -------------------------------------------------------------------------------- /src/components/hooks/usePrevious.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/components/hooks/usePrevious.ts -------------------------------------------------------------------------------- /src/components/pane/Messages.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/components/pane/Messages.tsx -------------------------------------------------------------------------------- /src/components/pane/Pane.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/components/pane/Pane.tsx -------------------------------------------------------------------------------- /src/components/pane/github-markdown.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/components/pane/github-markdown.css -------------------------------------------------------------------------------- /src/db/db-selectors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/db/db-selectors.ts -------------------------------------------------------------------------------- /src/db/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/db/index.ts -------------------------------------------------------------------------------- /src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/index.css -------------------------------------------------------------------------------- /src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/main.tsx -------------------------------------------------------------------------------- /src/state/conversations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/state/conversations.ts -------------------------------------------------------------------------------- /src/state/panes.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/state/panes.ts -------------------------------------------------------------------------------- /src/state/selectors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/state/selectors.ts -------------------------------------------------------------------------------- /src/state/store.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/state/store.ts -------------------------------------------------------------------------------- /src/utils/openai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/utils/openai.ts -------------------------------------------------------------------------------- /src/utils/uuid.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/src/utils/uuid.ts -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.node.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/tsconfig.node.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gabrielpetersson/chat-llm/HEAD/vite.config.ts --------------------------------------------------------------------------------