Browser Command Prompt (BCP), as the name suggests, is a command prompt built from scratch in javascript.
It will act as a host for my future projects (ARM Assembler, JSKell: a Javascript Haskell-like language compiler, etc.)
This is a rewrite of the previous version using requireJS, a proper program manager, and more shell features.
The master branch of this project is hosted here
Note: This project serves no real purpose other than as a challenge to myself. I'm making this for fun, not for utility.
- Abstracted Console layer, which hides all the html/DOM context away from everything else, and provides a simple command line interface
- Program manager, which will keep track of permissions, events, socket.io, etc. for all programs
- File manager, which implements a global (G:/) drive (for files stored on a database), a persistant (P:/) drive (which persists for a user) and a local (C:/) drive, which exists for the duration of the connection.
- Shell, which will support most of the windows/linux command line features (flags, switches, operators, streams, etc.)
- User system, users can create accounts in order to have permissions and a persistant drive.
- Online Poker game (ported from previous version of this project)
- Lua environment, including lua repl, and lua env for programs (the programs "nano" and "arm" in the previous verion are written in lua, Starfall to be more exact)
- Install Docker
- Run build.bat / build.sh, depending on your OS (you may need to run
chmod +x ./build.sh
on linux)
Once running, you'll be able to connect to localhost:5000, you can then run "help" to see all the programs