Skip to content

Feature Request: Allow to inject custom CSS to webUI via config #23886

@niutech

Description

@niutech

Prerequisites

  • I am running the latest code. Mention the version if possible as well.
  • I carefully followed the README.md.
  • I searched using keywords relevant to my issue to make sure that I am creating a new issue that is not already open (or closed).
  • I reviewed the Discussions, and have a new and useful enhancement to share.

Feature Description

Please allow to inject custom CSS into WebUI at runtime, without rebuilding it.

Motivation

Even slightly customizing llama.cpp webUI (like changing colors) requires cloning the repo, installing node.js packages and rebuilding the Svelte app, then rebuilding llama.cpp. There is no way to easily customize downloaded prebuilt llama.cpp binary.

Possible Implementation

It could be done e.g. by adding customCSS property to the config object passed to --webui-config or --webui-config-file.

Metadata

Metadata

Labels

enhancementNew feature or request
No fields configured for Feature.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions