Skip to content

StaffKit

Private. The staff side of AudienceKit, for every platform, and the staff apps built on it. Everything here builds on the public AudienceKit SDK, the audience-kit-sdk submodule: clone with git clone --recurse-submodules, or run git submodule update --init after cloning.

Directory What it is
swift/ StaffKitCore, StaffKit, StaffKitUI, ArbiterUI, SoapboxUI. The manifest is Package.swift at the root.
core/ StaffCore, Kotlin Multiplatform (to come: generated from the staff schema)
android/ StaffKit for Android, com.audiencekit:staffkit. The Gradle build is the repository root and includes audience-kit-sdk
apps/ Focus, Velvet and Backstage for iOS (apps/Staff.xcodeproj, and a project per app), the staff apps for Android (apps/staff_android) and the Velvet signage app for Android TV (apps/signage/android, its own Gradle build)
apps/soapbox/ Soapbox for iPhone and iPad: a publication’s newsroom (articles, op-eds, publishing and locale pushes) and the audience’s review queue and trust (apps/soapbox/Soapbox.xcodeproj)
apps/arbiter/ Arbiter for iPad and Mac, one SwiftUI app: decides what the AI couldn’t, and lists what it decided (apps/arbiter/Arbiter.xcodeproj)
graphql/ The API’s staff GraphQL schema the documents are checked against
audience-kit-sdk/ The public SDK, pinned. Bump it after an SDK release: git -C audience-kit-sdk pull origin main, then commit the pin.
scripts/build-binaries.sh Builds the Swift libraries as binary XCFrameworks and publishes them to the private lwm-luminx/staff-kit-binaries package, for apps outside this repository (docs/BINARY_PACKAGE.md)
ci_scripts/ Xcode Cloud’s post-clone script (apps/ci_scripts links to it, beside Staff.xcodeproj)
Terminal window
swift build && swift test # StaffKit for Swift (Linux or macOS)
./gradlew build # StaffKit for Android
npm install && node apps/focus/Tests/validate-schema.mjs && node apps/staff_android/tests/validate-schema.mjs

The apps were moved here from the AudienceKit monorepo (lwm-luminx/audience-kit) as a snapshot; their earlier history is there.

Source-available, not open source: AudienceKit SDK License 1.2, © Love Wins Media, Inc., the same license as the AudienceKit SDK. StaffKit may be used only in apps that connect to AudienceKit as hosted by Love Wins Media; every other use is prohibited without Love Wins Media’s signed written permission and an audience ID or token issued for that use. No other license of any kind is granted. Misrepresenting StaffKit or Love Wins Media’s work (authorship, origin, notices, endorsement) is expressly prohibited and a breach of the license. Changed versions may be made only in a GitHub fork of this repository, after written notice to Love Wins Media: open an issue titled “Derived work notice” here, naming yourself and the fork.