Stream's Apple apps and web app share this repository.
| Directory | Contents |
|---|---|
apple/ |
iOS and macOS apps, shared Swift code, tests, XcodeGen project, and HaishinKit submodule |
workers/web/ |
blau-stream, a Next.js app deployed to Cloudflare Workers with OpenNext |
git submodule update --init --recursive
cd apple
xcodegen generate
open Stream.xcodeprojStream ships as two apps, both named Stream for users. From the repository
root, bun studio builds the desktop app (Xcode scheme Studio), installs it at
/Applications/Stream.app, and launches the installed copy,
and bun field builds, installs, and launches the iPhone field camera (Xcode
scheme Field) on a paired iPhone. See
Apple app documentation for requirements and configuration.
Use Node.js 24 and npm:
cd workers/web
npm ci
npm run devThe app runs at http://localhost:3000. Run npm run preview to build and test it
in the local Cloudflare Workers runtime.
Set these GitHub repository Actions secrets:
CLOUDFLARE_ACCOUNT_ID(an Actions variable with the same name also works).CLOUDFLARE_API_TOKENwith permission to deploy Workers to that account.
The web workflow checks pull requests and
deploys blau-stream when web files change on main. It can also be run manually
on main. Apple CI runs from apple/.