Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1017 Bytes

readme.md

File metadata and controls

33 lines (24 loc) · 1017 Bytes

XFST script editor

Edit and run XFST scripts, using a server side xfst binary.

Read more about XFST or check out the live demo.

Try it out

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.