I see. Maybe you can create a simple command line tool to quey a large set of relays and create the nevent.