mirror of
https://github.com/aljazceru/nostrdvm.git
synced 2026-01-11 10:04:24 +01:00
Update discovery_gallery.py
This commit is contained in:
@@ -12,7 +12,7 @@ from nostr_dvm.utils.admin_utils import AdminConfig
|
||||
from nostr_dvm.utils.dvmconfig import build_default_config
|
||||
from nostr_dvm.utils.nip89_utils import create_amount_tag, NIP89Config, check_and_set_d_tag
|
||||
|
||||
rebroadcast_NIP89 = False # Announce NIP89 on startup
|
||||
rebroadcast_NIP89 = True # Announce NIP89 on startup
|
||||
rebroadcast_NIP65_Relay_List = True
|
||||
update_profile = True
|
||||
|
||||
@@ -81,7 +81,7 @@ def playground():
|
||||
# admin_config_global_popular.PRIVKEY = ""
|
||||
# admin_config_global_popular.EVENTID = "2fea4ee2ccf0fa11db171113ffd7a676f800f34121478b7c9a4e73c2f1990028"
|
||||
# admin_config_global_popular.POW = True
|
||||
custom_processing_msg = ["Looking for people, that npubs in your Web of Trust follow, but you don't"]
|
||||
custom_processing_msg = ["Looking for popular Gallery entries"]
|
||||
update_db = True
|
||||
|
||||
options_wot = {
|
||||
@@ -95,7 +95,7 @@ def playground():
|
||||
"db_since": 60 * 60 * 24 * 365, # 1h since gmt,
|
||||
}
|
||||
cost = 0
|
||||
image = "https://image.nostr.build/b29b6ec4bf9b6184f69d33cb44862db0d90a2dd9a506532e7ba5698af7d36210.jpg"
|
||||
image = "https://i.nostr.build/4Rw6lrsH5O0P5zjT.jpg"
|
||||
discovery_wot = build_example_gallery("Gallery entries",
|
||||
"discovery_gallery_entries",
|
||||
admin_config=admin_config_global_wot,
|
||||
|
||||
Reference in New Issue
Block a user