跳到正文
GitHub·· 8 天前AI 评分22

JeffreyJYZ/ai-client-oss:兼容 OpenAI 接口的开源桌面与网页客户端

JeffreyJYZ/ai-client-oss

AI 导读

JeffreyJYZ/ai-client-oss 是一个面向任意 OpenAI 兼容接口的开源客户端,同一套代码同时提供 Tauri 桌面应用和网页版,对话与 API key 默认只存本地且无分析追踪。

正文

Desktop and web client for OpenAI-compatible endpoints. Tauri shell, Vite + React frontend, data stored locally.

Chat

Highlights

  • Open source and copyleft: GPL-3.0-only, so a distributed derivative must ship its source.
  • Tauri, not Electron: the shell is Rust over the OS webview, with no bundled browser engine.
  • No bundled assets: system fonts and inline SVG icons, so nothing but code to download.
  • One codebase, two targets: the same app ships as a desktop binary and as a website.
  • Any OpenAI-compatible endpoint: no vendor lock-in.
  • Local by default: conversations and API keys stay on your machine, and the app has no analytics.

Download

Releases publishes macOS (universal), Windows and Linux builds. The web build runs at aiclient.jyz.land.

The macOS and Windows builds are unsigned. On macOS, clear the download quarantine flag after installing, or the app will not open:

xattr -dr com.apple.quarantine "/Applications/oss-ai-client.app"

On Windows, SmartScreen warns: pick More info → Run anyway.

Features

  • Providers: OpenAI (Responses or Chat Completions), OpenRouter, OpenCode Zen, OpenCode Go, Command Code, Ollama, LM Studio, or any OpenAI-compatible base URL.
  • Streaming, and a collapsible block for reasoning models' thinking.
  • Web search where the endpoint provides it (OpenAI's built-in tool, or OpenRouter's openrouter:web_search).
  • Per-conversation system prompts, and profiles bundling provider, model and prompt.
  • File and image attachments.
  • Export/Import moves settings and conversations between the desktop and web builds.

Settings

Development

Needs Bun and a Rust toolchain.

cd web
bun install
bun run dev        # web
bun run tauri dev  # desktop

Gates: bunx tsc -b --force, bunx biome check ., bunx effect-language-service diagnostics --project tsconfig.app.json.

License

GPL-3.0-only. The 0.1.x releases were published under MIT and remain MIT.

来源:GitHub · github.com