How pmkaulani/prank works
Chaos Prank is a consensual theatrical prank with two user-facing routes: a standalone browser experience and a Python desktop experience. In the browser, device detection selects a mobile terminal roast or a desktop command-copy screen; running the command starts the Python sequence, which stages fake diagnostics and meme loading before showing animated popups and cleaning up. The README documents launcher bootstrapping, emergency exit, and restoration. Some implementation excerpts are partial, so links for unsampled browser and launcher behavior follow the README rather than inspected source.
Main entry points: chaos_prank.py Python Main Flow · index.html Standalone Web Page · launch.bat Windows Bootstrap · launch.sh Bash Bootstrap
Components 16
Web Experience
- Standalone Web Page
index.html - Mobile Terminal Roast
index.html - Desktop Command Card
index.html - Copied Run Command
Launch Paths
- Windows Bootstrap
launch.bat - Bash Bootstrap
launch.sh - CMD Local Launcher
run_prank.bat - PowerShell Launcher
run_prank.ps1
Python Prank
- Python Main Flow
chaos_prank.py - Terminal Diagnostics
chaos_prank.py - Meme Loading Phase
chaos_prank.py - Popup Cascade
chaos_prank.py - Emergency Exit Listener
chaos_prank.py - Terminal Restoration
chaos_prank.py
Meme Assets
- Curated Meme Images
memes
Other components
- Visitor / User
Connections 19
- Visitor / User → Standalone Web Page: opens
- Standalone Web Page → Mobile Terminal Roast: selects mobile
- Standalone Web Page → Desktop Command Card: selects desktop
- Desktop Command Card → Copied Run Command: copies command
- Visitor / User → Windows Bootstrap: runs command
- Visitor / User → Bash Bootstrap: runs command
- Visitor / User → CMD Local Launcher: starts locally
- Visitor / User → PowerShell Launcher: starts locally
- Windows Bootstrap → Python Main Flow: bootstraps
- Bash Bootstrap → Python Main Flow: bootstraps
- CMD Local Launcher → Python Main Flow: launches
- PowerShell Launcher → Python Main Flow: launches
- Python Main Flow → Terminal Diagnostics: runs
- Python Main Flow → Meme Loading Phase: runs
- Meme Loading Phase → Curated Meme Images: loads images
- Python Main Flow → Popup Cascade: starts display
- Python Main Flow → Emergency Exit Listener: starts listener
- Emergency Exit Listener → Terminal Restoration: triggers shutdown
- Python Main Flow → Terminal Restoration: restores terminal