Skip to content

Add a one-line install - #19

Merged
nigelgilbert merged 11 commits into
mainfrom
feature/one-line-install
Nov 21, 2026
Merged

nigelgilbert merged 11 commits into
mainfrom
feature/one-line-install

Conversation

@nigelgilbert

@nigelgilbert nigelgilbert commented Nov 20, 2026 •

Copy link
Copy Markdown
Owner

Kiku Flow now installs with one line, with no Swift, no uv and no Hugging Face login:

curl -fsSL https://raw.githubusercontent.com/nigelgilbert/KikuFlow/main/install.sh | sh

The line returns a 404 until the first release exists. See "Before the first release" below.

What changed

  • install.sh: installs or updates the app, the speech engine and the models, then opens the app.
  • Bundled uv: the app ships its own uv, so users don't need to install it. The zip is 14 MB.
  • Default cleanup model: now Utter, which needs no login. ReFyne is still an option.
  • Release workflow: a v* tag builds, signs and publishes KikuFlow.zip.
  • Test workflow: both test suites run on every PR and before each release.
  • Hooks folder: the installer creates a real hooks/ folder. A build from source still links to the one in the repo.
  • Docs: the README leads with the one-liner. The new docs/releasing.md explains how to set up signing.

Signing

The Accessibility grant is tied to the app's signature. Signed with the same self-signed certificate, every release has the requirement identifier "dev.kiku.flow" and certificate leaf = …, so the grant should survive updates and users need nothing in their keychain. The app is not notarized. It opens because curl doesn't quarantine its downloads, so a browser download of the same zip is blocked. A Developer ID is a follow-up.

Testing

  • Tested: the install script ran end to end against a local build, with no uv installed and under Rosetta. Signing with the certificate from docs/releasing.md produces a stable signature. All 117 tests pass locally and in CI.
  • Not tested: the release job hasn't run yet. Nobody has checked on a real Mac that the Accessibility grant survives an update.

Before the first release

  1. Create the certificate and set SIGNING_P12 and SIGNING_P12_PASSWORD, as in docs/releasing.md.
  2. Merge, then push a tag such as v0.2.0.

The second commit takes an unrelated lifecycle.py edit back out of the first, so the net diff doesn't touch that file.

install.sh downloads the latest release, installs the speech engine and the
models, and opens the app. The app bundle carries uv, releases are signed in CI
with a self-signed certificate, and the ungated Utter model is the default.
The installer removes a hooks link whose repo is gone, asks the chip instead of
the shell, and reads the config with an isolated Python. The release checks that
uv was bundled and runs both test suites first, through a workflow that also
runs on pull requests.
The model pre-download pipes the config straight into the loop, bundle.sh fails
without uv instead of warning, and the release keeps only the check that the
signature is not ad-hoc.
bundle.sh failed with a bare cp error when uv was missing. The installer's closing steps said Right Option even on an update with another hotkey set.
The check passed for any certificate, so a replaced secret would have shipped a release that costs every user their Accessibility grant.
Opening kiku.p12 fails when Keychain Access has Local Items selected. The README says how to update a build from source, and releasing.md mentions the pinned hash.
…mand

It makes the certificate, imports it into the login keychain and leaves no files, so builds from source keep their Accessibility grant.
…ates

The docs promised the hooks link even after an install, where bundle.sh leaves the real folder; it now says so when it does. The installer fills the cache the app reads, whatever the shell exports. releasing.md warns against two certificates of one name.
@nigelgilbert
nigelgilbert merged commit a53f60d into main Nov 21, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant