planetary-social / nos

nos.social social media for all of us, using nostr
https://nos.social
Mozilla Public License 2.0
123 stars 14 forks source link

Parse and publish hashtags in notes when posting #1693

Open joshuatbrown opened 1 week ago

joshuatbrown commented 1 week ago

Issues covered

None. This is from the Hackathon, and I think it's low risk, high reward and would be really nice to have in Nos.

Description

Parses hashtags from posts and includes them as actual hashtags as defined in NIP-24.

How to test

  1. Tap the Post button
  2. Type some text with a hashtag (like #photography)
  3. Post the note
  4. Inspect the source for the note and find the t: photography in it.

Screenshots/Video

Screenshot 2024-11-18 at 2 32 13 PM