A React + TypeScript + Vite interface for interacting with llama.cpp server.
To run this application, you need to have a llama.cpp server (llama-server) running separately.
Download the required model file using the hf (Hugging Face) CLI tool:
mkdir ~/llama
hf download google/gemma-4-E2B-it-qat-q4_0-gguf --local-dir ~/llama/gemma-4-E2B-it-qat-q4_0-ggufLaunch the llama-server with the following command, ensuring the path to the model is correct:
llama-server \
--model ~/llama/gemma-4-E2B-it-qat-q4_0-gguf/gemma-4-E2B_q4_0-it.gguf \
-ngl 10 \
-c 76800 \
-ctk q4_0 \
-ctv q4_0 \
-fa on \
--host 0.0.0.0 \
--port 8080Once the backend is running, start the frontend application:
bun i
bun run startThis project was bootstrapped with a minimal React + TypeScript + Vite template.
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
If you are developing a production application, we recommend enabling type-aware lint rules by installing oxlint-tsgolint and editing .oxlintrc.json. See the Oxlint rules documentation for the full list of rules and categories.
Copyright (c) 2026 Veridian Zenith. All rights reserved.
This software is licensed under the OSL V3 (Open Software License 3.0).