跳到正文
DEV Community· Ajeej·· 1 小時前AI 評分54

VPServ 為免 root Android 提供本機 GGUF 模型推理與全端開發環境

Running Local GGUF AI Models & Full-Stack Dev Servers on Unrooted Android

AI 導讀

VPServ 將免 root 的 Android 8.0+ arm64-v8a 裝置變成本機 AI 推理與全端開發環境。它透過 llama.cpp 離線執行 Q4_K_M GGUF 模型,並支援安裝 Python、Node.js、PostgreSQL 等執行環境與資料庫。

正文

Cover image for Running Local GGUF AI Models & Full-Stack Dev Servers on Unrooted Android

Ajeej

Most mobile development workflows force a compromise: either spend hours manually configuring packages in a terminal every time you reset an environment, or pay for an external cloud VPS just to test a small API or run a quantized LLM.

I built VPServ to turn any unrooted Android device (Android 8.0+, arm64-v8a) into a repeatable, self-contained development workspace and offline local AI runner.

What VPServ Runs Locally on Android

VPServ pairs a visual project and service manager with a built-in Linux-style CLI (pkg / vpkg) inside a private app runtime—no root required:

  • On-Device Local AI (llama.cpp): Download ARM64-optimized Q4_K_M GGUF models (such as Qwen 2.5 and SmolLM2) or import your own .gguf files to run offline inference through a native chat Playground or a localhost Web UI (http://127.0.0.1:8080).
  • Full-Stack Runtimes & Databases: Install and run Python, Node.js, PHP, Go, OpenJDK 21, Clang/C++, PostgreSQL, MariaDB, Redis, Nginx, and Caddy directly on your phone or tablet.
  • Desktop Web Console Server: Edit project files and configuration recipes comfortably from a desktop browser over your local network, then trigger execution from the Android UI.
  • One-Tap Public HTTPS Tunnels: Expose local web services, backend APIs, or your on-device AI Web UI over HTTPS using built-in Cloudflare Tunnel (cloudflared) support.

Declarative Project Stacks with Abotlogixfile.json

Instead of typing multi-step startup commands on a phone keyboard, VPServ projects use a declarative Abotlogixfile.json recipe. A project author (or you, from the desktop Web Console) defines the required services, ports, initialization steps, and commands once.

On the Android app, tapping Run Environment reads the recipe, spins up the configured services in order, and exposes verified local (127.0.0.1) and LAN endpoints with live log inspection.

You can check out the supported fields and multi-service recipes (such as MariaDB + PHP initialization workflows) in the documentation:

Try It Out

VPServ is free on Google Play, and documentation is available on the project site:

If you test it on your device, let me know which models or backend stacks you'd like to see supported next!

來源:DEV Community · dev.to