https://github.com/adaiasmagdiel/web-cmd-simulator
Web CMD Simulator in pure and vanilla JavaScript, just for fun. Enjoy (not) all the possibilities from CMD in your preferred browser.
https://github.com/adaiasmagdiel/web-cmd-simulator
Last synced: 3 months ago
JSON representation
Web CMD Simulator in pure and vanilla JavaScript, just for fun. Enjoy (not) all the possibilities from CMD in your preferred browser.
- Host: GitHub
- URL: https://github.com/adaiasmagdiel/web-cmd-simulator
- Owner: AdaiasMagdiel
- License: mit
- Created: 2024-01-30T16:54:26.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-01T18:05:12.000Z (over 1 year ago)
- Last Synced: 2025-01-06T02:28:32.290Z (5 months ago)
- Language: JavaScript
- Homepage: https://adaiasmagdiel.github.io/web-cmd-simulator/
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Web CMD Simulator
Web CMD Simulator in pure and vanilla JavaScript, just for fun.
## Description
This project is a web-based command line simulator that replicates some of the functionality of the Command Prompt (CMD) on a Windows operating system. It is built using HTML, CSS (using Tailwind CSS), and JavaScript. The simulator provides users with a familiar interface similar to the native command line interface, allowing them to run commands and execute some operations.
## Demo
You can play the demo in Github Pages accessing [https://adaiasmagdiel.github.io/web-cmd-simulator/](https://adaiasmagdiel.github.io/web-cmd-simulator/).
## Possible (but not guaranteed) functionalities
- Command execution: Users can enter commands in the simulator and get the respective output.
- History: The simulator maintains a history of executed commands for reference.
- Command autocomplete (maybe sometime): The simulator suggests command options based on user input.
- Output customization (Definitely not yet, but you can send a pull request): Users can modify the appearance and style of the output text.
- File system simulation (Yes, somehow): The simulator replicates a file system, allowing users to navigate directories and perform file operations.
- Error handling: The simulator provides informative error messages for invalid commands or operations.## Available commands at the moment
- dir
- clsYes, there's no `help` yet and `dir` command have no flags by now.
## Installation
1. Clone the repository:
```
git clone https://github.com/AdaiasMagdiel/web-cmd-simulator.git
```2. Open the `index.html` file in your preferred web browser.
3. Enjoy all the fun that JavaScript can bring (or not).
## Usage
- Enter a command in the input prompt and press Enter to execute it.
- Use the up and down arrows to navigate through command history.
- Customize the appearance of the output by applying CSS classes to the generated HTML.## License
This project is licensed under the [MIT License](https://opensource.org/licenses/MIT). See the [LICENSE](LICENSE) file for details.