Skip to content

Getting started

Fiction uses most popular and pre-installed dependencies and has support for multiple cores for network.

  • bash 4.0+ (4.* support in theory, not fully tested)
  • GNU coreutils
  • netcat/ncat/socat (optional, for HTTPS and fork support)
  • awk, grep, sed (mostly preinstalled)
  1. Install Fiction by cloning the github directory

    Section titled “Install Fiction by cloning the github directory”
    Terminal window
    git clone https://github.com/FictionWeb/framework
  2. Terminal window
    cd framework
  3. Make bashx and fiction executable binaries

    Section titled “Make bashx and fiction executable binaries”
    Terminal window
    ln -s $(pwd)/fiction.so.sh /usr/bin/fiction && chmod +x /usr/bin/fiction
    ln -s $(pwd)/modules/bashx /usr/bin/bashx && chmod +x /usr/bin/bashx
  4. Terminal window
    fiction dev
  5. Open <server IP>:8080 in your browser; If you see the default page, Fiction is working and you can start editing the code in index.shx file in src folder.