Advanced GGUF Model Loader with Smart Floating Assistant
Project description
GGUF Loader
Advanced GGUF Model Loader with Smart Floating Assistant
GGUF Loader is a production-ready Python application that provides a robust GGUF model loader with an innovative Smart Floating Assistant addon. Transform how you work with AI across all your applications with global text selection and processing capabilities.
โจ Key Features
๐ Smart Floating Assistant
- Global Text Selection: Works across ALL applications (browsers, editors, documents)
- AI-Powered Processing: Summarize and comment on any selected text
- Floating UI: Non-intrusive, always-accessible interface
- Privacy-First: All processing happens locally on your machine
๐ฏ Core Capabilities
- GGUF Model Support: Load and run any GGUF format model
- Modern GUI: Built with PySide6 for a native desktop experience
- Addon System: Extensible architecture for custom functionality
- Cross-Platform: Works on Windows, macOS, and Linux
- GPU Acceleration: Optional CUDA and Metal support
๐ง Developer-Friendly
- Rich API: Comprehensive addon development framework
- Hot Loading: Load and unload addons without restarting
- Open Source: MIT licensed and community-driven
๐ Quick Start
Installation
pip install ggufloader
Launch
ggufloader
First Steps
- Download a GGUF model from Hugging Face
- Click "Select GGUF Model" in the application
- Load your model and start chatting
- Try the Smart Assistant: Select text anywhere and click the โจ button!
๐ System Requirements
- Python: 3.8 or higher
- RAM: 4GB minimum (8GB+ recommended)
- Storage: 2GB+ free space for models
- OS: Windows 10/11, macOS 10.14+, or Linux (Ubuntu 18.04+)
Platform-Specific Requirements
Windows
- Windows 10 or 11
- Automatically installs
pywin32for enhanced system integration
macOS
- macOS 10.14 (Mojave) or later
- Optional: Install enhanced macOS integration with
pip install ggufloader[macos]
Linux
- Ubuntu 18.04+, Fedora 30+, or equivalent
- X11 display server (Wayland support coming soon)
- Optional: Install enhanced Linux integration with
pip install ggufloader[linux]
๐ฎ Usage Examples
Basic Chat
# Launch the application
ggufloader
# Or use programmatically
from ggufloader import addon_main
addon_main()
Smart Floating Assistant Workflow
- Reading an article โ Select key paragraph โ Click โจ โ "Summarize"
- Code review โ Select complex function โ Click โจ โ "Comment"
- Email writing โ Select draft โ Click โจ โ "Comment" for suggestions
- Research โ Select academic text โ Click โจ โ "Summarize"
Command Line Options
# Show version
ggufloader --version
# Show help
ggufloader --help
๐ง Advanced Installation
GPU Acceleration
NVIDIA GPU (CUDA)
pip uninstall llama-cpp-python
pip install llama-cpp-python --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cu121
Apple Silicon (Metal)
pip uninstall llama-cpp-python
CMAKE_ARGS="-DLLAMA_METAL=on" pip install llama-cpp-python
Platform-Specific Enhanced Features
Windows Enhanced Integration
pip install ggufloader[windows]
macOS Enhanced Integration
pip install ggufloader[macos]
Linux Enhanced Integration
pip install ggufloader[linux]
Performance Monitoring (Optional)
pip install ggufloader[performance]
All Optional Features
pip install ggufloader[all]
Development Installation
git clone https://github.com/GGUFloader/gguf-loader.git
cd gguf-loader
pip install -e .[dev]
๐ Documentation
Quick Links
- Installation Guide - Detailed setup instructions
- Quick Start Guide - Get running in minutes
- Addon Development - Create custom addons
- API Reference - Complete API documentation
Key Documentation Files
- Package Structure - Understanding the codebase
- Smart Floater Example - Learn from the built-in addon
๐ ๏ธ Development
Project Structure
ggufloader/
โโโ __init__.py # Package initialization
โโโ gguf_loader_main.py # Main application entry point
โโโ addon_manager.py # Addon system management
โโโ config.py # Configuration utilities
โโโ addons/ # Built-in addons
โโโ docs/ # Documentation
โโโ models/ # Model loading components
โโโ ui/ # User interface components
โโโ widgets/ # Custom UI widgets
Creating Addons
# Example addon structure
def register_addon(parent_app):
"""Register addon with the main application"""
return MyAddonWidget(parent_app)
class MyAddonWidget(QWidget):
def __init__(self, parent_app):
super().__init__()
self.parent_app = parent_app
# Your addon implementation
๐ค Contributing
We welcome contributions! Here's how to get started:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes and add tests
- Run tests:
pytest - Submit a pull request
Development Setup
git clone https://github.com/GGUFloader/gguf-loader.git
cd gguf-loader
pip install -e .[dev]
๐ License
This project is licensed under the MIT License - see the LICENSE file for details.
๐ Links
- Homepage: https://ggufloader.github.io
- Repository: https://github.com/GGUFloader/gguf-loader
- PyPI Package: https://pypi.org/project/ggufloader/
- Bug Reports: https://github.com/GGUFloader/gguf-loader/issues
๐จโ๐ป Author
Hussain Nazary
- Email: hussainnazary475@gmail.com
- GitHub: @GGUFloader
๐ Acknowledgments
- llama.cpp team for the excellent GGUF format and inference engine
- PySide6 team for the robust GUI framework
- Hugging Face for model hosting and transformers library
- Open source community for continuous support and contributions
๐ Stats
- Language: Python 3.8+
- GUI Framework: PySide6
- AI Backend: llama-cpp-python
- Package Size: ~50MB
- Supported Models: All GGUF format models
Transform your text workflow with AI-powered assistance! ๐
Made with โค๏ธ by the GGUF Loader team
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ggufloader-2.0.1.tar.gz.
File metadata
- Download URL: ggufloader-2.0.1.tar.gz
- Upload date:
- Size: 180.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79f702c499f4ef39153cf14418ffa65758c6f153a57a0c89bd5d9c4a74ebf6cc
|
|
| MD5 |
b2b5fd34ada150be4e7fd2feba2eca23
|
|
| BLAKE2b-256 |
d672716003f2d8cb8ca39349e07243ae10c1b123843c22342112b16847e1454d
|
File details
Details for the file ggufloader-2.0.1-py3-none-any.whl.
File metadata
- Download URL: ggufloader-2.0.1-py3-none-any.whl
- Upload date:
- Size: 197.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1c5e9946050fe77073ad321dddfe1936c945a94344002b0104a1db8bc415a0f8
|
|
| MD5 |
a69d1e813a9d5a0d6e2e98ae5a1e6525
|
|
| BLAKE2b-256 |
fcfa7e4c49bbe09f8e8a26388608d883e7d38c04a6e2dceb35d7e12af3c51307
|