Skip to content

Instantly share code, notes, and snippets.

@ryogrid
Last active August 30, 2023 23:56
Show Gist options
  • Save ryogrid/d37e2b0d12454261057ca13e886b76fc to your computer and use it in GitHub Desktop.
Save ryogrid/d37e2b0d12454261057ca13e886b76fc to your computer and use it in GitHub Desktop.
For posting images includng sensitive content with considering of non-NIP-36 compliant clients

Background

The NIP-36 specification requires that post be tagged with a content-warning tag (so that users can clearly identify the post as such when they post it). However, even if this is done, non-NIP-36 compliant clients still display tagged posts as usual.

As a result, although overall compliance with the specification is progressing, a non-negligible percentage of clients do not support NIP-36, leaving users with a psychological barrier that makes it difficult to post Sensitive Content.

Therefore, the purpose of the specification is to avoid users of non-NIP-36 compliant clients from unintentionally viewing content with content-warning tags, and to allow Nostr users to think that it is safe to post Sensitive Content if they specify content-warning tags.

The following service was developed to avoid unintentional viewing of content with content-warning tags and to make Nostr users feel it is safe to post sensitive content with specifing content-warning tag.

Outline of the service

Souce code of the service

Currently supported image uploaders for Nostr

Hosts where the service is running

  • i.ryogrid.net
  • (It doesn't matter if there are more)

Client that recognizes that the service described in this article is NIP-36 compliant (23/07/17)

  • Amethyst
  • Plebstr
  • Snort
  • Rabbit
  • Nostter
  • Astraea
  • 井ラスト倉庫 (Illust Warehouse)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment