SuperCmd

SuperCmdLabsMIT更新放缓

一款 macOS 启动器,用键盘快速唤起应用、搜索文件和剪贴板历史,替代 Spotlight 和 Raycast 的轻量选择。

Powerful MacOS Launcher

1.0.26发布于 2026-06-20 18:08 UTC3,230star +3 / 7 天156fork同步于 2026-11-10 11:41 UTC

怎么上手

由 README 提炼,执行前请确认
brew install --cask supercmdlabs/supercmd/supercmd
硬件要求按 README 说明

仅支持 macOS,需按芯片选择 Apple Silicon(arm64)或 Intel 的 dmg 安装包;README 未提及显存或 GPU 要求。

支持 Apple Silicon
下载:源码 zip·GitHub Releases(安装包)本站不镜像安装包

项目说明

由 README 自动翻译提炼

macOS 开源启动器,兼容 Raycast 扩展并集成语音听写、朗读与 AI 动作

一款 macOS 启动器,用键盘快速唤起应用、搜索文件和剪贴板历史,替代 Spotlight 和 Raycast 的轻量选择。

核心能力

  • 提供 @raycast/api 与 @raycast/utils 兼容层,可直接安装 Raycast 商店扩展
  • 支持导入加密的 .rayconfig 备份,恢复设置、热键、扩展与片段
  • 按住热键说话,松开即转写输入,支持 Whisper、Parakeet 与系统 STT
  • 用 Swift 原生模块实现窗口平铺、片段展开、剪贴板快速粘贴
  • 接入 OpenAI、Anthropic、Ollama、Gemini 等可配置 AI 提供商

容易踩的坑

首次启动会被 macOS 拦截,需到系统设置→隐私与安全性点「仍要打开」;热键失效通常是因为只给了辅助功能权限而没给输入监控权限,授权后需重启应用;从源码开发时 npm run dev 不会编译 Swift 原生模块,需先执行 npm run build:native,且依赖 Node.js 22+ 与 Xcode 命令行工具。

内容由模型根据 README 生成,可能不完整或不准确,以官方文档为准。看原文 README

最近发版

5 个版本1.0.26
  1. 1.0.26最新正式版2026-06-20 · 2026-06-20 18:08 UTC

    What's Changed

    New Contributors

    Full Changelog: https://github.com/SuperCmdLabs/SuperCmd/compare/1.0.25...1.0.26

  2. 1.0.252026-06-05 · 2026-06-05 23:42 UTC
    查看更新说明

    What's Changed

    New Contributors

    Full Changelog: https://github.com/SuperCmdLabs/SuperCmd/compare/1.0.24...1.0.25

  3. 1.0.242026-05-17 · 2026-05-17 13:43 UTC
    查看更新说明

    What's Changed

    New Contributors

    Full Changelog: https://github.com/SuperCmdLabs/SuperCmd/compare/1.0.23...1.0.24

  4. 1.0.232026-05-14 · 2026-05-14 00:35 UTC
    查看更新说明

    What's Changed

    New Contributors

    Full Changelog: https://github.com/SuperCmdLabs/SuperCmd/compare/1.0.22...1.0.23

  5. 1.0.222026-05-07 · 2026-05-07 00:03 UTC
    查看更新说明

    What's Changed

    Full Changelog: https://github.com/SuperCmdLabs/SuperCmd/compare/1.0.21...1.0.22

用户点评

登录用户的真实使用记录,可按版本和硬件筛选
共 0 条

    还没有人点评。第一个说出真实体验的人最有价值。

    README 原文

    未翻译

    SuperCmd Screenshot

    Open-source launcher for macOS: Raycast + Wispr Flow + Speechify + Memory + AI in one app.

    SuperCmd gives you Raycast-style extension workflows, hold-to-speak dictation, natural text-to-speech, AI actions backed by configurable providers and memory, notes, canvas, clipboard history, snippet expansion, and window tiling — all from a single keyboard shortcut.

    What It Is

    SuperCmd is an Electron + React launcher that focuses on Raycast extension compatibility while remaining community-driven and open source. It ships a full @raycast/api and @raycast/utils compatibility shim so existing Raycast extensions work without modification. For anything that requires tight system integration — hotkeys, window management, speech recognition, clipboard, snippet injection — it drops into Swift and Objective-C to talk directly to macOS frameworks (ApplicationServices, EventKit, AVFoundation, Carbon) for native speed and reliability.

    Key Features

    • Raycast extension compatibility — @raycast/api and @raycast/utils shims; install extensions directly from the Raycast store
    • Raycast backup import — import encrypted .rayconfig backups with settings, hotkeys, extensions, scripts, quicklinks, snippets, notes, and extension prefs
    • AI cursor prompt — inline AI suggestions at your cursor position across any app
    • AI chat — chat with configurable providers (OpenAI / Anthropic / Ollama / Gemini / OpenAI-compatible)
    • Hold-to-speak dictation — Wispr Flow-style voice input; hold hotkey, speak, release to type (Whisper, Parakeet, or native macOS STT)
    • Read aloud — Speechify-style TTS for selected text (Edge TTS or ElevenLabs)
    • Clipboard history — full clipboard manager with Cmd+1–9 quick-paste shortcuts
    • Snippet expansion — create and trigger text snippets with keyboard shortcuts
    • Quick links — bookmark URLs and launch them from the launcher
    • Notes — lightweight in-launcher note-taking
    • Canvas — freeform drawing and diagramming
    • File search — fast indexed file search with protected-roots support
    • Calendar/schedule — view today's events from EventKit
    • Window tiling — 24 window placement commands (halves, thirds, quarters, center, fill, 10px nudge/resize)
    • Hyper key — remap Caps Lock to a custom modifier with configurable behavior
    • System commands — Sleep, Restart, Lock Screen, Log Out, Close All Apps, Empty Trash
    • Script command support — run custom shell/Python/Ruby scripts from the launcher
    • Auto-updates — built-in updater via GitHub Releases; check manually or install on next launch
    • Memory-aware AI — Supermemory integration
    • Glassy UI — liquid-glass morphism with custom background image, blur, and opacity controls
    • Localization — English, Chinese (Simplified/Traditional), Japanese, Korean, French, German, Spanish, Russian

    Tech Stack

    • Electron 40 (main process)
    • React 18 + Vite 5 (renderer)
    • TypeScript 5.3
    • Tailwind CSS 3
    • Swift binaries for macOS-native integrations (11 Swift helpers + fast-paste native module)

    Project Structure

    src/main/        Electron main process, IPC, extension execution, AI, settings
    src/renderer/    React UI + Raycast compatibility layer + built-in feature views
    src/native/      Swift native helpers (11 binaries)
    extensions/      Installed/managed extension data
    dist/            Build output
    

    Key source files

    PathPurpose
    src/main/main.tsEntry point — IPC handlers, window management, global shortcuts
    src/main/preload.tscontextBridge — exposes window.electron API to renderer
    src/main/commands.tsApp/extension/script discovery; getAvailableCommands() with cache
    src/main/extension-runner.tsExtension execution engine (esbuild bundle + require shim)
    src/main/extension-registry.tsExtension catalog, install, uninstall, update
    src/main/ai-provider.tsAI streaming (OpenAI / Anthropic / Ollama / Gemini) via Node http/https
    src/main/settings-store.tsJSON settings persistence (AppSettings, cached in memory)
    src/renderer/src/App.tsxRoot component — wires hooks and routes to views
    src/renderer/src/raycast-api/@raycast/api + @raycast/utils compatibility runtime
    src/renderer/src/hooks/Feature hooks — state and logic, no JSX
    src/renderer/src/views/Full-screen view components — pure UI

    Native Swift helpers

    BinaryPurpose
    calendar-eventsEventKit calendar integration
    color-pickerSystem color picker
    get-selected-textExtract selected text from frontmost app
    hotkey-hold-monitorHold-to-speak hotkey detection
    hyper-key-monitorCaps Lock → Hyper Key remapping
    input-monitoring-requestRequest Input Monitoring permission
    microphone-accessMicrophone permission checks
    snippet-expanderKeyboard-triggered snippet expansion
    speech-recognizermacOS native speech recognition (STT)
    whisper-transcriberOpenAI Whisper STT integration
    window-adjustWindow tiling and resizing (ApplicationServices)
    fast-paste-addon/Node.js native module for fast clipboard paste (Cmd+1–9)
    parakeet-transcriber/Swift package — on-device STT via swift-transformers

    Install

    Homebrew

    brew install --cask supercmdlabs/supercmd/supercmd
    

    Download the app

    Download the latest .dmg from the Releases page:

    • Apple Silicon (M1/M2/M3/M4): SuperCmd-x.x.x-arm64.dmg
    • Intel Mac: SuperCmd-x.x.x.dmg

    Open the .dmg, drag SuperCmd to your Applications folder, and launch it.

    Note: On first launch, macOS may warn that the app is from an unidentified developer. Go to System Settings → Privacy & Security and click "Open Anyway".

    macOS Permissions

    SuperCmd needs the following permissions. The app will prompt you on first use, or you can enable them manually in System Settings → Privacy & Security:

    PermissionWhyRequired for
    AccessibilityWindow management, keystroke injectionWindow tiling, snippet expansion
    Input MonitoringGlobal hotkey detection (hold-to-speak, launcher shortcut, hyper key)Core launcher functionality
    MicrophoneVoice dictation (speech-to-text)Optional — only if using voice features
    Automation (AppleScript)Selected text capture, system automationExtension actions
    CalendarsReading today's eventsOptional — only if using schedule feature

    You may need to restart the app after granting permissions.

    Auto-updates

    SuperCmd includes a built-in auto-updater backed by GitHub Releases. You can check for updates manually by searching "Check for Updates" in the launcher, or install a downloaded update on next launch.

    Raycast Backup Import

    SuperCmd can import encrypted Raycast .rayconfig backups from the General settings tab.

    It currently imports:

    • Raycast settings that map cleanly to SuperCmd
    • the global launcher hotkey
    • command hotkeys
    • quicklinks
    • snippets
    • notes
    • installed Raycast extensions
    • extension preferences
    • script command folders
    • disabled script commands
    • disabled extension commands

    It intentionally skips or only partially maps:

    • AI chats
    • clipboard history
    • MCP server config
    • Raycast aliases, where the backup does not expose a clean first-class field

    The importer decrypts backups locally and prompts for the backup password before reading the file.


    Development Setup

    Prerequisites

    • macOS (required — native Swift modules won't compile on Linux/Windows)
    • Node.js 22+ — check with node -v
    • npm — comes with Node.js
    • Xcode Command Line Tools — required for swiftc (Swift compiler)
    • Homebrew — used at runtime to resolve git and npm for extension installation

    1. Install system dependencies

    If you don't have Xcode Command Line Tools:

    xcode-select --install
    

    Verify Swift is available:

    swiftc --version
    

    If you don't have Homebrew:

    /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
    

    2. Clone and install

    git clone https://github.com/SuperCmdLabs/SuperCmd.git
    cd SuperCmd
    npm install
    

    3. Build native modules

    The dev script does not compile the Swift native helpers — build them once before your first run:

    npm run build:native
    

    This compiles all Swift binaries and native Node modules into dist/native/.

    4. Run in development mode

    npm run dev
    

    This starts TypeScript watch for the main process, the Vite dev server for the renderer, and Electron in development mode.

    5. Build for production

    npm run build
    

    Runs build:main + build:renderer + build:native in sequence.

    6. Package the app

    npm run package
    

    Output artifacts are generated under out/.

    Useful Commands

    npm run dev              # Start local development (watch + Vite + Electron)
    npm run build            # Build main, renderer, and native modules
    npm run build:main       # Compile Electron main process TypeScript
    npm run build:renderer   # Build renderer with Vite
    npm run build:native     # Compile Swift helpers and native modules
    npm run package          # Build and package app with electron-builder
    npm run package:unsigned # Build unsigned package for local testing
    npm run check:i18n       # Check internationalization strings
    

    Troubleshooting

    ProblemSolution
    swiftc: command not foundRun xcode-select --install and restart your terminal
    npm install fails on native modulesEnsure Xcode CLT is installed and up to date: softwareupdate --install -a
    App launches but hotkeys don't workGrant Input Monitoring permission (not just Accessibility) and restart the app
    Window management doesn't workGrant Accessibility permission — window-adjust.swift checks AXIsProcessTrusted()
    Extensions fail to installVerify Homebrew is installed (brew --version) — SuperCmd needs brew-resolved git to clone extensions
    node-gyp build errorsCheck Node.js version (node -v) — requires 22+. Try deleting node_modules and re-running npm install
    Apple Silicon (M1/M2/M3) issuesEnsure you're running the arm64 version of Node.js, not the x64 version via Rosetta
    Native features missing after npm run devRun npm run build:native first — the dev script doesn't compile Swift binaries
    Snippet expansion not workingGrant Accessibility permission; snippet-expander uses CGEventPost for keystroke injection
    Whisper/Parakeet STT not workingGrant Microphone permission in System Settings → Privacy & Security

    AI + Memory Setup

    Configure everything from the app UI:

    1. Launch SuperCmd.
    2. Open Settings (search "Settings" or use the gear icon).
    3. Go to the AI tab.
    4. Enable AI (enabled = true).
    5. Pick your default provider and add the required key(s).

    Providers

    ProviderSettingNotes
    OpenAIopenaiApiKeyGPT-4o, GPT-4o-mini, etc.
    Anthropic (Claude)anthropicApiKeyClaude 3.5 Sonnet, Haiku, etc.
    Google GeminigeminiApiKeyGemini 1.5 Pro, Flash, etc.
    OllamaollamaBaseUrlDefault http://localhost:11434 — local models
    OpenAI-compatibleopenaiCompatibleBaseUrl + openaiCompatibleApiKeyAny OpenAI-compatible endpoint

    Speech / voice keys

    FeatureSetting
    ElevenLabs TTSelevenlabsApiKey
    Edge TTS (built-in)No key required
    Native macOS STTNo key required
    Whisper STTRuns locally — no key required
    Parakeet STTRuns locally via swift-transformers — no key required

    Memory keys

    SettingPurpose
    supermemoryApiKeySupermemory API key
    supermemoryClientSupermemory client ID
    supermemoryBaseUrlBase URL (default: https://api.supermemory.ai)
    supermemoryLocalModeUse local Supermemory instance

    Where settings are stored

    All app settings are persisted in:

    ~/Library/Application Support/SuperCmd/settings.json

    Key fields:

    {
      "globalShortcut": "Alt+Space",
      "openAtLogin": false,
      "uiStyle": "glassy",
      "fontSize": "medium",
      "appLanguage": "system",
      "ai": {
        "enabled": true,
        "provider": "openai",
        "openaiApiKey": "",
        "anthropicApiKey": "",
        "geminiApiKey": "",
        "ollamaBaseUrl": "http://localhost:11434",
        "elevenlabsApiKey": "",
        "supermemoryApiKey": "",
        "supermemoryBaseUrl": "https://api.supermemory.ai",
        "defaultModel": "openai-gpt-4o-mini",
        "speechToTextModel": "native",
        "textToSpeechModel": "edge-tts"
      }
    }
    

    OAuth tokens are stored separately in ~/Library/Application Support/SuperCmd/oauth-tokens.json.

    Optional environment variable fallbacks

    • ELEVENLABS_API_KEY
    • SUPERMEMORY_API_KEY
    • SUPERMEMORY_CLIENT
    • SUPERMEMORY_BASE_URL
    • SUPERMEMORY_LOCAL

    Privacy & Security

    SuperCmd is open-source, so you can audit exactly what it does. The short version:

    • Telemetry: one anonymous app_started event via Aptabase.
    • AI prompts: sent directly from your device to your configured provider (OpenAI / Anthropic / Gemini / Ollama).
    • Extension install/uninstall: reports extension name + an anonymous random machine ID to api.supercmd.sh for download counts.
    • Voice data: STT runs fully on-device (Whisper, Parakeet, native macOS) — audio never leaves your machine.

    See SECURITY.md for the full breakdown.

    Contributing

    We welcome contributions! See CONTRIBUTING.md for detailed guidelines on development setup, code architecture, PR conventions, and more.

    Quick version:

    1. Fork the repo and create a feature branch.
    2. Make your changes, keeping Raycast extension compatibility in mind.
    3. Run npm run build to verify.
    4. Open a PR with a clear description of what, why, and how you tested.

    References

    Contributors

    Thanks to everyone who has contributed to SuperCmd!

    GitHub Star History

    Star History Chart