YEGHRO Nostr Login
YEGHRO Nostr Login
Description
YEGHRO Nostr Login enables WordPress users to authenticate using their Nostr keys, providing a seamless bridge between the decentralized Nostr protocol and WordPress websites.
Key Features
Login
* One-click login with Nostr browser extensions (NIP-07 compatible)
* Automatic user registration for new Nostr users
* Profile synchronization from Nostr metadata
* Configurable Nostr relay settings
Import (1.8 and later)
* Import posts from Nostr to WordPress as posts.
* Optionally imports comments from Nostr to WordPress as comments.
* Filter imports using tags and date range.
* Import into specific categories.
* Import as draft, publish or private.
* Imports media from Nostr event and attaches to post.
Installation
- Upload
nostr-loginto the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu
- Go to Settings > Nostr Login to configure relay settings
Faq
Nostr is a decentralized protocol enabling censorship-resistant social networking and authentication.
We recommend using a NIP-07 compatible browser extension like Alby or nos2x for the safest experience.
The importer is located in the WordPress admin dashboard sidebar, under Tools > Nostr Importer.
The PHP-GMP extension is required for secure cryptographic operations. Here’s how to install it:
For Ubuntu/Debian:
- Run:
sudo apt-get update && sudo apt-get install php-gmp - Restart PHP/web server:
sudo service php-fpm restart(or apache2 if using Apache)
For CPanel:
1. Contact your hosting provider to enable the PHP-GMP module
2. Most managed WordPress hosts can enable this through the hosting control panel
For Windows:
1. Open php.ini file
2. Uncomment the line: extension=gmp
3. Restart your web server
After installation, verify GMP is enabled by checking your site’s PHP info page.
Reviews
Simple, effective, great support
By kontext on December 1, 2024
The plugin does what it needs - allows for WordPress site owners to connect to the growing nostr network easily and seamlessly. Also Yeghro has been extremely prompt with his helpfulness, responses and bug fixes. Would give it 6 stars if I could.
Changelog
1.8
- Added option to import posts from Nostr to WordPress as posts.
1.7
- 1.6 modifcation proved to be unstable. Reverted to more stable and secure setup that requires user to
manually install PHP-GMP extension to ensure secure authenticated login. Instructions are below in FAQ.
1.6
- nip98 modifications.
1.5
- Added more robust authentication flow using nip98 for better
1.4
- Added option to redirect users after login (to admin, home or profile page)
1.3
- Added option for existing WordPress users to connect/sync their Nostr accounts from within profile profile page
1.2
- Enhanced profile synchronization
- Improved relay configuration options
- Bug fixes and performance improvements
1.0
- Initial release
- Automatic user registration
- Basic profile sync features


