Plugin info

Total downloads: 44
Active installs: 0
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 11/22/2025 (40 days ago)
Added to WordPress: 11/22/2025 (0 years old)
Minimum WordPress version: 6.0
Tested up to WordPress version: 6.8.3
Minimum PHP version: 7.4

Maintenance & Compatibility

Maintenance score

Actively maintained • Last updated 40 days ago

59/100

Is Saiy2k Nostr Components abandoned?

Likely maintained (last update 40 days ago).

Compatibility

Requires WordPress: 6.0
Tested up to: 6.8.3
Requires PHP: 7.4

Developers

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Nostr Verify
Rating 5.0/5 (1 reviews)Active installs 70
Nostrtium
Rating 0.0/5 (0 reviews)Active installs 10
Postr For Nostr
Rating 0.0/5 (0 reviews)Active installs 10
easyNostr-Nip05
Rating 0.0/5 (0 reviews)Active installs 10
YEGHRO Nostr Login
Rating 5.0/5 (1 reviews)Active installs 0

Description

Nostr Components brings the power of Nostr (Notes and Other Stuff Transmitted by Relays) to your WordPress site through modern web components. This plugin provides Gutenberg blocks and shortcodes that allow you to seamlessly integrate Nostr content into your posts and pages.

Key Features

  • Gutenberg Blocks: Modern block editor integration for Nostr Zap button, Post, Profile, Profile Badge, and Follow Button
  • Shortcodes: Classic editor support with simple shortcode syntax
  • Selective Loading: Enable only the components you need for optimal performance
  • Customizable: Configure relays, themes, and component settings
  • Security: Built-in security with custom element allowlist via KSES
  • Performance: Conditional asset loading based on enabled components

Available Components

  • Nostr Zap button: Allows your readers to zap to your posts and pages
  • Nostr Follow Button: Interactive follow/unfollow buttons for Nostr users
  • Nostr Post: Display Nostr notes/posts with full content and metadata
  • Nostr Profile: Show complete Nostr user profiles with bio, stats, and social links
  • Nostr Profile Badge: Compact profile display perfect for sidebars and footers

How It Works

  1. Install and activate the plugin
  2. Go to Settings Saiy2k Nostr Components to configure
  3. Enable only the components you need
  4. Add blocks in the Gutenberg editor or use shortcodes
  5. Configure relays and theme settings as needed

Example Usage

Gutenberg Blocks:
Simply add the Nostr blocks from the block inserter and configure them in the block settings.

Shortcodes:
[nostr_zap pubkey=”npub1abc…” url=””]
[nostr_post eventid=”note1abc…”]
[nostr_profile pubkey=”npub1abc…”]
[nostr_profile_badge pubkey=”npub1abc…”]
[nostr_follow_button pubkey=”npub1abc…”]
[nostr_like]

Adding Like and Zap Buttons to All Posts/Pages

To automatically add Like and Zap buttons to the end of every post and page:

  1. Go to Appearance Theme Editor (or use a child theme for safer customization)
  2. Select your active theme (or child theme)
  3. Open functions.php
  4. Add the following code at the end of the file:

[code]
// Add shortcode to the end of every post and page
function add_shortcode_to_content($content) {
// Only add in single posts and pages (not homepage or archives)
if (is_singular([‘post’, ‘page’]) && in_the_loop() && is_main_query()) {
$shortcode_1 = do_shortcode(‘[nostr_like]’);
$current_url = esc_url(get_permalink());
$shortcode_2 = do_shortcode(‘[nostr_zap npub=”[YOUR-NPUB-GOES-HERE]” url=”‘ . $current_url . ‘”]’);

    $content .= '
' . $shortcode_1 . '

' . $shortcode_2 . '
'; } return $content;

}
add_filter(‘the_content’, ‘add_shortcode_to_content’);
[/code]

Important Notes:
* Replace [YOUR-NPUB-GOES-HERE] with your actual Nostr public key (npub format)
* Always use a child theme when modifying theme files to preserve changes during theme updates
* The buttons will only appear on single post and page views, not on archive pages or the homepage

Video

Watch this video to see the plugin in action: https://www.youtube.com/watch?v=jCaPlEWjeaI

Development

This plugin is developed as part of the Nostr Components project. For development, bug reports, and feature requests, please visit the GitHub repository.

Support

For support, please visit the GitHub repository or create an issue.

Privacy Policy

This plugin does not collect, store, or transmit any personal data. All Nostr data is fetched directly from public relays and displayed locally on your site. If components fetch data client‑side, visitors’ browsers may directly connect to configured relays (exposing their IP and user agent to those relays). Configure trusted relays accordingly.

Installation

No installation instructions available

Frequently Asked Questions

What is Nostr?

Nostr is a simple, open protocol that enables global, decentralized, and censorship-resistant social media. It’s based on cryptographic keypairs and relays.

Do I need a Nostr account to use this plugin?

No, you don’t need a Nostr account to display Nostr content. However, for interactive features like follow buttons, users will need their own Nostr accounts.

Can I customize the appearance?

Yes! The plugin supports light and dark themes, and you can customize the relay settings. The components are built with modern CSS and are responsive.

Is this plugin secure?

Yes, the plugin includes security measures including custom element allowlist via KSES and proper sanitization of all inputs.

Can I use this with any WordPress theme?

Yes, the components are designed to work with any WordPress theme. They use modern CSS and are responsive.

Review feed

No reviews available

Screenshots

  1. Follow and Profile components

    Follow and Profile components

  2. Nostr post component

    Nostr post component

  3. Like and Zap buttons

    Like and Zap buttons

  4. Zappers list

    Zappers list

  5. Gutenberg blocks

    Gutenberg blocks

  6. Settings page

    Settings page

Changelog

0.3.0

  • Initial release
  • Gutenberg blocks for Nostr Post, Profile, Profile Badge, and Follow Button
  • Shortcode support for all components
  • Selective component loading for optimal performance
  • Admin settings page for configuration
  • Security features with KSES integration
  • Performance optimizations with conditional asset loading
  • Support for custom relay configuration
  • Light and dark theme support
  • Responsive design for all components
  • WordPress 6.0+ compatibility
  • PHP 7.4+ compatibility