I Hid a Web Server on My Coworker's MacBook to Make It Talk. Eight Years Later, He Still Locks His Screen.

📰 Dev.to · Alexander Mia

Learn how to create a simple web server on a MacBook to play a prank on a coworker and understand the importance of screen locking

intermediate Published 14 May 2026
Action Steps
  1. Set up a simple web server on a MacBook using a tool like http.server
  2. Create a script to make the computer talk using a text-to-speech library
  3. Configure the web server to run the script when accessed
  4. Test the setup to ensure it works as expected
  5. Apply the setup to a coworker's MacBook to play a prank
  6. Compare the reaction of the coworker to the expected outcome
Who Needs to Know This

Developers and IT professionals can benefit from this article to understand the potential security risks of unattended devices and the importance of screen locking

Key Insight

💡 Leaving a device unattended without locking the screen can lead to security risks and unexpected behavior

Share This
🤣 Prank your coworker by hiding a web server on their MacBook to make it talk! 💻
Read full article → ← Back to Reads