Skip to content

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

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.

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions