Skip to content

Wenlong-Guo/omp-switch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

65 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

OMP Switch logo

OMP Switch

A desktop configuration manager for oh-my-pi / omp AI providers.

English ยท ไธญๆ–‡

Version: V1.0.2 ยท Platforms: Windows / macOS / Linux

What is it?

OMP Switch is a desktop app for managing omp / oh-my-pi provider and model configuration without editing YAML by hand.

It helps you add providers, choose preset model configs, manage model roles, sync settings across devices, and automatically write the files used by omp.

Download and install

Download the latest installer from GitHub Releases.

  • Windows: download the .msi installer.
  • macOS: download the .dmg package.
  • Linux: download the .AppImage package.

No Node.js, Rust, or Tauri dependencies are required for normal use. They are only needed for development.

Screenshots

Provider dashboard

Provider presets

Model roles

Settings

Main features

  • Provider management: add, edit, delete, enable, duplicate, and test AI providers.
  • Provider presets: quickly start from common providers such as OpenAI, Anthropic, DeepSeek, Kimi, StepFun, Qwen, MiniMax, SiliconFlow, and more.
  • Model configuration: edit model ID, API type, reasoning support, input types, costs, context window, max tokens, custom headers, and compatibility options.
  • Model roles: assign default models for default, smol, slow, plan, and commit roles.
  • Automatic file sync: keeps SQLite as the source of truth and writes models.yml / settings.json for omp.
  • WebDAV sync: sync configuration between devices via services such as Jianguoyun or Nextcloud.
  • API key encryption: stores sensitive keys with AES-256-GCM encryption.
  • Offline first: local configuration stays available even when WebDAV sync fails.

Where are configs written?

OMP Switch manages local app data and exports provider/model files for omp, including:

  • ~/.omp/agent/models.yml
  • ~/.omp/agent/settings.json

You can still inspect or edit generated files manually when needed.

Development

Development requires:

git clone https://github.com/Wenlong-Guo/omp-switch.git
cd omp-switch
npm install
npm run tauri dev

Build

npm run tauri build

Tests

npm run test
npm run test:pipeline
npm run test:e2e

Architecture

omp-switch/
โ”œโ”€โ”€ src/                       # React frontend (Vite)
โ”œโ”€โ”€ src-tauri/                 # Rust backend (Tauri 2)
โ”œโ”€โ”€ e2e-playwright-test/       # Playwright E2E tests
โ”œโ”€โ”€ docs/                      # Project docs and screenshots
โ””โ”€โ”€ scripts/                   # Build and release scripts

License

MIT

About

๐ŸŒ One-command plugin to switch AI models & persona configs in oh-my-pi, as easy and intuitive as cc-switch. ๐Ÿ‡จ๐Ÿ‡ณ ไธ€้”ฎๅˆ‡ๆข oh-my-pi ็š„ AI ๆจกๅž‹ไธŽ่ง’่‰ฒ้…็ฝฎ๏ผŒๅƒ cc-switch ไธ€ๆ ท็ฎ€ๅ•้กบๆ‰‹ใ€‚

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors