/GPTOS

An OS entirely coded by ChatGPT

Primary LanguagePython

GPTOS

Overview

GPTOS is a simulated operating system built using Python and the Pygame library. It features a basic CLI, file system, text editor, snake game, and a process and task manager. GPTOS Screenshot

Table of Contents

Features

  • CLI (Command Line Interface): Provides a command-line interface for user interaction.
  • File System: Allows basic file operations like create, delete, and edit.
  • Text Editor: A simple text editor for file manipulation.
  • Snake Game: A built-in snake game.
  • Process Manager: Manages running processes.
  • Task Manager: Displays current tasks.
  • File Viewer: Allows you to view files.
  • Window Manager: Manages open windows in the UI.

Installation

  1. Make sure you have Python 3.x and Pygame installed.
  2. Clone the repository: git clone https://github.com/YourUsername/GPTOS.git
  3. Navigate to the cloned directory: cd GPTOS
  4. Run python main.py to start the application.

Usage

CLI Commands:

  • help: List available commands.
  • exit: Exit the application.
  • create [filename]: Create a new file.
  • delete [filename]: Delete a file.
  • edit [filename]: Edit a file using the text editor.
  • open [filename]: Open a file in the File Viewer.
  • close [filename]: Close a currently open window.
  • play [game_name]: Play a game.
  • tasks: Toggle the task manager.
  • view [filename]: View a file.

Contribute

Feel free to fork the repository and submit pull requests.

License

MIT License