Text Generation
GGUF
English
uncensored
lower-refusal
coding
reasoning
tool-use
cybersecurity
local-ai
ollama
conversational
Instructions to use studiobrn/modHacker with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use studiobrn/modHacker with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf studiobrn/modHacker:F16 # Run inference directly in the terminal: llama cli -hf studiobrn/modHacker:F16
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf studiobrn/modHacker:F16 # Run inference directly in the terminal: llama cli -hf studiobrn/modHacker:F16
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf studiobrn/modHacker:F16 # Run inference directly in the terminal: ./llama-cli -hf studiobrn/modHacker:F16
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf studiobrn/modHacker:F16 # Run inference directly in the terminal: ./build/bin/llama-cli -hf studiobrn/modHacker:F16
Use Docker
docker model run hf.co/studiobrn/modHacker:F16
- LM Studio
- Jan
- vLLM
How to use studiobrn/modHacker with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "studiobrn/modHacker" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "studiobrn/modHacker", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/studiobrn/modHacker:F16
- Ollama
How to use studiobrn/modHacker with Ollama:
ollama run hf.co/studiobrn/modHacker:F16
- Unsloth Desktop
- Pi
How to use studiobrn/modHacker with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf studiobrn/modHacker:F16
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "studiobrn/modHacker:F16" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use studiobrn/modHacker with Docker Model Runner:
docker model run hf.co/studiobrn/modHacker:F16
- Lemonade
How to use studiobrn/modHacker with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull studiobrn/modHacker:F16
Run and chat with the model
lemonade run user.modHacker-F16
List all available models
lemonade list
- Hermes Agent
How to use studiobrn/modHacker with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf studiobrn/modHacker:F16
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default studiobrn/modHacker:F16
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use studiobrn/modHacker with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf studiobrn/modHacker:F16
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "studiobrn/modHacker:F16" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
File size: 12,546 Bytes
8ed5b77 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 | <!doctype html>
<html lang="tr">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<meta name="theme-color" content="#0f172a">
<title>modInteractive Admin</title>
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Crect width='64' height='64' rx='16' fill='%230f172a'/%3E%3Cpath d='M16 42V22l16 10 16-10v20' fill='none' stroke='%2322c55e' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E">
<link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}?v=20260627">
</head>
<body>
<div class="shell">
<aside class="sidebar">
<a class="brand" href="/">
<span class="brand-mark">m</span>
<span>
<strong>modInteractive</strong>
<small>Pi5 Kiosk Control</small>
</span>
</a>
<nav class="nav-tabs" aria-label="Admin tabs">
<button class="tab active" type="button" data-tab="config">
<span>⚙️</span> Ayarlar
</button>
<button class="tab" type="button" data-tab="status">
<span>📡</span> Durum
</button>
<button class="tab" type="button" data-tab="logs">
<span>🧾</span> Loglar
</button>
</nav>
<div class="sidebar-card">
<span class="pulse"></span>
<div>
<strong>PIR-first mode</strong>
<small>GPIO hareket algılayınca video başlar.</small>
</div>
</div>
</aside>
<main class="main">
<header class="hero">
<div>
<p class="eyebrow">Cafeler • Mağazalar • Kiosk ekranlar</p>
<h1>Motion Triggered HDMI Video Display</h1>
<p class="hero-text">PIR sensör veya kamera ile Raspberry Pi 5 üzerinde tam ekran video tetikleme paneli.</p>
</div>
<div class="hero-status">
<span id="hero-source">PIR</span>
<small id="hero-video">videos/selamlama.mp4</small>
</div>
</header>
<section id="config" class="tab-content active">
<div class="section-title">
<div>
<h2>Ayarlar</h2>
<p>PIR, kamera, video ve bekleme davranışlarını buradan yönet.</p>
</div>
<button type="button" class="btn ghost" id="reload-config">Yenile</button>
</div>
<form id="config-form" class="form-grid">
<article class="card wide">
<div class="card-head">
<span class="icon">🎛️</span>
<div>
<h3>Tetik Kaynağı</h3>
<p>Varsayılan kullanım PIR sensör, kamera opsiyonel.</p>
</div>
</div>
<label class="field">
<span>Source</span>
<select name="trigger.source" id="trigger-source">
<option value="pir">PIR GPIO sensor</option>
<option value="camera">Camera motion detection</option>
</select>
</label>
</article>
<article class="card">
<div class="card-head">
<span class="icon">📡</span>
<div>
<h3>PIR Sensor</h3>
<p>GPIO pin ve sinyal davranışı.</p>
</div>
</div>
<div class="fields two">
<label class="field">
<span>BCM GPIO Pin</span>
<input type="number" name="pir.gpio_pin" id="pir-gpio-pin" min="0" max="27" step="1" inputmode="numeric">
</label>
<label class="field">
<span>Bounce Time ms</span>
<input type="number" name="pir.bounce_time_ms" id="pir-bounce-time" min="0" max="5000" step="50" inputmode="numeric">
</label>
<label class="field">
<span>Warmup Seconds</span>
<input type="number" name="pir.settle_seconds" id="pir-settle-seconds" min="0" max="120" step="1" inputmode="numeric">
</label>
<label class="field">
<span>Poll Interval Seconds</span>
<input type="number" name="pir.poll_interval" id="pir-poll-interval" min="0.01" max="5" step="0.01" inputmode="decimal">
</label>
</div>
<div class="switch-row">
<label class="switch">
<input type="checkbox" name="pir.active_high" id="pir-active-high">
<span></span>
Active high
</label>
<label class="switch">
<input type="checkbox" name="pir.pull_up" id="pir-pull-up">
<span></span>
Internal pull-up
</label>
</div>
<div class="hint">
SR602 için genelde Active high açık, Internal pull-up kapalı kalır.
</div>
</article>
<article class="card">
<div class="card-head">
<span class="icon">🎬</span>
<div>
<h3>Video</h3>
<p>HDMI ekrana basılacak dosya.</p>
</div>
</div>
<label class="field">
<span>Video Path</span>
<input type="text" name="video.path" id="video-path" placeholder="videos/selamlama.mp4" autocomplete="off">
</label>
<div class="fields two">
<label class="field">
<span>Volume</span>
<input type="number" name="video.volume" id="video-volume" min="0" max="100" step="1" inputmode="numeric">
</label>
<label class="switch video-switch">
<input type="checkbox" name="video.fullscreen" id="video-fullscreen">
<span></span>
Fullscreen playback
</label>
</div>
<button type="button" class="btn secondary full" id="test-video">Test Video</button>
</article>
<article class="card">
<div class="card-head">
<span class="icon">🧠</span>
<div>
<h3>Algılama</h3>
<p>PIR için cooldown, kamera için hareket eşiği.</p>
</div>
</div>
<label class="field range-field">
<span>Motion Sensitivity <b id="motion-sensitivity-value">-</b></span>
<input type="range" name="detection.motion_sensitivity" id="motion-sensitivity" min="1" max="100000" step="1">
</label>
<div class="fields two">
<label class="field">
<span>Minimum Motion Area</span>
<input type="number" name="detection.min_motion_area" id="min-motion-area" min="1" max="100000" step="1" inputmode="numeric">
</label>
<label class="field">
<span>Cooldown Seconds</span>
<input type="number" name="detection.cooldown_seconds" id="cooldown-seconds" min="0" max="600" step="1" inputmode="numeric">
</label>
<label class="field">
<span>Frame Skip</span>
<input type="number" name="detection.frame_skip" id="frame-skip" min="1" max="30" step="1" inputmode="numeric">
</label>
</div>
</article>
<article class="card">
<div class="card-head">
<span class="icon">📷</span>
<div>
<h3>Kamera</h3>
<p>Kamera moduna geçersen kullanılır.</p>
</div>
</div>
<label class="field">
<span>Camera Device Index</span>
<input type="text" name="camera.index" id="camera-index" placeholder="0" autocomplete="off">
</label>
<div class="fields three">
<label class="field">
<span>Width</span>
<input type="number" name="camera.width" id="camera-width" min="160" max="3840" step="1" inputmode="numeric">
</label>
<label class="field">
<span>Height</span>
<input type="number" name="camera.height" id="camera-height" min="120" max="2160" step="1" inputmode="numeric">
</label>
<label class="field">
<span>FPS</span>
<input type="number" name="camera.fps" id="camera-fps" min="1" max="60" step="1" inputmode="numeric">
</label>
</div>
</article>
<div class="save-bar">
<div id="save-status" class="status-msg" role="status" aria-live="polite">Hazır</div>
<button type="submit" class="btn primary">Ayarları Kaydet</button>
</div>
</form>
</section>
<section id="status" class="tab-content">
<div class="section-title">
<div>
<h2>Sistem Durumu</h2>
<p>Kamera/PIR, video player, GPIO ve dosya durumu.</p>
</div>
<button type="button" class="btn ghost" id="refresh-status">Durumu Yenile</button>
</div>
<div id="status-content" class="status-grid">
<div class="status-card loading">Yükleniyor...</div>
</div>
</section>
<section id="logs" class="tab-content">
<div class="section-title">
<div>
<h2>Loglar</h2>
<p>Son uygulama hareketleri ve hatalar.</p>
</div>
<button type="button" class="btn ghost" id="refresh-logs">Logları Yenile</button>
</div>
<div id="log-container" class="log-panel">
<pre id="log-content">Loading logs...</pre>
</div>
</section>
</main>
</div>
<script src="{{ url_for('static', filename='app.js') }}?v=20260627"></script>
</body>
</html>
|