外掛說明
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.
安裝方式
- Upload
nostr-login
to the/wp-content/plugins/
directory - Activate the plugin through the ‘Plugins’ menu
- Go to Settings > Nostr Login to configure relay settings
常見問題集
-
What is Nostr?
-
Nostr is a decentralized protocol enabling censorship-resistant social networking and authentication.
-
Is it safe to use my Nostr keys?
-
We recommend using a NIP-07 compatible browser extension like Alby or nos2x for the safest experience.
-
Where is the importer located?
-
The importer is located in the WordPress admin dashboard sidebar, under Tools > Nostr Importer.
-
How do I install the required PHP-GMP extension?
-
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 panelFor Windows:
1. Open php.ini file
2. Uncomment the line: extension=gmp
3. Restart your web serverAfter installation, verify GMP is enabled by checking your site’s PHP info page.
- Run:
使用者評論
參與者及開發者
變更記錄
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