@21natzil/

Sys.X (archmaster#6356)

Nodejs

No description

fork
loading
Files
  • index.js
  • commands
  • filesys
  • static
  • commandsys.js
  • defaultlogins.js
  • filesys.js
  • inoutsys.js
  • inoutsys.web.js
  • loginsys.js
  • main.js
  • main.web.js
  • package-lock.json
  • sandboxsys.js
  • users.json
  • web.html
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// All scores out of 5
// File System: 3
//   - Your file system worked very well, all files and folders worked as expected. What it needed was a better way to modify files.
// Coding: 4
//   - Your had a variety of programming languages which was awesome. Running javascript files worked well, and I liekd the timeout. It just needed a better way to write to files. Maybe even run those bf files?
// Login: 3
//   - The login was looking so strong, it was going to be great, you had all the tools, add users, delete users, hiding passwords. And then I realized it didn't matter. You forgot to hide or at least prevent other users from accessing another person's files.
// Interface: 4
//   - Your OS looks very clean, I really like the font you choose. All it needed really is path information without having to type pwd every time.
// EOO: 3
//   - It was easy to use, however I often found myself scouring the help command for commands that would allow me to do something, for example it took a while figure out how to look at a file's contents.
// Docs: 4
//   - See EOO, this unforchanetly fell under the same issue, however the intro command did help.
// Extras: 3
//   - You did get extra points from the extra languages, all the funny jokes, and the ability to read the web (I really liked that feature).
// TOTAL: 24 / 35


const execa = require('execa')

const web = execa.shell('node main.web.js')
web.stdout.pipe(process.stdout)
web.stderr.pipe(process.stderr)

const local = execa.shell('node main.js')
process.stdin.pipe(local.stdin)
local.stdout.pipe(process.stdout)
local.stderr.pipe(process.stderr)
node v10.16.0