OopisOS: The OS is the Game

A persistent, in-browser, retro-futuristic Operating System. Hack the system, create your own tools, or build entire narrative games from the command line. This isn't just a simulation; it's a sandbox for digital archaeology.

What is this place?

OopisOS is a fully persistent, self-contained operating system simulation that runs entirely within your web browser. Think of it as a digital terrarium where you can explore a virtual file system, create scripts, manage users, and even chat with an in-world AI. Thanks to the magic of your browser's own storage, everything you do—every file you create, every user you add, every command you type—will be here waiting for you the next time you boot up.

It's a love letter to the command-line interfaces of yore, but with a modern, modular twist perfect for creating your own fun.

Features as Gameplay Mechanics

  • A Persistent World: Explore a hierarchical file system that remembers your every change. Create directories (mkdir), leave secret notes (edit), and uncover the system's structure (ls, tree).
  • Become a Digital Ghost: The OS is populated by users (Guest, root, userDiag). Hack the all-powerful root account (password: mcgoopis), create new identities with useradd, and move between them with login and su.
  • Consult the Oracle: The system has a resident AI. Use the gemini command to ask it questions, have it write poetry, or even help you debug your scripts.
  • Unleash Asynchronous Chaos: Run processes in the background with &. See what you've unleashed with ps and terminate runaway jobs with kill.
  • Play a Game Within the Game: Launch the built-in text adventure, "The Lost Key of Oopis," with the adventure command.

The OS as a Gaming Environment

The true nature of OopisOS is that the system is the game. There is no predetermined goal. The narrative is what you create, and the puzzles are the ones you invent.

  • Solve Environmental Puzzles: Treat the file system as your dungeon. Write a find command to locate a specific file based on its modification time. Use grep to search logs for a hidden keyword. Write a script with run to automate a complex task, like backing up all files owned by a specific user.
  • Role-Play as a Sys-Admin: Set up a new user, create a private directory for them, and use chmod and chown to manage their permissions. Leave messages for them in their home directory. The possibilities for emergent storytelling are endless.
  • A Sandbox of Discovery: What happens if you rm -r / as the root user? (Don't worry, the reset command is your safety net). Can you write a script that creates other scripts? The system is your playground.

A Modder's Paradise: Your Engine for Text-Based Worlds

This is where OopisOS truly shines for creators. Its modularity makes it a powerful and accessible engine for building your own interactive experiences.

  • Built-in Adventure Game Engine: The adventure command isn't just for playing; it's for creating. The engine can load custom games from any JSON file you create in the virtual file system. Write your own epic, upload it, and share it with your friends.
  • Powerful Scripting with run: The run command is your key to creating interactive events. You can write scripts that:
    • Display narrative text with echo.
    • Create or delete files to change the "world state."
    • Ask for user input by creating puzzles that require the user to pass the correct arguments ($1, $@, $#).
    • Use check_fail to test if a user has performed a required action correctly.
  • Your In-World IDE (edit): You don't need any external tools. The powerful edit command is your built-in development environment. It features live Markdown and HTML preview, a formatting toolbar, and everything you need to write your JSON adventures and .sh event scripts.

You have a complete, self-contained universe for creating, playing, and sharing text-based and narrative-driven games.

What will you create? Boot up and find out.