diff --git a/README.md b/README.md index 872469d..f7bc960 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ A desktop app to easily run Large Language Models locally. ## Core Features -- **Run LLMs locally** powered by [KoboldCpp](https://github.com/LostRuins/koboldcpp) which itself is a highly modified fork of [llama.cpp](https://github.com/ggml-org/llama.cpp) +- **Run LLMs locally** powered by a highly modified fork of [llama.cpp](https://github.com/ggml-org/llama.cpp) - **Cross-platform desktop app** - Native support for Windows, macOS, and Linux (including Wayland) - **Automatic updates** - Download and keep your KoboldCpp binary up-to-date effortlessly - **Smart process management** - Prevents runaway background processes and system resource waste @@ -150,8 +150,12 @@ You can use the CLI mode on Windows in exactly the same way as in the Linux/macO yarn dev ``` +## Future Considerations + +- migrate the project to Tauri from Electron? +- transition to using llama.cpp binaries directly instead of running them indirectly through koboldcpp? +- seamless support for more frontends? + ## License AGPL v3 License - see LICENSE file for details - -# test diff --git a/package.json b/package.json index f48fe3b..049fef0 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "gerbil", "productName": "Gerbil", - "version": "0.9.9", + "version": "1.0.0", "description": "Run Large Language Models locally", "main": "out/main/index.js", "homepage": "./", diff --git a/src/components/CheckboxWithTooltip.tsx b/src/components/CheckboxWithTooltip.tsx index 606b8af..ca5836d 100644 --- a/src/components/CheckboxWithTooltip.tsx +++ b/src/components/CheckboxWithTooltip.tsx @@ -1,6 +1,5 @@ import { Checkbox, Group } from '@mantine/core'; import { InfoTooltip } from '@/components/InfoTooltip'; -import styles from '@/styles/layout.module.css'; interface CheckboxWithTooltipProps { checked: boolean; @@ -17,7 +16,7 @@ export const CheckboxWithTooltip = ({ tooltip, disabled = false, }: CheckboxWithTooltipProps) => ( -
+
-
+
- {name} + {pretifyBinName(name)} {isCurrent && ( diff --git a/src/components/ModelFileField.tsx b/src/components/ModelFileField.tsx index 90fbb33..4a148b7 100644 --- a/src/components/ModelFileField.tsx +++ b/src/components/ModelFileField.tsx @@ -2,7 +2,6 @@ import { Group, TextInput, Button } from '@mantine/core'; import { File, Search } from 'lucide-react'; import { LabelWithTooltip } from '@/components/LabelWithTooltip'; import { getInputValidationState } from '@/utils/validation'; -import styles from '@/styles/layout.module.css'; interface ModelFileFieldProps { label: string; @@ -41,7 +40,7 @@ export const ModelFileField = ({
-
+
- Waiting for the KoboldCpp server to start... + Waiting for the server to start... The {isImageGenerationMode ? 'image generation' : 'chat'} interface diff --git a/src/components/screens/Interface/TerminalTab.tsx b/src/components/screens/Interface/TerminalTab.tsx index c2df986..5bbbf44 100644 --- a/src/components/screens/Interface/TerminalTab.tsx +++ b/src/components/screens/Interface/TerminalTab.tsx @@ -7,7 +7,6 @@ import { useComputedColorScheme, } from '@mantine/core'; import { ChevronDown } from 'lucide-react'; -import styles from '@/styles/layout.module.css'; import { SERVER_READY_SIGNALS, TITLEBAR_HEIGHT } from '@/constants'; import { handleTerminalOutput, processTerminalContent } from '@/utils/terminal'; import { useLaunchConfigStore } from '@/stores/launchConfig'; @@ -120,14 +119,19 @@ export const TerminalTab = ({ ref={scrollAreaRef} viewportRef={viewportRef} onScrollPositionChange={handleScroll} - className={styles.terminalScrollArea} + style={{ + flex: 1, + fontFamily: 'Monaco, Menlo, Ubuntu Mono, monospace', + fontSize: '0.875em', + lineHeight: 1.4, + }} scrollbarSize={8} offsetScrollbars={false} > {terminalContent.length === 0 ? ( - Starting KoboldCpp... + Starting... ) : (
{ Additional arguments - +