feat: Add Shosho as external client for Live Events (#770)

* feat: Add Shosho as an external client for Live Events

Adds 'Shosho' to the list of external clients for kind 30311 (Live Event) events.

The link format is `https://shosho.live/live/<event_bech32>`.

* refactor: Reorder clients for Live Events

Based on feedback, this commit reorders the external clients for Live Events to place 'shosho' after 'zap.stream'.

---------

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
This commit is contained in:
rodbishop 2026-04-07 13:58:24 +10:00 committed by GitHub
parent 2efc884e01
commit e740d199f1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -65,6 +65,10 @@ const clients: Record<string, { name: string; getUrl: (id: string) => string }>
name: 'Pareto',
getUrl: (id: string) => `https://pareto.space/a/${id}`
},
shosho: {
name: 'Shosho',
getUrl: (id: string) => `https://shosho.live/live/${id}`
},
njump: {
name: 'Njump',
getUrl: (id: string) => `https://njump.me/${id}`
@ -107,7 +111,7 @@ export default function ClientSelect({
case kinds.DraftLong:
return ['yakihonne', 'coracle', 'habla', 'lumilumi', 'pareto', 'njump']
case kinds.LiveEvent:
return ['zapStream', 'nostrudel', 'njump']
return ['zapStream', 'shosho', 'nostrudel', 'njump']
case kinds.Date:
case kinds.Time:
return ['coracle', 'njump']