Skip to content

feat: a published episode goes live elsewhere (OTR_GOLIVE_CMD, 0.5.0) - #30

Merged
ralyodio merged 1 commit into
mainfrom
feat/golive-hook
Nov 11, 2026
Merged

ralyodio merged 1 commit into
mainfrom
feat/golive-hook

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Anthony 2026-11-11: "when we record we should auto stream to nixamp and backtoschool.help ... and pairux.com/@Moshcoding".

  • Show.publish calls config.onPublish on an episode's FIRST publish (autopublish or otr publish); a re-publish after an unpublish does not air it again.
  • OTR_GOLIVE_CMD (app.env) is run with the episode in OTR_EPISODE_N/TITLE/DESCRIPTION/URL/PAGE env vars, never spliced into the command text. On dev2 it calls the new golive CLI (github.com/profullstack/golive) as anthony.
  • The audio link it gets carries ?relay=golive, and the play counter skips such requests, so the rebroadcast's own fetches do not inflate the A/B plays.
  • README documents it. Version 0.5.0 (package.json and version.ts were out of step at 0.4.8/0.4.7).

bun test 59 pass (2 new), tsc --noEmit clean.

🤖 Generated with Claude Code

…(0.5.0)

Show.publish calls config.onPublish on an episode's first publish (not a
re-publish). server.ts wires OTR_GOLIVE_CMD to it, with the episode in
OTR_EPISODE_* env vars, so app.env can run the golive CLI and the episode
streams on nixamp, live.streaming, backtoschool.help and pairux.com/@Moshcoding.
The audio link carries ?relay=golive and the play counter skips it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

ThreatCrush Security Scan

1 finding(s) in the 6 file(s) this pull request changes.

HIGH: 1

Severity Rule Location
HIGH js-ssrf-outbound-request src/server.ts:382
3 pre-existing finding(s) elsewhere in the repository — **HIGH**: 1 | **MEDIUM**: 2

Not introduced by this pull request.

Severity Rule Location
HIGH secret-database-url bin/install.sh:239
MEDIUM sql-template-interpolation src/db.ts:146
MEDIUM sql-template-interpolation src/db.ts:152

Snippets are redacted; ThreatCrush never prints matched credential material.

@ralyodio
ralyodio merged commit 7fa3cad into main Nov 11, 2026
4 checks 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