用自己的 PC 打造 iPad AI 聊天中心:hitchhikers-guide 開源 App
DON'T PANIC: Build an iPad AI Chat Hub with Your Own PC
Rabbid Raccoon 開發並開源 hitchhikers-guide,讓 iPad 主畫面 App 連接由自有 PC 驅動的多種 AI 聊天角色。雲端 AI 經 LiteLLM 路由,本地模型則透過 Ollama 按需啟動;對話儲存在 PC,並可在 iPad 和手機之間同步。伺服器只回應 Tailscale 網絡,並要求使用隨機金鑰。
DON'T PANIC – An iPad AI Companion
Rabbid just pushed hitchhikers‑guide, an open‑source iPad home‑screen app that lets you chat with a roster of AI personalities—all powered by the PC you already own. No cloud fees, no data leaks; the iPad is just a pretty window.
| Character | Brain |
|---|---|
| Deep Thought | Claude (claude -p) – one persistent convo |
| Eddie | Free cloud AI – casual chat |
| Trillian | Free cloud AI – deeper thoughts |
| Slartibartfast | Free cloud AI – Linux, code, how‑to |
| Marvin | Local Ollama model on your GPU – offline |
| Ford Prefect | Small local Ollama model – quick offline |
The cloud AIs route through a LiteLLM "brain switch" (see the crew repo). Local models call Ollama directly, launching on demand. All chats are saved on the PC, syncing across your iPad and phone.
Private by design – a single stdlib Python file serves on port 4200, only answering your Tailscale network (100.64.0.0/10) and requiring a random key. Open http://<your‑tailscale‑ip>:4200/?key=<key> once, then add to Home Screen. Optimized for an 11" iPad (1180×820) but works on phones too.
MIT licensed, built by Rabbid Raccoon with Claude. Grab it, tweak it, share it.
Find more of my tinkering at my homepage: https://2db2du-byte.github.io
來源:DEV Community · dev.to