Edit and run XFST scripts, using a server side xfst
binary.
Read more about XFST or check out the live demo.
Install npm
and a PHP server. Place the XFST binary appropriate for your
system in the src
folder. You can download XFST from here.
The project uses CodeMirror as the script editor, with its Simple Mode Addon.
npm install
npm install -D webpack webpack-cli
# add CodeMirror Simple Mode manually
mkdir -p node_modules/codemirror/mode/simple
curl https://codemirror.net/addon/mode/simple.js > node_modules/codemirror/mode/simple/simple.js
npm run dev
cd dist
chmod +x xfst
php -S localhost:5000
To run the edited script, press the Run button or Ctrl+Enter.