Skip to content

feat(fork): disable Cat Gatekeeper by default and cut the auto-updater cord#93

Closed
gappc wants to merge 1 commit into
ygncode:mainfrom
gappc:fork/disable-cat-and-updates
Closed

feat(fork): disable Cat Gatekeeper by default and cut the auto-updater cord#93
gappc wants to merge 1 commit into
ygncode:mainfrom
gappc:fork/disable-cat-and-updates

Conversation

@gappc

@gappc gappc commented Jun 29, 2026

Copy link
Copy Markdown

No description provided.

… cord

Fork of pi-web for self-hosting without third-party auto-updates.

Cat Gatekeeper:
- Default to disabled (web cat-settings.js CAT_DEFAULTS.enabled + server-side
  internal/server/settings.go default); tests adjusted for default-off.

Auto-update:
- updater.NewDisabled(): no background poll, no manual/remote checks, no
  outbound calls to npm/GitHub.
- app.go uses it, drops the poll goroutine, and passes RunInstall: nil so
  /api/update returns 503.
- Removed the in-app installer (internal/app/update.go) and its test; the
  in-app "update" button can no longer pull/replace the binary.
- Neutered the package.json postinstall hook (no auto-download on install).

Fork housekeeping:
- repository.url and the (now-inert) updater endpoints repointed to gappc.
- mise.toml pins go 1.25.5 + node 20 (Node 23+ ships a global localStorage
  that breaks the jsdom component tests).

Verified: make build, go vet, go test ./..., and the cat/updater vitest
suites pass under Node 20.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016XKac7MvCrhs197fwdpdfC
@gappc gappc closed this Jun 29, 2026
@gappc gappc deleted the fork/disable-cat-and-updates branch June 29, 2026 00:11
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