mirror of
https://github.com/believethehype/nostrdvm.git
synced 2025-04-01 00:18:04 +02:00
update word lists on discover example
This commit is contained in:
parent
925c55baf6
commit
128a5b1de6
@ -18,6 +18,8 @@ from nostr_dvm.utils.zap_utils import check_and_set_ln_bits_keys
|
||||
def playground():
|
||||
# Popular NOSTR.band
|
||||
admin_config_trending_nostr_band = AdminConfig()
|
||||
admin_config_trending_nostr_band.REBROADCAST_NIP89 = True
|
||||
admin_config_trending_nostr_band.UPDATE_PROFILE = False
|
||||
custom_processing_msg = "Looking for trending notes on nostr.band.."
|
||||
trending_nb = discovery_trending_notes_nostrband.build_example("Trending Notes on nostr.band",
|
||||
"trending_notes_nostrband",
|
||||
@ -27,7 +29,7 @@ def playground():
|
||||
|
||||
# Popular Garden&Plants
|
||||
admin_config_plants = AdminConfig()
|
||||
admin_config_plants.REBROADCAST_NIP89 = False
|
||||
admin_config_plants.REBROADCAST_NIP89 = True
|
||||
admin_config_plants.UPDATE_PROFILE = False
|
||||
# admin_config_plants.DELETE_NIP89 = True
|
||||
# admin_config_plants.PRIVKEY = ""
|
||||
@ -40,7 +42,7 @@ def playground():
|
||||
"#flowerstr", "#bloomscrolling", "#treestr", "#plantstr", "touchgrass", ],
|
||||
"avoid_list": ["porn", "smoke", "nsfw", "bitcoin", "bolt12", "bolt11", "github", "currency", "utxo",
|
||||
"encryption", "government", "airpod", "ipad", "iphone", "android", "warren",
|
||||
"moderna", "pfizer",
|
||||
"moderna", "pfizer", "corona", "socialism",
|
||||
"murder", "tax", "engagement", "hodlers", "hodl", "gdp", "global markets", "crypto", "wherostr",
|
||||
"presidency", "dollar", "asset", "microsoft", "amazon", "billionaire", "ceo", "industry",
|
||||
"white house", "blocks", "streaming", "summary", "wealth", "beef", "cunt", "nigger", "business",
|
||||
@ -69,23 +71,25 @@ def playground():
|
||||
|
||||
# Popular Animals (Fluffy frens)
|
||||
admin_config_animals = AdminConfig()
|
||||
admin_config_animals.REBROADCAST_NIP89 = False
|
||||
admin_config_animals.REBROADCAST_NIP89 = True
|
||||
admin_config_animals.UPDATE_PROFILE = False
|
||||
options_animal = {
|
||||
"search_list": ["catstr", "pawstr", "dogstr", " cat ", " cats ", "🐾", "🐈", "🐕", " dog ", " dogs ", " fluffy ",
|
||||
"search_list": ["catstr", "pawstr", "dogstr", "pugstr", " cat ", " cats ", "doggo", " deer ", " dog ", " dogs ", " fluffy ",
|
||||
"animal",
|
||||
" duck", " lion ", " lions ", " fox ", " foxes ", " koala ", " koalas ", "capybara", "squirrel",
|
||||
"monkey", "panda", "alpaca", " otter"],
|
||||
" monkey", "panda", "alpaca", " otter"],
|
||||
"avoid_list": ["porn", "smoke", "nsfw", "bitcoin", "bolt12", "bolt11", "github", "currency", "utxo",
|
||||
"encryption", "government", "airpod", "ipad", "iphone", "android", "warren",
|
||||
"moderna", "pfizer",
|
||||
"murder", "tax", "engagement", "hodlers", "hodl", "gdp", "global markets", "crypto", "wherostr",
|
||||
"moderna", "pfizer", " meat ", "pc mouse", "shotgun", "vagina", "rune", "testicle", "victim",
|
||||
"sexualize", "murder", "tax", "engagement", "hodlers", "hodl", "gdp", "global markets", "crypto",
|
||||
"presidency", "dollar", "asset", "microsoft", "amazon", "billionaire", "ceo", "industry",
|
||||
"white house", "blocks", "streaming", "summary", "wealth", "beef", "cunt", "nigger", "business",
|
||||
"white house", "hot dog", "spirit animal", "migrant", "blocks", "streaming", "summary",
|
||||
"wealth", "beef", "cunt", "nigger", "business", "tore off", "chart",
|
||||
"retail", "bakery", "synth", "slaughterhouse", "hamas", "dog days", "ww3", "socialmedia",
|
||||
"nintendo", "signature", "deepfake", "congressman", "fried chicken", "cypherpunk",
|
||||
"nintendo", "signature", "deepfake", "congressman", "fried chicken", "cypherpunk", "social media",
|
||||
"chef", "cooked", "foodstr", "minister", "dissentwatch", "inkblot", "covid", "robot", "pandemic",
|
||||
" dies ", "bethesda", " defi ", " minister ", "nostr-hotter-site", " ai ", "palestine", "animalistic",
|
||||
" dies ", "bethesda", " defi ", " minister ", "nostr-hotter-site", " ai ", "palestine",
|
||||
"animalistic", "wherostr",
|
||||
" hit by a", "https://boards.4chan", "https://techcrunch.com", "https://screenrant.com"],
|
||||
|
||||
"must_list": ["http"],
|
||||
@ -110,9 +114,9 @@ def playground():
|
||||
|
||||
# Popular Followers
|
||||
admin_config_followers = AdminConfig()
|
||||
admin_config_followers.REBROADCAST_NIP89 = False
|
||||
admin_config_followers.REBROADCAST_NIP89 = True
|
||||
admin_config_followers.UPDATE_PROFILE = False
|
||||
custom_processing_msg = ["Looking for popular notes from npubs you follow..",
|
||||
custom_processing_msg = ["Processing popular notes from npubs you follow..",
|
||||
"Let's see what npubs you follow have been up to..",
|
||||
"Processing a personalized feed, just for you.."]
|
||||
update_db = False
|
||||
@ -123,8 +127,8 @@ def playground():
|
||||
cost = 0
|
||||
|
||||
discovery_followers = content_discovery_currently_popular_followers.build_example(
|
||||
"Currently Popular Notes from npubs you follow",
|
||||
"discovery_content_followers",
|
||||
"Popular from npubs you follow",
|
||||
"discovery_content_followers",
|
||||
admin_config=admin_config_followers,
|
||||
options=options_followers_popular,
|
||||
cost=cost,
|
||||
@ -135,10 +139,10 @@ def playground():
|
||||
|
||||
# Popular Global
|
||||
admin_config_global_popular = AdminConfig()
|
||||
admin_config_global_popular.REBROADCAST_NIP89 = False
|
||||
admin_config_global_popular.REBROADCAST_NIP89 = True
|
||||
admin_config_global_popular.UPDATE_PROFILE = False
|
||||
custom_processing_msg = ["Looking for popular notes on the Nostr..", "Let's see what's trending on Nostr..",
|
||||
"Finding the best notes for you.."]
|
||||
"Finding the best notes on the Nostr.."]
|
||||
update_db = False
|
||||
|
||||
options_global_popular = {
|
||||
@ -169,8 +173,10 @@ def playground():
|
||||
subscription_config.LNBITS_URL = os.getenv("LNBITS_HOST")
|
||||
sub_admin_config = AdminConfig()
|
||||
# sub_admin_config.USERNPUBS = ["7782f93c5762538e1f7ccc5af83cd8018a528b9cd965048386ca1b75335f24c6"] #Add npubs of services that can contact the subscription handler
|
||||
x = threading.Thread(target=Subscription, args=(Subscription(subscription_config, sub_admin_config),))
|
||||
x.start()
|
||||
|
||||
#currently there is none, but add this once subscriptions are live.
|
||||
#x = threading.Thread(target=Subscription, args=(Subscription(subscription_config, sub_admin_config),))
|
||||
#x.start()
|
||||
|
||||
# keep_alive()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user