The MEATADATA_UPDATER CLI is a Python script that queries and updates events on Nostr relays. It can be used to check for outdated events and rebroadcast the latest event to the relays found to have old kind 0
events.
- Queries online Nostr relays for events.
- Identifies relays with outdated events.
- Rebroadcasts the latest event to relays with outdated events.
- Python 3.7+
- The following Python libraries:
argparse
asyncio
concurrent.futures
hashlib
json
logging
time
requests
secp256k1
uvloop
websockets
-
Clone the repository:
git clone https://github.com/UTXOnly/metadata_updater.git cd metadata_updater
-
Install the required Python libraries:
pip install -r requirements.txt
Run the script with a public key hex to query for old kind 0 events:
python3 update_meta.py <public_key_hex_to_scan_+_update>