[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"$fSDwOoWRiCqx9BxfPkgyHGjxjgdgKypbM4p31ImL7wWc":3},{"slug":4,"display_name":4,"profile_url":5,"plugin_count":6,"total_installs":7,"avg_security_score":8,"avg_patch_time_days":9,"trust_score":10,"computed_at":11,"plugins":12},"saiy2k","https:\u002F\u002Fprofiles.wordpress.org\u002Fsaiy2k\u002F",1,0,100,30,94,"2026-04-04T21:14:46.721Z",[13],{"slug":14,"name":15,"version":16,"author":4,"author_profile":5,"description":17,"short_description":18,"active_installs":7,"downloaded":19,"rating":7,"num_ratings":7,"last_updated":20,"tested_up_to":21,"requires_at_least":22,"requires_php":23,"tags":24,"homepage":30,"download_link":31,"security_score":8,"vuln_count":7,"unpatched_count":7,"last_vuln_date":32,"fetched_at":33},"saiy2k-nostr-components","Saiy2k Nostr Components","0.6.1","\u003Cp>\u003Cspan class=\"embed-youtube\" style=\"text-align:center; display: block;\">\u003Ciframe loading=\"lazy\" class=\"youtube-player\" width=\"750\" height=\"422\" src=\"https:\u002F\u002Fwww.youtube.com\u002Fembed\u002FjCaPlEWjeaI?version=3&rel=1&showsearch=0&showinfo=1&iv_load_policy=1&fs=1&hl=en-US&autohide=2&wmode=transparent\" allowfullscreen=\"true\" style=\"border:0;\" sandbox=\"allow-scripts allow-same-origin allow-popups allow-presentation allow-popups-to-escape-sandbox\">\u003C\u002Fiframe>\u003C\u002Fspan>\u003C\u002Fp>\n\u003Cp>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.\u003C\u002Fp>\n\u003Ch4>Key Features\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>\u003Cstrong>Gutenberg Blocks\u003C\u002Fstrong>: Modern block editor integration for Nostr Zap button, Post, Profile, Profile Badge, Follow Button, Like Button, and Livestream\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Shortcodes\u003C\u002Fstrong>: Classic editor support with simple shortcode syntax\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Selective Loading\u003C\u002Fstrong>: Enable only the components you need for optimal performance\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Customizable\u003C\u002Fstrong>: Configure relays, themes, and component settings\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Security\u003C\u002Fstrong>: Built-in security with custom element allowlist via KSES\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Performance\u003C\u002Fstrong>: Conditional asset loading based on enabled components\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch4>Available Components\u003C\u002Fh4>\n\u003Cul>\n\u003Cli>\u003Cstrong>Nostr Zap button\u003C\u002Fstrong>: Allows your readers to zap to your posts and pages\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Nostr Follow Button\u003C\u002Fstrong>: Interactive follow\u002Funfollow buttons for Nostr users\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Nostr Post\u003C\u002Fstrong>: Display Nostr notes\u002Fposts with full content and metadata\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Nostr Profile\u003C\u002Fstrong>: Show complete Nostr user profiles with bio, stats, and social links\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Nostr Profile Badge\u003C\u002Fstrong>: Compact profile display perfect for sidebars and footers\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Nostr Like Button\u003C\u002Fstrong>: Like URLs using Nostr reactions (NIP-25)\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Nostr Livestream\u003C\u002Fstrong>: Display Nostr livestreams (NIP-53) with video playback and participant information\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch4>How It Works\u003C\u002Fh4>\n\u003Col>\n\u003Cli>Install and activate the plugin\u003C\u002Fli>\n\u003Cli>Go to Settings \u003Cspan aria-hidden=\"true\" class=\"wp-exclude-emoji\">→\u003C\u002Fspan> Saiy2k Nostr Components to configure\u003C\u002Fli>\n\u003Cli>Enable only the components you need\u003C\u002Fli>\n\u003Cli>Add blocks in the Gutenberg editor or use shortcodes\u003C\u002Fli>\n\u003Cli>Configure relays and theme settings as needed\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch4>Example Usage\u003C\u002Fh4>\n\u003Cp>\u003Cstrong>Gutenberg Blocks:\u003C\u002Fstrong>\u003Cbr \u002F>\nSimply add the Nostr blocks from the block inserter and configure them in the block settings.\u003C\u002Fp>\n\u003Cp>\u003Cstrong>Shortcodes:\u003C\u002Fstrong>\u003Cbr \u002F>\n    [nostr_zap_button pubkey=”npub1abc…” url=””]\u003Cbr \u002F>\n    [nostr_post eventid=”note1abc…”]\u003Cbr \u002F>\n    [nostr_profile pubkey=”npub1abc…”]\u003Cbr \u002F>\n    [nostr_profile_badge pubkey=”npub1abc…”]\u003Cbr \u002F>\n    [nostr_follow_button pubkey=”npub1abc…”]\u003Cbr \u002F>\n    [nostr_like_button]\u003Cbr \u002F>\n    [nostr_livestream naddr=”naddr1abc…”]\u003C\u002Fp>\n\u003Ch4>Adding Like and Zap Buttons to All Posts\u002FPages\u003C\u002Fh4>\n\u003Cp>To automatically add Like and Zap buttons to the end of every post and page:\u003C\u002Fp>\n\u003Col>\n\u003Cli>Go to \u003Cstrong>Appearance \u003Cspan aria-hidden=\"true\" class=\"wp-exclude-emoji\">→\u003C\u002Fspan> Theme Editor\u003C\u002Fstrong> (or use a child theme for safer customization)\u003C\u002Fli>\n\u003Cli>Select your active theme (or child theme)\u003C\u002Fli>\n\u003Cli>Open \u003Ccode>functions.php\u003C\u002Fcode>\u003C\u002Fli>\n\u003Cli>\n\u003Cp>Add the following code at the end of the file:\u003C\u002Fp>\n\u003Cpre>\u003Ccode>\u002F\u002F Add shortcode to the end of every post and page\nfunction add_shortcode_to_content($content) {\n    \u002F\u002F Only add in single posts and pages (not homepage or archives)\n    if (is_singular(['post', 'page']) && in_the_loop() && is_main_query()) {\n        $shortcode_1 = do_shortcode('[nostr_like_button]');\n        $current_url = esc_url(get_permalink());\n        $shortcode_2 = do_shortcode('[nostr_zap_button npub=\"[YOUR-NPUB-GOES-HERE]\" url=\"' . $current_url . '\"]');\n\n        $content .= '\u003Cdiv class=\"nostr-shortcode-wrapper\">' . $shortcode_1 . '\u003Cbr\u002F>\u003Cbr\u002F>' . $shortcode_2 . '\u003C\u002Fdiv>';\n    }\n    return $content;\n}\nadd_filter('the_content', 'add_shortcode_to_content');\n\u003C\u002Fcode>\u003C\u002Fpre>\n\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cp>\u003Cstrong>Important Notes:\u003C\u002Fstrong>\u003Cbr \u002F>\n* Replace \u003Ccode>[YOUR-NPUB-GOES-HERE]\u003C\u002Fcode> with your actual Nostr public key (npub format)\u003Cbr \u002F>\n* Always use a child theme when modifying theme files to preserve changes during theme updates\u003Cbr \u002F>\n* The buttons will only appear on single post and page views, not on archive pages or the homepage\u003C\u002Fp>\n\u003Ch3>Development\u003C\u002Fh3>\n\u003Cp>This plugin is developed as part of the Nostr Components project. For development, bug reports, and feature requests, please visit the \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsaiy2k\u002Fnostr-components\" rel=\"nofollow ugc\">GitHub repository\u003C\u002Fa>.\u003C\u002Fp>\n\u003Ch3>Support\u003C\u002Fh3>\n\u003Cp>For support, please visit the \u003Ca href=\"https:\u002F\u002Fgithub.com\u002Fsaiy2k\u002Fnostr-components\" rel=\"nofollow ugc\">GitHub repository\u003C\u002Fa> or create an issue.\u003C\u002Fp>\n\u003Ch3>Privacy Policy\u003C\u002Fh3>\n\u003Cp>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.\u003C\u002Fp>\n","Gutenberg blocks and shortcodes for Nostr web components. Display Nostr zap buttons, follow buttons, posts, profiles.",404,"2026-02-20T17:02:00.000Z","6.8.5","6.0","7.4",[25,26,27,28,29],"blocks","gutenberg","nostr","shortcodes","social","https:\u002F\u002Fgithub.com\u002Fsaiy2k\u002Fnostr-components","https:\u002F\u002Fdownloads.wordpress.org\u002Fplugin\u002Fsaiy2k-nostr-components.0.6.1.zip",null,"2026-03-15T15:16:48.613Z"]