No description
Find a file
2025-08-30 02:07:34 -07:00
.github more aur release testing to prevent any hash verification issues going forward 2025-08-23 13:19:48 -07:00
.husky minor fixes and improvements 2025-08-20 01:02:43 -07:00
.vscode allow users to launch with support for multiple GPUs, image gen UI bug fixes, adding the new 1.98.0 sdflashattention and sdconvdirect image gen options, remove cspell 2025-08-25 17:16:13 -07:00
assets custom frontend users will require to pre-install Node.js, welcome screen clarifications, don't package mac entitlements for other platforms 2025-08-28 01:47:34 -07:00
screenshots better terminal output? trying to make AUR release work, handle .kcppt saving 2025-08-22 19:52:26 -07:00
scripts minor fixes and improvements 2025-08-20 01:02:43 -07:00
src WIP: refactor to make all code async, forbit sync node utils, simplifying rocm downloads 2025-08-30 02:07:34 -07:00
.gitignore adding seamless integration for sillytavern as an optional frontend, refactors to reduce code duplication, add http link detection to terminal output 2025-08-27 22:15:52 -07:00
.prettierignore add more network settings, start detecting GPU and CPU capabilities 2025-08-14 13:11:07 -07:00
.prettierrc Initial commit: FriendlyKobold Electron app with KoboldCpp management 2025-08-11 18:34:35 -07:00
.yarnrc.yml switch to yarn 2025-08-16 11:01:20 -07:00
electron.vite.config.ts custom frontend users will require to pre-install Node.js, welcome screen clarifications, don't package mac entitlements for other platforms 2025-08-28 01:47:34 -07:00
eslint.config.ts WIP: refactor to make all code async, forbit sync node utils, simplifying rocm downloads 2025-08-30 02:07:34 -07:00
index.html bug fixes and improvements 2025-08-17 03:47:12 -07:00
LICENSE making it better and refactoring, digging through the AI generated slop 2025-08-13 00:02:47 -07:00
package.json WIP: refactor to make all code async, forbit sync node utils, simplifying rocm downloads 2025-08-30 02:07:34 -07:00
README.md add windows rocm build, better support for binaries that unpack without a launcher 2025-08-29 23:28:11 -07:00
tsconfig.json Initial commit: FriendlyKobold Electron app with KoboldCpp management 2025-08-11 18:34:35 -07:00
tsconfig.main.json making it better and refactoring, digging through the AI generated slop 2025-08-13 00:02:47 -07:00
tsconfig.node.json Initial commit: FriendlyKobold Electron app with KoboldCpp management 2025-08-11 18:34:35 -07:00
yarn.lock WIP: refactor to make all code async, forbit sync node utils, simplifying rocm downloads 2025-08-30 02:07:34 -07:00

Friendly Kobold

A desktop app for running Large Language Models locally. FriendlyKobold Icon

Core Features

  • Run LLMs locally with an intuitive interface powered by KoboldCpp
  • 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
  • Optimized performance - Automatically unpacks binaries for faster operation and reduced memory usage
  • Image generation support - Built-in presets for Flux and Chroma image generation workflows
  • SillyTavern integration - Seamlessly launch SillyTavern for advanced character interactions (requires Node.js)
  • Privacy-focused - Everything runs locally on your machine, no data sent to external servers

Installation

Pre-built Binaries

Download the latest release for your platform from the GitHub Releases page:

  • Windows: Friendly.Kobold-Portable-X.X.X.exe (portable executable)
  • Windows: Friendly.Kobold-Setup-X.X.X.exe (installer executable)
  • macOS: Friendly.Kobold-X.X.X.dmg (disk image)
  • Linux: Friendly.Kobold-X.X.X.AppImage (portable application)

Linux - AUR (Arch Linux)

For Arch Linux users, install from the AUR using your preferred AUR helper:

# Using yay
yay -S friendly-kobold

# Using paru
paru -S friendly-kobold

# Manual installation
git clone https://aur.archlinux.org/friendly-kobold.git
cd friendly-kobold
makepkg -si

The AUR package automatically handles installation, desktop integration, and system updates. This is the ideal way to run Friendly Kobold on Linux.

Screenshots

Download & Setup

Download Interface

Model Launch Configuration

Launch Configuration

Terminal Output

Terminal Interface

Text Generation

Text Story Generation

Image Generation

Image Generation

Future features

Not all koboldcpp features have currently been ported over to the UI. As a workaround one may use the "Additional arguments" on the "Advanced" tab of the launcher to provide additional command line arguments if you know them.

CLI Mode

The --cli argument allows you to use the Friendly Kobold binary as a proxy to the downloaded KoboldCpp binary. This enables you to run KoboldCpp from the command line using the same binary that the GUI has downloaded.

Considerations

You might want to run CLI Mode if you're looking to use a different frontend, such as OpenWebUI, than the ones bundled (eg. KoboldAI Lite, Stable UI) with KoboldCpp AND you're looking to minimize any resource utilization of this app. Note that at the time of this writing, Friendly Kobold only takes about ~200MB of RAM and ~100MB of VRAM for its Chromium-based UI. When running in CLI Mode, Friendly Kobold will still take about 1/3 of those RAM and VRAM numbers.

Usage

Linux/macOS:

# Basic usage - launch KoboldCpp launcher with no arguments
friendly-kobold --cli

# Pass arguments to KoboldCpp
friendly-kobold --cli --help
friendly-kobold --cli --port 5001 --model /path/to/model.gguf

# Any KoboldCpp arguments are supported
friendly-kobold --cli --model /path/to/model.gguf --port 5001 --host 0.0.0.0 --multiuser 2

# CLI inception (friendly kobold CLI calling KoboldCpp CLI mode)
# This is the ideal way to run a custom frontend
friendly-kobold --cli --cli --model /path/to/model.gguf --gpulayers 57 --contextsize 8192 --port 5001 --multiuser 1 --flashattention --usemmap --usevulkan

Windows:

CLI mode will only work correctly on Windows if you install Friendly Kobold using the Setup.exe from the github releases. Otherwise there is currently a technical limitation with the Windows portable .exe which will cause it to not display the terminal output correctly nor will it be killable through the standard terminal (Ctrl+C) commands.

You can use the CLI mode on Windows in exactly the same way as in the Linux/macOS examples above, except you'll be calling the "Friendly Kobold.exe". Note that it will not be on your system PATH by default, so you'll need to manually specify the full path to it when callig it from the Windows terminal.

For Local Dev

Prerequisites

  • Volta - JavaScript tool manager (installs correct Node.js + Yarn versions automatically)

Setup

  1. Install Volta (if not already installed):

    curl https://get.volta.sh | bash
    
  2. Clone the repository

  3. Install dependencies (Volta will auto-install the correct Node.js and Yarn versions):

    yarn
    
  4. Start the development server:

    yarn dev
    

License

AGPL v3 License - see LICENSE file for details