GOSSIP USERS: gossip now has a command line mode that is triggered if you pass a parameter on the command line. On master there is only dump_event (e.g. gossip dump_event ). On unstable there are 9 commands which will be listed if you use the 'gossip help' command. I've only built commands that I needed for debugging purposes, so they are haphazardly chosen currently, but more will come. The 'run.sh' script now uses "gossip login" which prompts for your password at the command line before starting the GUI. This is useful because (1) some relays want AUTH and you probably want to be logged in before connecting to them, and (2) GiftWrap events can't be unwrapped and indexed if you aren't logged in yet. In the future, the GUI will prompt you to login on startup, but the current scheme works.
Initially I tried to make separate binaries (dump_relays and dump_person_relays, which are still there at present). But this became very difficult since they couldn't use any of the gossip code, only the nostr-types code. Trying to move the lower-level gossip code into a library proved also very difficult. Hence the command line thing, which is working out well.