damus-io / damus

iOS nostr client
GNU General Public License v3.0
2k stars 289 forks source link

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

Open theborakompanioni opened 4 months ago

theborakompanioni commented 4 months ago

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 🙏

alltheseas commented 4 months ago

Which nostr apps have implemented?

theborakompanioni commented 4 months ago

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:

jb55 commented 4 months ago

I wouldn't be against adding this lol

alltheseas commented 4 months ago

Added to 2.0 milestone

jb55 commented 4 months ago

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

theborakompanioni commented 1 month ago

Update: NIP-64 has been merged :muscle: