vicariousdrama / cornychat

🌽 Corny Chat is an open source audio space built on Jam that integrates Nostr and Lightning
https://cornychat.com
GNU Affero General Public License v3.0
21 stars 6 forks source link

Live Activities Support #9

Closed vicariousdrama closed 3 months ago

vicariousdrama commented 6 months ago

Setup Live Event nostr event for each active room (and maybe scheduled ones?)

Status for room should be live when room has at least one participant if not marked as private or closed. If room is private or closed, then flip to live when both are set accordingly to a publicly announced open room. Otherwise, if the event has been started, if can be ended. If a scheduled event exist for the room, status should be planned until the live start time

See: NIP53 https://github.com/nostr-protocol/nips/blob/master/53.md, kind 30311

Sample live event from Nostr Nests which appears to query for all live activities, and then filter on the service being https://nostrnests.com for whether it should display on main page

https://njump.me/naddr1qqjx2erxvf3nywpk95unzwfc956rxdn995unzwfc94snxwfsvv6xycesx93nvqg4waehxw309aex2mrp0yhxgctdw4eju6t09upzqmpddzaqzmpfzstl6x820srtwdlvzslh64kh3lw5ffdjfzzx2f0vqvzqqqrkvung8kel

vicariousdrama commented 3 months ago

Implemented