damus icon indicating copy to clipboard operation
damus copied to clipboard

Feature Request: Display Chess (PGN) messages (NIP-64)

Open theborakompanioni opened this issue 1 year ago • 4 comments

Have a go at filling out the User Story template below

As a Damus user who is a chess player, I would like to view Chess (PGN) messages as chess boards, so that I can interact with and review Chess games.

Is your feature request related to a problem? Please describe. Instead of copy pasting PGN messages into an external application, I want to view and interact with chess games directly in Damus.

Describe the solution you'd like Display Chess (PGN) messages as a chess board.

Describe alternatives you've considered Copy and pasting PGN messages into external application. Uff.

Additional context In order for https://github.com/nostr-protocol/nips/pull/1094 to be approved, it needs to be implemented in two clients. Would Damus be interested in displaying kind := 64 as chess board in the web interface?

NIP-64: https://github.com/theborakompanioni/nips/blob/nip-64/64.md Website: https://jesterui.github.io/nip64/

The spec is quite simple and straightforward–so it should be rather easy. It would need to include a dependency on a library capable of drawing chess boards. Please, let me know 🙏

theborakompanioni avatar May 27 '24 14:05 theborakompanioni

Which nostr apps have implemented?

alltheseas avatar May 27 '24 14:05 alltheseas

Which nostr apps have implemented?

This is an attempt to get at least two clients to implement it. See https://github.com/nostr-protocol/nips/pull/1094 for a general discussion and focus here on a possible Damus integration (given that there is interest). Thanks @alltheseas :pray:

theborakompanioni avatar May 27 '24 14:05 theborakompanioni

I wouldn't be against adding this lol

jb55 avatar May 27 '24 17:05 jb55

Added to 2.0 milestone

alltheseas avatar May 27 '24 18:05 alltheseas

We really don't need this on a milestone. This is a fun to have thing if someone wants to implement it

jb55 avatar May 29 '24 15:05 jb55

Update: NIP-64 has been merged :muscle:

theborakompanioni avatar Aug 28 '24 12:08 theborakompanioni

Daaaamn. A sad day for all chess enthusiasts on nostr. 😉 Will try again in the future when there is more traction 🙏

theborakompanioni avatar Feb 26 '25 09:02 theborakompanioni

just trying to clean up our issues a bit

jb55 avatar Feb 26 '25 18:02 jb55