How pak720/scalar_nuclear_console_test works
SCALAR COMPUTER is a local, dependency-free browser terminal with a fictional client-side reactor simulation. The main workflow is: start the local server, open the terminal, enter a command, and receive terminal output or operate the reactor controls. The README documents general terminal commands, reactor status and live monitoring, control adjustments, and confirmed emergency shutdown. The sampled app.js excerpt is partial, so links among internal reactor behaviors are limited to documented behavior and visible entry points.
Main entry points: app.js Command dispatch · index.html Terminal page · start_server.py Local HTTP server · styles.css Terminal styling
Components 14
Local hosting
- Local HTTP server
start_server.py
Terminal interface
- Terminal page
index.html - Terminal styling
styles.css - Terminal interaction
app.js - Command dispatch
app.js - General commands
app.js - Command history
app.js
Reactor simulation
- Reactor state
app.js - Reactor simulation
app.js - Reactor controls
app.js - Status and live monitor
app.js - Emergency shutdown
app.js
Other components
- Operator
- Browser
Connections 17
- Operator → Browser: uses
- Operator → Terminal interaction: enters commands
- Local HTTP server → Browser: serves app
- Browser → Terminal page: loads
- Terminal page → Terminal interaction: hosts
- Terminal page → Terminal styling: loads styles
- Terminal interaction → Command dispatch: submits commands
- Command dispatch → General commands: dispatches
- Command dispatch → Command history: reads history
- Command dispatch → Reactor controls: dispatches
- Command dispatch → Status and live monitor: dispatches
- Reactor controls → Reactor state: updates
- Reactor simulation → Reactor state: updates
- Reactor controls → Reactor simulation: sets targets
- Status and live monitor → Reactor state: reads
- Reactor controls → Emergency shutdown: requests shutdown
- Emergency shutdown → Reactor state: sets safe state