├── .eslintrc.json ├── .github └── workflows │ ├── common-ci.yml │ └── desktop-ci.yml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── .tool-versions ├── .vscode └── settings.json ├── README.md ├── docs └── bot-files.md ├── forge.config.ts ├── index.html ├── package.json ├── postcss.config.js ├── src ├── desktop │ ├── .gitignore │ ├── Info.plist │ ├── icons │ │ └── bots.icns │ ├── script │ │ └── bot-icon.mjs │ ├── src │ │ ├── main.ts │ │ ├── main │ │ │ ├── chat │ │ │ │ ├── controller.ts │ │ │ │ ├── function-controller.ts │ │ │ │ └── plugin-controller.ts │ │ │ ├── config │ │ │ │ └── config.ts │ │ │ ├── db │ │ │ │ └── db.ts │ │ │ └── fsutil.ts │ │ ├── preload.ts │ │ ├── renderer.tsx │ │ └── renderer │ │ │ ├── components │ │ │ ├── app-window.tsx │ │ │ ├── app.tsx │ │ │ ├── button.tsx │ │ │ ├── chat-list-item.tsx │ │ │ ├── chat-list.tsx │ │ │ ├── chat-settings.tsx │ │ │ ├── icon-button.tsx │ │ │ ├── icons │ │ │ │ ├── index.tsx │ │ │ │ ├── new-chat-icon.tsx │ │ │ │ ├── open-ai-icon.tsx │ │ │ │ └── settings-icon.tsx │ │ │ ├── main.tsx │ │ │ ├── message-composer.tsx │ │ │ ├── message-list.tsx │ │ │ ├── placeholder.tsx │ │ │ └── title-bar.tsx │ │ │ ├── hooks │ │ │ ├── use-config.ts │ │ │ └── use-slots.ts │ │ │ ├── index.css │ │ │ ├── tsconfig.json │ │ │ └── types │ │ │ └── window.d.ts │ ├── tsconfig.json │ └── webpack │ │ └── renderer.config.ts ├── openai │ ├── .eslintrc.json │ ├── openai.ts │ └── tsconfig.json ├── shared │ ├── .eslintrc.json │ ├── botsfile.ts │ ├── schema.ts │ └── tsconfig.json └── ui │ ├── .eslintrc.json │ ├── components │ ├── message-renderer.tsx │ └── scroll-container.tsx │ ├── one-dark.ts │ ├── package.json │ └── tsconfig.json ├── tailwind.config.js ├── tsconfig.base.json ├── tsconfig.ui.json ├── vite.main.config.mjs ├── vite.preload.config.mjs └── vite.renderer.config.mjs /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/common-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/.github/workflows/common-ci.yml -------------------------------------------------------------------------------- /.github/workflows/desktop-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/.github/workflows/desktop-ci.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .nx/ 3 | nx-cloud.env 4 | .vite/ 5 | out/ 6 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/.prettierrc -------------------------------------------------------------------------------- /.tool-versions: -------------------------------------------------------------------------------- 1 | nodejs 18.18.0 2 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/README.md -------------------------------------------------------------------------------- /docs/bot-files.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/docs/bot-files.md -------------------------------------------------------------------------------- /forge.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/forge.config.ts -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/index.html -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/package.json -------------------------------------------------------------------------------- /postcss.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/postcss.config.js -------------------------------------------------------------------------------- /src/desktop/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/.gitignore -------------------------------------------------------------------------------- /src/desktop/Info.plist: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/Info.plist -------------------------------------------------------------------------------- /src/desktop/icons/bots.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/icons/bots.icns -------------------------------------------------------------------------------- /src/desktop/script/bot-icon.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/script/bot-icon.mjs -------------------------------------------------------------------------------- /src/desktop/src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/main.ts -------------------------------------------------------------------------------- /src/desktop/src/main/chat/controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/main/chat/controller.ts -------------------------------------------------------------------------------- /src/desktop/src/main/chat/function-controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/main/chat/function-controller.ts -------------------------------------------------------------------------------- /src/desktop/src/main/chat/plugin-controller.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/main/chat/plugin-controller.ts -------------------------------------------------------------------------------- /src/desktop/src/main/config/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/main/config/config.ts -------------------------------------------------------------------------------- /src/desktop/src/main/db/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/main/db/db.ts -------------------------------------------------------------------------------- /src/desktop/src/main/fsutil.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/main/fsutil.ts -------------------------------------------------------------------------------- /src/desktop/src/preload.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/preload.ts -------------------------------------------------------------------------------- /src/desktop/src/renderer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer.tsx -------------------------------------------------------------------------------- /src/desktop/src/renderer/components/app-window.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/components/app-window.tsx -------------------------------------------------------------------------------- /src/desktop/src/renderer/components/app.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/components/app.tsx -------------------------------------------------------------------------------- /src/desktop/src/renderer/components/button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/components/button.tsx -------------------------------------------------------------------------------- /src/desktop/src/renderer/components/chat-list-item.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/components/chat-list-item.tsx -------------------------------------------------------------------------------- /src/desktop/src/renderer/components/chat-list.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/components/chat-list.tsx -------------------------------------------------------------------------------- /src/desktop/src/renderer/components/chat-settings.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/components/chat-settings.tsx -------------------------------------------------------------------------------- /src/desktop/src/renderer/components/icon-button.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/components/icon-button.tsx -------------------------------------------------------------------------------- /src/desktop/src/renderer/components/icons/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/components/icons/index.tsx -------------------------------------------------------------------------------- /src/desktop/src/renderer/components/icons/new-chat-icon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/components/icons/new-chat-icon.tsx -------------------------------------------------------------------------------- /src/desktop/src/renderer/components/icons/open-ai-icon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/components/icons/open-ai-icon.tsx -------------------------------------------------------------------------------- /src/desktop/src/renderer/components/icons/settings-icon.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/components/icons/settings-icon.tsx -------------------------------------------------------------------------------- /src/desktop/src/renderer/components/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/components/main.tsx -------------------------------------------------------------------------------- /src/desktop/src/renderer/components/message-composer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/components/message-composer.tsx -------------------------------------------------------------------------------- /src/desktop/src/renderer/components/message-list.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/components/message-list.tsx -------------------------------------------------------------------------------- /src/desktop/src/renderer/components/placeholder.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/components/placeholder.tsx -------------------------------------------------------------------------------- /src/desktop/src/renderer/components/title-bar.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/components/title-bar.tsx -------------------------------------------------------------------------------- /src/desktop/src/renderer/hooks/use-config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/hooks/use-config.ts -------------------------------------------------------------------------------- /src/desktop/src/renderer/hooks/use-slots.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/hooks/use-slots.ts -------------------------------------------------------------------------------- /src/desktop/src/renderer/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/index.css -------------------------------------------------------------------------------- /src/desktop/src/renderer/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/tsconfig.json -------------------------------------------------------------------------------- /src/desktop/src/renderer/types/window.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/src/renderer/types/window.d.ts -------------------------------------------------------------------------------- /src/desktop/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/tsconfig.json -------------------------------------------------------------------------------- /src/desktop/webpack/renderer.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/desktop/webpack/renderer.config.ts -------------------------------------------------------------------------------- /src/openai/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/openai/.eslintrc.json -------------------------------------------------------------------------------- /src/openai/openai.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/openai/openai.ts -------------------------------------------------------------------------------- /src/openai/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json" 3 | } 4 | -------------------------------------------------------------------------------- /src/shared/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/shared/.eslintrc.json -------------------------------------------------------------------------------- /src/shared/botsfile.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/shared/botsfile.ts -------------------------------------------------------------------------------- /src/shared/schema.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/shared/schema.ts -------------------------------------------------------------------------------- /src/shared/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.base.json" 3 | } 4 | -------------------------------------------------------------------------------- /src/ui/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/ui/.eslintrc.json -------------------------------------------------------------------------------- /src/ui/components/message-renderer.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/ui/components/message-renderer.tsx -------------------------------------------------------------------------------- /src/ui/components/scroll-container.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/ui/components/scroll-container.tsx -------------------------------------------------------------------------------- /src/ui/one-dark.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/ui/one-dark.ts -------------------------------------------------------------------------------- /src/ui/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/src/ui/package.json -------------------------------------------------------------------------------- /src/ui/tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "../../tsconfig.ui.json" 3 | } 4 | -------------------------------------------------------------------------------- /tailwind.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/tailwind.config.js -------------------------------------------------------------------------------- /tsconfig.base.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/tsconfig.base.json -------------------------------------------------------------------------------- /tsconfig.ui.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/tsconfig.ui.json -------------------------------------------------------------------------------- /vite.main.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/vite.main.config.mjs -------------------------------------------------------------------------------- /vite.preload.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/vite.preload.config.mjs -------------------------------------------------------------------------------- /vite.renderer.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/withbotshq/botsapp/HEAD/vite.renderer.config.mjs --------------------------------------------------------------------------------