Gossip has a lot of command-line commands that can be run. To run a command line command, pass it to gossip on the command line, for example:
$ gossip wgpu_renderer true
Most command line commands do something and then exit, rather than running the GUI program.
This file may not be up to date. You can see the list of all the commands with gossip help
.
You can see the details of a particular command with gossip help <command>
.
login on the command line before starting the gossip GUI.
usage: gossip login
Use much faster disk access. A crash can corrupt your local data, unless your filesystem preserves write ordering.
usage: gossip rapid
Unlike all the other commands, you can pass one more command after rapid like this:
usage: gossip rapid <command>
Start gossip in offline mode.
usage: gossip offline
add a new person list with the given name.
usage: gossip add_person_list <listname>
backdate last_general_eose_at by 24 hours for every relay.
usage: gossip backdate_eose
decode the bech32 string.
usage: gossip bech32_decode <bech32string>
encode an event address (parameterized replaceable event link).
usage: gossip bech32_encode_naddr <kind> <pubkeyhex> <d> [<relayurl>, ...]
clear relay avoidance timeouts.
usage: gossip clear_timeouts
decrypt the ciphertext from the pubkeyhex.
usage: gossip decrypt <pubkeyhex> <ciphertext>
delete all feed-displayable events with content matching the substring (including giftwraps).
usage: gossip delete_spam_by_content
delete a relay record from storage.
usage: gossip delete_relay <relayurl>
override the DPI setting.
usage: gossip dpi <dpi>
print IDs of all events of kind=
usage: gossip events_of_kind <kind>
print IDs of all events from of kind=
usage: gossip events_of_pubkey_and_kind <pubkeyhex> <kind>
Export the encrypted private key
usage: gossip export_encrypted_key
Decrypt all of your giftwraps
usage: gossip giftwraps
Show this list.
usage: gossip help
import encrypted private key
usage: gossip import_encrypted_private_key <ncryptsec>
import and process a JSON event
usage: gossip import_event <event_json>
print the event (in JSON) from the database that has the given id
usage: gossip print_event <idhex>
print every pubkey that is followed
usage: gossip print_followed
print every pubkey that is muted
usage: gossip print_muted
print every pubkey in every person list
usage: gossip print_person_lists
print the given person
usage: gossip print_person <pubkeyHexOrBech32>
print all the person-relay records for the given person
usage: gossip print_person_relays <pubkeyhex>
print the relay record
usage: gossip print_relay <url>
print all the relay records
usage: gossip print_relays
print the relays the event was seen on
usage: gossip print_seen_on <idhex>
Rebuild all event-related indices
usage: gossip rebuild_indices
Rename a person list
usage: gossip rename_person_list
Reprocess events that came during the last 24 hours
usage: gossip reprocess_recent
Reprocess relay lists (including kind 3 contents)
usage: gossip reprocess_relay_lists
Unwrap the giftwrap event with the given ID and print the rumor (in JSON)
usage: gossip ungiftwrap <idhex>
Verify if the given event signature is valid
usage: gossip verify <idhex>
Note that gossip does not accept invalid events, so this old command probably has no practical use.
Verify if the passed in event JSON's signature is valid
usage: gossip verify_json <event_json>
Enable/Disable the WGPU rendering backend
usage: gossip wgpu_renderer <true | false>