Build from source
git clone https://github.com/mekedron/ClipSlop.git
cd ClipSlop
swift build
Or open Package.swift in Xcode and Run.
Requirements
- macOS 14.0+
- Xcode with Swift 6.0+
Project layout
Sources/
├── App/ SwiftUI entry point and menu-bar wiring
├── Models/ Domain types (prompts, providers, transformations)
├── Services/ Provider clients, OAuth, OCR, keyboard hooks
├── Views/ UI surfaces — main panel, settings, prompt picker
├── Utilities/ Cross-cutting helpers
└── Resources/ Assets, localisable strings
Tests/ XCTest suite mirroring Sources/ structure
Running the test suite
swift test
Release builds
The macOS release pipeline (.github/workflows/release.yml) is fully automated:
- Triggered by pushing a
v*.*.*tag. - Builds a universal binary (arm64 + x86_64).
- Codesigns and notarises (if secrets are configured).
- Produces a DMG and updates
appcast.xmlfor in-app Sparkle updates. - Updates the Homebrew cask.
To cut a release locally, see Scripts/.
Contributing
Open an issue or PR on github.com/mekedron/ClipSlop. The codebase is small enough that a tour of Sources/ and Tests/ is the fastest way in.