{"id":46476521,"url":"https://github.com/ericclemmons/aside","last_synced_at":"2026-04-02T12:51:59.534Z","repository":{"id":341108548,"uuid":"1168898339","full_name":"ericclemmons/aside","owner":"ericclemmons","description":null,"archived":false,"fork":false,"pushed_at":"2026-03-06T06:01:22.000Z","size":68729,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-06T09:50:22.458Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ericclemmons.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-02-27T23:23:07.000Z","updated_at":"2026-03-06T06:01:13.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/ericclemmons/aside","commit_stats":null,"previous_names":["ericclemmons/animated-tribble","ericclemmons/aside"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/ericclemmons/aside","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericclemmons%2Faside","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericclemmons%2Faside/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericclemmons%2Faside/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericclemmons%2Faside/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ericclemmons","download_url":"https://codeload.github.com/ericclemmons/aside/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ericclemmons%2Faside/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30281166,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-03-06T07:09:27.424Z","updated_at":"2026-04-02T12:51:59.521Z","avatar_url":"https://github.com/ericclemmons.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Aside\n\nA macOS menu bar app for voice-driven coding. Press a hotkey, speak, and dispatch prompts to [OpenCode](https://opencode.ai/) with full window context — selected text, URLs, everything.\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"assets/readme-screenshot.png\" alt=\"Aside repository screenshot\" width=\"900\" /\u003e\n\u003c/p\u003e\n\n## How it works\n\n1. **Tap Right Option** from anywhere in macOS\n2. **Speak** — transcribed locally via Apple Speech, WhisperKit, or Parakeet (all on-device)\n3. **Context is captured** — active window, browser URL, selected text\n4. **Tap again** — pick a session with arrow keys\n5. **Enter** — prompt + context dispatched to OpenCode CLI\n\nTwo modes:\n\n- **Hold to type** — hold Right Option, speak, release to type text into the active field\n- **Tap to dispatch** — tap to start, tap to stop, choose a session, send to OpenCode\n\n## Install\n\n```bash\nbrew install ericclemmons/tap/aside\n```\n\n## AI Agent Skill\n\nGive your AI coding agent the ability to dispatch prompts via the Aside CLI:\n\n```bash\nnpx skills add ericclemmons/aside\n```\n\nThis installs the `aside` skill into Claude Code, Cursor, Codex, OpenCode, and other supported agents. Use `-g` for global install.\n\n## Development\n\nRequires **macOS 14+** (Sonoma), **Xcode / Swift toolchain**, and [OpenCode CLI](https://opencode.ai/).\n\n```bash\nmake dev        # build, sign, and launch the app\nmake watch      # auto-rebuild + relaunch on file changes (requires `brew install entr`)\nmake test       # run all tests\nmake clean      # clean build artifacts\n```\n\nMust launch via `.app` bundle for TCC permissions (Accessibility, Microphone, Speech Recognition).\n\n### All make targets\n\n| Target | What it does |\n|--------|-------------|\n| `make build` | Debug build (`swift build`) |\n| `make dev` | Build + Developer ID codesign + lsregister + launch |\n| `make watch` | File watcher — rebuilds and relaunches on save |\n| `make test` | Run all tests |\n| `make test-one TEST=...` | Run a single test (e.g. `TEST=AsideCoreTests/ReducerTests/testIdleKeyDown`) |\n| `make clean` | `swift package clean` |\n| `make build-release` | Optimized release build |\n| `make release` | Release build + bundle + optional codesign |\n\n## Publishing\n\nReleases are fully automated via GitHub Actions:\n\n1. **Push to `main`** — [prepare-release](.github/workflows/prepare-release.yml) auto-bumps the patch version and creates a `vX.Y.Z` tag\n2. **Tag push** — [release](.github/workflows/release.yml) builds, codesigns with Developer ID, notarizes with Apple, creates a GitHub Release, and updates the [Homebrew tap](https://github.com/ericclemmons/homebrew-tap)\n\nNo manual steps needed. Just push to main.\n\n## Architecture\n\nNative SwiftUI macOS app — menu bar only (no dock icon, `.accessory` activation policy).\n\n### State machine\n\nThe app uses a unidirectional architecture: `AppStore` (ObservableObject) + pure `reduce()` function + `EffectExecutor` for side effects.\n\n```\nidle → recording → persistent → finishing(dispatch) → dispatching → idle\n                 → finishing(holdToType) → idle\n```\n\n### Key files\n\n```\nAside/Sources/\n├── Aside/\n│   ├── AsideApp.swift                  — AppDelegate, store wiring, menu bar\n│   ├── HotkeyManager.swift             — CGEvent tap for Right Option key\n│   ├── RecordingOverlayWindow.swift     — NSPanel overlay (waveform + picker)\n│   ├── SpeechTranscriber.swift          — Apple SFSpeechRecognizer\n│   ├── WhisperTranscriber.swift         — WhisperKit (on-device Whisper)\n│   ├── ParakeetTranscriber.swift        — Parakeet (NVIDIA, on-device)\n│   ├── ContextCapture.swift             — AppleScript: app, URL, selected text\n│   ├── CLIDispatcher.swift              — Shell dispatch to opencode CLI\n│   ├── Effects/EffectExecutor.swift     — Maps Effects to service calls\n│   ├── Services/                        — TranscriptionService, PermissionService, etc.\n│   └── Views/                           — SettingsView, SetupView, onboarding\n└── AsideCore/\n    └── StateMachine/                    — AppPhase, AppEvent, Effect, reduce()\n```\n\n## Prior Art \u0026 Inspiration\n\n- **[Superwhisper](https://superwhisper.com/)** — the gold standard for voice-to-text on macOS. Aside's hold-to-type UX and floating overlay are directly inspired by Superwhisper.\n- **[Kaze](https://github.com/nicklama/kaze)** — minimal macOS hotkey utility. Influenced the CGEvent tap approach for Right Option.\n- **[WhisperKit](https://github.com/argmaxinc/WhisperKit)** — on-device Whisper inference for Swift/CoreML.\n- **[OpenCode](https://opencode.ai/)** — the CLI coding assistant that Aside dispatches to.\n\n## License\n\nApache 2.0 — see [LICENSE](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericclemmons%2Faside","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fericclemmons%2Faside","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fericclemmons%2Faside/lists"}