add randomized taglines

pull/83/head
Aevann 2022-12-25 01:12:05 +02:00
parent 0a1effeaf7
commit 96533921c3
4 changed files with 130 additions and 121 deletions

1
env
View File

@ -29,7 +29,6 @@ export DEFAULT_COLOR="805ad5"
export EMAIL="blahblahblah@gmail.com"
export MAILGUN_KEY="blahblahblah"
export DESCRIPTION="rdrama.net caters to drama in all forms such as: Real life, videos, photos, gossip, rumors, news sites, Reddit, and Beyond™. There isn't drama we won't touch, and we want it all!"
export TAGLINE="the world's largest gay orgy"
export CF_KEY="blahblahblah"
export CF_ZONE="blahblahblah"
export TELEGRAM_LINK="blahblahblah"

View File

@ -38,7 +38,6 @@ DEFAULT_COLOR = environ.get("DEFAULT_COLOR").strip()
EMAIL = environ.get("EMAIL").strip()
MAILGUN_KEY = environ.get("MAILGUN_KEY").strip()
DESCRIPTION = environ.get("DESCRIPTION").strip()
TAGLINE = environ.get("TAGLINE").strip()
CF_KEY = environ.get("CF_KEY").strip()
CF_ZONE = environ.get("CF_ZONE").strip()
TELEGRAM_LINK = environ.get("TELEGRAM_LINK").strip()
@ -118,7 +117,21 @@ SLURS = {
"daisy destruction": "Cars 2",
}
patron = "Patron"
if SITE_NAME == 'rDrama':
patron = "Paypig"
BAN_EVASION_DOMAIN = 'stupidpol.site'
BAN_EVASION_FULL = f'https://{BAN_EVASION_DOMAIN}'
TAGLINES = (
"world's largest gay orgy",
"world's largest shemale porn site",
"world's largest cat fetish furfest",
"world's largest basket-weaving forum",
"world's largest autism support group",
)
RDRAMA_SLURS = {
"retarded": "r-slurred",
"retard": "r-slur",
@ -159,6 +172,120 @@ if SITE_NAME == 'rDrama':
}
SLURS.update(RDRAMA_SLURS)
BOOSTED_SITES = {
#youtube-like
'bitchute.com',
'goyimtv.tv',
'odysee.com',
#4chan-like
'4chan.org',
'boards.4channel.org',
'boards.4chan.org',
'archive.4plebs.org',
'lolcow.farm',
'8kun.top',
'soyjak.party',
'crystal.cafe',
#forums
'kiwifarms.net',
'onionfarms.com',
'clay.party',
'incels.is',
'tattle.life',
'looksmax.org',
'stormfront.org',
'looksmax.org',
'bluelight.org',
'thecoli.com',
'nairaland.com',
'resetera.com',
'steamcommunity.com',
'lipstickalley.com',
'tigerdroppings.com',
'groups.google.com',
'bungie.net',
#twitter-like
'gab.com',
'gettr.com',
'parler.com',
'truthsocial.com',
'blacktwitterapp.com',
'rdrama.cc',
'marsey.club',
'kiwifarms.cc',
'freespeechextremist.com'
'mstdn.social',
'mastodon.social',
'mastodon.online',
'poa.st',
'shitposter.club',
'sneed.social',
'seal.cafe',
'trp.red',
#reddit-like
'news.ycombinator.com',
'scored.co',
'scrd.app',
'steemit.com',
'ovarit.com',
'watchpeopledie.tv',
'rdrama.net',
BAN_EVASION_DOMAIN,
'themotte.org',
'hexbear.net',
'cumtown.org',
'hive.blog',
'poal.co',
'saidit.net',
'lobste.rs',
'retalk.com',
'thepinkpill.co',
'talk.lol',
'lemmy.ml',
'lemmygrad.ml',
'raddle.me',
'stacker.news',
'tildes.net',
'notabug.io',
'syzitus.com',
'phuks.co',
'arete.network',
'pcmemes.net',
'discussions.app',
'wolfballs.com',
'dojo.press',
'livefilter.com',
'mainchan.com',
#misc
'quora.com',
'givesendgo.com',
'groups.google.com',
't.me',
'web.telegram.org',
'instagram.com',
'facebook.com',
'twitch.tv',
'tiktok.com',
'vm.tiktok.com',
'github.com',
'breitbart.com',
'teamblind.com',
'encyclopediadramatica.online',
'datalounge.com',
'metafilter.com',
'sqwok.im',
}
elif SITE_NAME == 'WPD':
TAGLINES = (
"People dying and cartoon cats <3",
)
PROFANITIES = {
'motherfucker': 'motherlover',
'fuck': 'frick',
@ -673,19 +800,12 @@ else: # localhost or testing environment implied
FEATURES['USERS_PERMANENT_WORD_FILTERS'] = True
SUB_BANNER_LIMIT = 69420
patron = "Patron"
if SITE_NAME == 'rDrama':
patron = "Paypig"
HOUSES = ("None","Furry","Femboy","Vampire","Racist") if FEATURES['HOUSES'] else ("None")
bots = {AUTOJANNY_ID, SNAPPY_ID, LONGPOSTBOT_ID, ZOZBOT_ID}
COLORS = {'ff66ac','805ad5','62ca56','38a169','80ffff','2a96f3','eb4963','ff0000','f39731','30409f','3e98a7','e4432d','7b9ae4','ec72de','7f8fa6', 'f8db58','8cdbe6', DEFAULT_COLOR}
BAN_EVASION_DOMAIN = 'stupidpol.site'
BAN_EVASION_FULL = f'https://{BAN_EVASION_DOMAIN}'
### COMMENT NOTIFICATIONS ###
FORTUNE_REPLIES = ('<b style="color:#6023f8">Your fortune: Allah Wills It</b>','<b style="color:#d302a7">Your fortune: Inshallah, Only Good Things Shall Come To Pass</b>','<b style="color:#e7890c">Your fortune: Allah Smiles At You This Day</b>','<b style="color:#7fec11">Your fortune: Your Bussy Is In For A Blasting</b>','<b style="color:#43fd3b">Your fortune: You Will Be Propositioned By A High-Tier Twink</b>','<b style="color:#9d05da">Your fortune: Repent, You Have Displeased Allah And His Vengeance Is Nigh</b>','<b style="color:#f51c6a">Your fortune: Reply Hazy, Try Again</b>','<b style="color:#00cbb0">Your fortune: lmao you just lost 100 coins</b>','<b style="color:#2a56fb">Your fortune: Yikes 😬</b>','<b style="color:#0893e1">Your fortune: You Will Be Blessed With Many Black Bulls</b>','<b style="color:#16f174">Your fortune: NEETmax, The Day Is Lost If You Venture Outside</b>','<b style="color:#fd4d32">Your fortune: A Taste Of Jannah Awaits You Today</b>','<b style="color:#bac200">Your fortune: Watch Your Back</b>','<b style="color:#6023f8">Your fortune: Outlook good</b>','<b style="color:#d302a7">Your fortune: Godly Luck</b>','<b style="color:#e7890c">Your fortune: Good Luck</b>','<b style="color:#7fec11">Your fortune: Bad Luck</b>','<b style="color:#43fd3b">Your fortune: Good news will come to you by mail</b>','<b style="color:#9d05da">Your fortune: Very Bad Luck</b>','<b style="color:#00cbb0">Your fortune: キタ━━━━━━(゚∀゚)━━━━━━ !!!!</b>','<b style="color:#2a56fb">Your fortune: Better not tell you now</b>','<b style="color:#0893e1">Your fortune: You will meet a dark handsome stranger</b>','<b style="color:#16f174">Your fortune:  ´_ゝ`)フーン</b>','<b style="color:#fd4d32">Your fortune: Excellent Luck</b>','<b style="color:#bac200">Your fortune: Average Luck</b>')
@ -855,116 +975,6 @@ forced_hats = {
EMAIL_REGEX_PATTERN = '[A-Za-z0-9._%+-]{1,64}@[A-Za-z0-9.-]{2,63}\.[A-Za-z]{2,63}'
if SITE_NAME == 'rDrama':
BOOSTED_SITES = {
#youtube-like
'bitchute.com',
'goyimtv.tv',
'odysee.com',
#4chan-like
'4chan.org',
'boards.4channel.org',
'boards.4chan.org',
'archive.4plebs.org',
'lolcow.farm',
'8kun.top',
'soyjak.party',
'crystal.cafe',
#forums
'kiwifarms.net',
'onionfarms.com',
'clay.party',
'incels.is',
'tattle.life',
'looksmax.org',
'stormfront.org',
'looksmax.org',
'bluelight.org',
'thecoli.com',
'nairaland.com',
'resetera.com',
'steamcommunity.com',
'lipstickalley.com',
'tigerdroppings.com',
'groups.google.com',
'bungie.net',
#twitter-like
'gab.com',
'gettr.com',
'parler.com',
'truthsocial.com',
'blacktwitterapp.com',
'rdrama.cc',
'marsey.club',
'kiwifarms.cc',
'freespeechextremist.com'
'mstdn.social',
'mastodon.social',
'mastodon.online',
'poa.st',
'shitposter.club',
'sneed.social',
'seal.cafe',
'trp.red',
#reddit-like
'news.ycombinator.com',
'scored.co',
'scrd.app',
'steemit.com',
'ovarit.com',
'watchpeopledie.tv',
'rdrama.net',
BAN_EVASION_DOMAIN,
'themotte.org',
'hexbear.net',
'cumtown.org',
'hive.blog',
'poal.co',
'saidit.net',
'lobste.rs',
'retalk.com',
'thepinkpill.co',
'talk.lol',
'lemmy.ml',
'lemmygrad.ml',
'raddle.me',
'stacker.news',
'tildes.net',
'notabug.io',
'syzitus.com',
'phuks.co',
'arete.network',
'pcmemes.net',
'discussions.app',
'wolfballs.com',
'dojo.press',
'livefilter.com',
'mainchan.com',
#misc
'quora.com',
'givesendgo.com',
'groups.google.com',
't.me',
'web.telegram.org',
'instagram.com',
'facebook.com',
'twitch.tv',
'tiktok.com',
'vm.tiktok.com',
'github.com',
'breitbart.com',
'teamblind.com',
'encyclopediadramatica.online',
'datalounge.com',
'metafilter.com',
'sqwok.im',
}
IMAGE_FORMATS = ['png','gif','jpg','jpeg','webp']
VIDEO_FORMATS = ['mp4','webm','mov','avi','mkv','flv','m4v','3gp']
AUDIO_FORMATS = ['mp3','wav','ogg','aac','m4a','flac']

View File

@ -96,5 +96,5 @@ def inject_constants():
"HOUSE_JOIN_COST":HOUSE_JOIN_COST, "HOUSE_SWITCH_COST":HOUSE_SWITCH_COST, "IMAGE_FORMATS":IMAGE_FORMATS,
"PAGE_SIZES":PAGE_SIZES, "THEMES":THEMES, "COMMENT_SORTS":COMMENT_SORTS, "SORTS":SORTS,
"TIME_FILTERS":TIME_FILTERS, "HOUSES":HOUSES, "TIERS_ID_TO_NAME":TIERS_ID_TO_NAME,
"DEFAULT_CONFIG_VALUE":DEFAULT_CONFIG_VALUE, "IS_LOCALHOST":IS_LOCALHOST, "BACKGROUND_CATEGORIES":BACKGROUND_CATEGORIES, "PAGE_SIZE":PAGE_SIZE, "TAGLINE":TAGLINE, "HOLIDAY_EVENT":HOLIDAY_EVENT, "get_alt_graph":get_alt_graph
"DEFAULT_CONFIG_VALUE":DEFAULT_CONFIG_VALUE, "IS_LOCALHOST":IS_LOCALHOST, "BACKGROUND_CATEGORIES":BACKGROUND_CATEGORIES, "PAGE_SIZE":PAGE_SIZE, "TAGLINES":TAGLINES, "HOLIDAY_EVENT":HOLIDAY_EVENT, "get_alt_graph":get_alt_graph
}

View File

@ -3,7 +3,7 @@
{% if sub %}
<title>/h/{{sub.name}}</title>
{% elif request.path == '/' %}
<title>{{SITE_NAME}}: {{TAGLINE}}</title>
<title>{{SITE_NAME}}{% if TAGLINES %}: {{TAGLINES|random()}}{% endif %}</title>
{% else %}
{{super()}}
{% endif %}