llama.cpp-hub  by IIIIIllllIIIIIlllll

Manage and interact with llama.cpp models via a web interface

Created 8 months ago
265 stars

Top 96.3% on SourcePulse

GitHubView on GitHub
Project Summary

Summary

llama.cpp-hub is a web-based extension utility designed to simplify the management and operation of llama.cpp models. It targets users who find command-line interfaces cumbersome, manage multiple llama.cpp instances, or prefer a graphical interface for model loading, parameter tuning, and monitoring. The project offers a unified control plane, enhancing usability and efficiency for both local and distributed llama.cpp deployments.

How It Works

The project wraps llama.cpp in a web shell, providing a Progressive Web App (PWA)-enabled graphical interface. It supports loading and unloading GGUF models, with each model capable of storing multiple configurations and sampling presets. The system automatically identifies associated mmproj files for multimodal models and allows selection of different llama.cpp versions. A key feature is its multi-protocol API backend, which exposes compatibility layers for OpenAI, Anthropic, and Ollama APIs, enabling direct integration with existing SDKs and tools by simply changing the endpoint address.

Quick Start & Requirements

  • Installation: Download the release package containing llama.cpp. Extract the package.
  • Model Placement: Place each GGUF model (including shards and mmproj files) in its own dedicated subfolder within a designated directory (e.g., models/ModelName/model.gguf).
  • Execution: Run the provided startup script (.bat for Windows, .sh for Linux).
  • Access: Open a web browser to http://localhost:8080.
  • Prerequisites: Java 21+ is required for the backend. Ensure port 8080 is available.

Highlighted Details

  • PWA Support: Installable directly to the desktop/taskbar for a native-like experience.
  • Multi-Protocol API: Simultaneously exposes OpenAI, Anthropic, Ollama, and LM Studio compatible APIs.
  • Remote Node Aggregation: Allows for unified management of multiple llama.cpp-hub instances deployed across different servers.
  • Integrated Download Manager: Supports HTTP断点续传 (breakpoint resume) for downloading models and other files.
  • Automatic Updates: Checks GitHub Releases for new versions, downloads, and applies updates automatically.

Maintenance & Community

Development heavily utilizes AI models (Qwen, DeepSeek) for code generation and planning. The README does not provide links to community channels (e.g., Discord, Slack) or list notable contributors or sponsorships. The project appears to be maintained by a single developer.

Licensing & Compatibility

The provided README does not specify a software license. This omission makes it impossible to determine rights for commercial use, modification, or redistribution, posing a significant adoption blocker.

Limitations & Caveats

The mobile UI is marked as long-term unmaintained with known issues. The project explicitly warns against exposing the service directly to the public internet due to a lack of robust security features (authentication, authorization, attack prevention), recommending reverse proxies with HTTPS and access controls for any external access. The MCP (Model Call Protocol) tools are described as having unclear utility, and the built-in download manager is basic, with dedicated tools recommended for large batch downloads.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
1 stars in the last 30 days

Explore Similar Projects

Starred by Andrej Karpathy Andrej Karpathy(Founder of Eureka Labs; Formerly at Tesla, OpenAI; Author of CS 231n), Gabriel Almeida Gabriel Almeida(Cofounder of Langflow), and
2 more.

torchchat by pytorch

0%
4k
PyTorch-native SDK for local LLM inference across diverse platforms
Created 2 years ago
Updated 11 months ago
Feedback? Help us improve.