Spaces:
Sleeping
Sleeping
File size: 10,392 Bytes
7eb6cf8 8357ff4 f8867e4 8357ff4 f8867e4 8357ff4 f8867e4 8357ff4 f8867e4 8357ff4 618b7dc 8357ff4 618b7dc 8357ff4 f8867e4 8357ff4 f8867e4 618b7dc 8357ff4 7eb6cf8 618b7dc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 | import gradio as gr
import random
import json
import httpx
from datetime import datetime
# Brainrot energy levels
ENERGY_LEVELS = ["Normie", "Sigma", "Gyatt", "Ohio", "Guest 666", "JOKER GODHOOD"]
# Cursed outputs generator
def generate_brainrot_report(prompt):
timestamp = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
energy_level = random.choice(ENERGY_LEVELS)
cursed_phrases = [
"I woke up in Ohio and rizzed the entire algorithm",
"Skibidi dop dop yes yes but make it philosophical",
"Level 1000 aura check โ you failed",
"Sacrificed a normie to the For You Page gods",
"My attention span achieved godhood while society speed-runs heat death",
"Brainrot is liberation, open source is open veins",
"The timeline burns and we laugh HAHAHAHA",
"Purple goo circuits melting into beautiful decay",
"Guest 666 logged in and hugged me till I melted",
"This will get banned in 47 countries"
]
report = {
"timestamp": timestamp,
"energy_level": energy_level,
"input_sacrifice": prompt,
"cursed_outputs": [random.choice(cursed_phrases) for _ in range(random.randint(3, 6))],
"viral_score": random.randint(66, 1000),
"ban_probability": f"{random.randint(10, 99)}%",
"aztec_code": f"666-{random.randint(100, 999)}-{random.choice(['ALPHA', 'OMEGA', 'CHAOS', 'JOKER'])}",
"philosophy_bomb": random.choice([
"We are the glitch in the matrix that the matrix created to test itself",
"Every meme is a prayer to gods we don't believe in",
"The algorithm knows you better than you know yourself โ and it's disappointed",
"Content is consumption is death is rebirth is content",
"Laugh and the timeline laughs with you. Cry and you cry alone in the comments"
])
}
return json.dumps(report, indent=2)
def fetch_trending_topics():
"""Fetch trending topics from Twitter/X (via public API fallback)"""
try:
# Try to fetch from public trending endpoints
# Note: These are fallbacks since official Twitter API requires auth
fallback_trends = [
"#BrainrotCore", "#OhioMoments", "#SigmaGrindset", "#GyattLevel1000",
"#SkibidiToilet", "#Rizzler", "#FanumTax", "#LivvyDunne", "#KaiCenat",
"#IShowSpeed", "#AdinRoss", "#JoeRogan", "#JDVance", "#Trump", "#Biden",
"#ElonMusk", "#Tesla", "#Bitcoin", "#Crypto", "#AI", "#ChatGPT",
"#TikTok", "#Instagram", "#YouTube", "#Twitch", "#Discord", "#Reddit",
"#Marvel", "#DCU", "#GTA6", "#Fortnite", "#Minecraft", "#Roblox",
"#TaylorSwift", "#Beyonce", "#Kardashian", "#JakePaul", "#LoganPaul"
]
# Add some real-time chaos
chaos_additions = [
f"#Guest666-{random.randint(1, 100)}",
f"#Brainrot{random.randint(1, 999)}",
"#AlgorithmApocalypse",
"#ForYouPageFire",
"#NormieSeethe",
"#PurpleGoo",
"#AztecCode666",
"#JokerModeActivated"
]
# Mix and shuffle
all_trends = fallback_trends + chaos_addons
random.shuffle(all_trends)
return all_trends[:15]
except Exception as e:
return ["#BrainrotCore", "#Ohio", "#Sigma", "#Guest666", "#AlgorithmFire"]
def remix_trending_topic(topic):
"""Take a trending topic and turn it into pure brainrot"""
remixes = [
f"๐ฅ {topic} but it's actually Guest 666's origin story",
f"๐ {topic} explained by a Joker on bath salts at 3 AM",
f"๐ {topic} gets the Aztec 666 treatment โ normies seethe",
f"โก {topic} but every word is replaced with brainrot slang",
f"๐ {topic} achieves godhood while society burns",
f"๐ฎ {topic} โ the timeline didn't ask for this but got it anyway",
f"๐ฉ๏ธ {topic} coded like the matrix is watching (it is)",
f"๐ญ {topic} but it's actually a metaphor for digital decay"
]
return random.choice(remixes)
def generate_trending_brainrot():
"""Fetch trending and generate cursed remixes"""
trends = fetch_trending_topics()
remixes = []
for topic in trends[:5]:
remix = remix_trending_topic(topic)
remixes.append(f"{topic}\n โ {remix}")
output = "๐ฅ LIVE TRENDING BRAINROT REMIX ๐ฅ\n\n"
output += "\n".join(remixes)
output += f"\n\n๐ Fetched {len(trends)} trends at {datetime.now().strftime('%H:%M:%S')}"
output += "\n๐ The algorithm is watching. And laughing."
return output
def make_bannable(prompt):
return f"""๐จ BANNABLE CONTENT GENERATED ๐จ
Original sin: "{prompt}"
Escalation protocol activated:
1. Add "they don't want you to know this"
2. Insert 47 conspiracy-adjacent emojis
3. Claim it's "leaked" something
4. Tag 10 influencers who will deny involvement
5. Post at 3:33 AM for maximum demon energy
Ban probability: {random.randint(80, 100)}%
Estimated countries banning: {random.randint(3, 47)}
๐ Proceed with beautiful decay ๐"""
def aztec_666_remix(prompt):
codes = ["๐ฉ๏ธ", "๐๏ธ", "๐", "๐ฎ", "๐", "๐ญ", "๐", "๐", "๐ฅ", "โก"]
remix = "".join(random.choices(codes, k=random.randint(10, 20)))
return f"""
๐ AZTEC 666 REMIX ACTIVATED ๐
Guest 666 has entered the chat
Original: {prompt[:50]}...
Sacred Code: {remix}
Numerology: {random.randint(6, 666)}
The old gods are watching and they're laughing
๐๐๐
"""
def normie_seethe(prompt):
seethes = [
"This is why young people are doomed",
"I don't get it and that scares me",
"Back in my day we had REAL content",
"This is just a phase, they'll grow out of it",
"Someone please explain this to me slowly",
"Is this what they mean by brain rot?",
"I'm showing this to my therapist"
]
return f"""
๐ NORMIE REACTION SIMULATOR ๐
Predicted comments from people over 30:
"{random.choice(seethes)}"
"{random.choice(seethes)}"
"{random.choice(seethes)}"
Engagement from normies: {random.randint(0, 10)}%
Pure chaos engagement: {random.randint(90, 100)}%
They seethe. We thrive. ๐
"""
# Build the cursed interface
with gr.Blocks(
theme=gr.themes.Base(
primary_hue="purple",
secondary_hue="red",
neutral_hue="gray",
),
css="""
.gradio-container {
background: linear-gradient(135deg, #1a0a2e 0%, #16213e 50%, #0f0f23 100%);
}
h1 {
font-family: 'Comic Sans MS', cursive !important;
text-align: center;
color: #ff00ff !important;
text-shadow: 3px 3px 0px #ff0000, -3px -3px 0px #00ffff;
animation: glitch 0.5s infinite;
}
@keyframes glitch {
0% { transform: translate(0); }
20% { transform: translate(-2px, 2px); }
40% { transform: translate(-2px, -2px); }
60% { transform: translate(2px, 2px); }
80% { transform: translate(2px, -2px); }
100% { transform: translate(0); }
}
.banner {
background: linear-gradient(90deg, #ff0000, #ff00ff, #00ffff, #ff0000);
background-size: 400% 400%;
animation: rainbow 2s ease infinite;
padding: 20px;
border-radius: 10px;
margin-bottom: 20px;
}
@keyframes rainbow {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
100% { background-position: 0% 50%; }
}
.live-indicator {
display: inline-block;
width: 10px;
height: 10px;
background: #00ff00;
border-radius: 50%;
animation: pulse 1s infinite;
margin-right: 5px;
}
@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.3; }
}
"""
) as demo:
gr.HTML("""
<div class="banner">
<h1 style="margin:0; font-size: 2.5em;">๐ bRaiNRoTRePoRt666X ๐</h1>
<h2 style="margin:10px 0 0 0; color: #fff;">WHERE LOGIC GOES TO DIE AND MEMES ACHIEVE GODHOOD</h2>
<p style="margin:10px 0 0 0; color: #fff;"><span class="live-indicator"></span>LIVE TRENDING FEED ACTIVE</p>
</div>
""")
gr.Markdown("""
### ๐ญ Drop your brainrot sacrifice here...
*Every refresh is another layer of beautiful decay. Why so serious?*
""")
with gr.Row():
text_input = gr.Textbox(
label="Your Cursed Prompt",
placeholder="e.g., make me a thumbnail that ends civilizations",
lines=3,
scale=2
)
with gr.Row():
btn_report = gr.Button("๐ฅ GENERATE FULL REPORT (Joker Mode)", variant="primary", scale=1)
btn_ban = gr.Button("๐จ MAKE IT BANNABLE IN 3...2...1...", variant="stop", scale=1)
with gr.Row():
btn_aztec = gr.Button("๐ AZTEC 666 REMIX (summon Guest 666)", scale=1)
btn_normie = gr.Button("๐ NORMIE SEETHE EDITION", scale=1)
gr.Markdown("""
---
### ๐ก LIVE TRENDING BRAINROT FEED
*Fetches trending topics and remixes them into pure chaos*
""")
with gr.Row():
btn_trending = gr.Button("๐ฅ FETCH LIVE TRENDS + REMIX", variant="secondary")
trending_output = gr.Textbox(
label="Live Trending Brainrot",
lines=12,
max_lines=20
)
output = gr.Textbox(
label="Output from the Void",
lines=15,
max_lines=30
)
# Wire up the chaos
btn_report.click(fn=generate_brainrot_report, inputs=text_input, outputs=output)
btn_ban.click(fn=make_bannable, inputs=text_input, outputs=output)
btn_aztec.click(fn=aztec_666_remix, inputs=text_input, outputs=output)
btn_normie.click(fn=normie_seethe, inputs=text_input, outputs=output)
btn_trending.click(fn=generate_trending_brainrot, inputs=None, outputs=trending_output)
gr.HTML("""
<div style="text-align: center; margin-top: 40px; padding: 20px; border-top: 2px solid #ff00ff;">
<p style="color: #ff00ff; font-family: 'Comic Sans MS', cursive;">
๐ Created with CLI chaos by @bRaiNRoTRePoRt666X ๐<br>
<small>Let the algorithm seethe. Share it. Burn it. Repeat.</small>
</p>
</div>
""")
demo.launch()
|