bash
The most “bash” way. Uses bash’s accept loadable to perform network socket bind. Requires accept module.
doesn't rely on other commandsslower than other coresworks in single-connection mode onlydoesn't support HTTPSStarts main webserver process.
fiction.server "<ADDRESS>" <OPTIONS> ...Address can contain port and protocol (http(s)), e.g.:
fiction.server "https://0.0.0.0"
fiction.server "https://0.0.0.0:8080"
fiction.server "http://localhost"Options syntax: <key>=<value> delimeted by space
| option | description | type |
|---|---|---|
| ssl | enable SSL | boolean |
| ssl_cert | SSL certificate file | filename |
| ssl_key | SSL public key file | filename |
| include_lucide | include lucide.dev icons in meta | boolean |
| include_tailwind | include TailwindCSS for BashX | boolean |
| expose_addr | show client’s IPs in logs | boolean |
| core | which core to use | string |
bash
The most “bash” way. Uses bash’s accept loadable to perform network socket bind. Requires accept module.
doesn't rely on other commandsslower than other coresworks in single-connection mode onlydoesn't support HTTPSncat
Uses Nmap’s ncat for network operations.
forking modesupports HTTPSrequires ncatsocat
Uses socat for network operations.
forking modesupports HTTPSrequires socat (which is preinstalled on most machines)netcat
Uses legacy netcat (nc) for network operations.
forking modedoesn't support HTTPSslower than other coresrequires netcat-traditional