WebSocket first web server, HTTP over WebSockets
See the codeLike Windows Task Manager, but also works on Linux and displays web servers, docker containers, and more.
Determine which features to exclude by simply setting a boolean value in the features.json file.
git clone https://github.com/prettydiff/aphorio.gitnode ./aphorio/lib/index.tsbun ./aphorio/lib/index.tsnpm run lint - Executes ESLint for TypeScript to analyze the application against a bunch of draconian rulesnpm run server or node ./lib/index.ts - Executes the applicationnpm run test or node ./lib/index.ts test - Runs the test automationnpm run tsc - Executes the TypeScript compiler to perform explicit type checkingPlease note that for Docker support the npm run server command must be executed using an administrative account and/or shell.
All arguments are supported only on the server command, example: npm run server test no-color
browser:<file_path> - Provides for an absolute file path for a web browser executable to test against.
The file path value can be quoted, but if not quoted then spaces must be escaped according to the given shell's syntax rules.
Any arguments following this argument will be passed directly to that web browser.delay-intervals:<number> - A delay test will halt the test runner until the given test evaluates to true by default.
The default delay values retry the test 250 times every 50 milliseconds before returning a failed test.
This argument allows changing the number of retries.delay-time:<number> - Specifies the time between delay intervals in milliseconds from the default 50 milliseconds.list:<file_name> - Specifies a single test list file name to execute starting from the project's test directory at /lib/test.no-exit - Application remains actively available after completing test automation.stop-on-fail - Tells the test runner to stop processing further test lists after the first failed assertion.test - If present this option instructs the application to execute test automation.demo - Runs the application in demo mode where some functionality is disabled and no changes are written to disk.no-color - Eliminates use of ANSI color codes in terminal output.port-open:<port_number> - Creates an insecure instance of the dashboard server on the specified insecure port, if that port is open.port-secure:<port_number> - Creates a secure instance of the dashboard server on the specified insecure port, if that port is open.Example: npm run test "browser:C:\Program Files\Mozilla Firefox\firefox.exe" "list:list_local_browser_fileSystem.ts" no-exit no-color
The external dependencies need to be installed and added to the system path, but require no further configuration. The included dependencies require no action or configuration at all.
These dependencies must be installed separate from this application.
winget install --id=ShiningLight.OpenSSL.Dev -esudo apt install opensslwinget install --id=Docker.DockerCLI -e
winget install --id=Docker.DockerCompose -e
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo "deb \
[arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] \
https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
These dependencies are included with this application code repository.
522 commits
TypeScript
90.5%
HTML
9.0%
WebSocket first web server, HTTP over WebSockets
See the codeLike Windows Task Manager, but also works on Linux and displays web servers, docker containers, and more.
Determine which features to exclude by simply setting a boolean value in the features.json file.
git clone https://github.com/prettydiff/aphorio.gitnode ./aphorio/lib/index.tsbun ./aphorio/lib/index.tsnpm run lint - Executes ESLint for TypeScript to analyze the application against a bunch of draconian rulesnpm run server or node ./lib/index.ts - Executes the applicationnpm run test or node ./lib/index.ts test - Runs the test automationnpm run tsc - Executes the TypeScript compiler to perform explicit type checkingPlease note that for Docker support the npm run server command must be executed using an administrative account and/or shell.
All arguments are supported only on the server command, example: npm run server test no-color
browser:<file_path> - Provides for an absolute file path for a web browser executable to test against.
The file path value can be quoted, but if not quoted then spaces must be escaped according to the given shell's syntax rules.
Any arguments following this argument will be passed directly to that web browser.delay-intervals:<number> - A delay test will halt the test runner until the given test evaluates to true by default.
The default delay values retry the test 250 times every 50 milliseconds before returning a failed test.
This argument allows changing the number of retries.delay-time:<number> - Specifies the time between delay intervals in milliseconds from the default 50 milliseconds.list:<file_name> - Specifies a single test list file name to execute starting from the project's test directory at /lib/test.no-exit - Application remains actively available after completing test automation.stop-on-fail - Tells the test runner to stop processing further test lists after the first failed assertion.test - If present this option instructs the application to execute test automation.demo - Runs the application in demo mode where some functionality is disabled and no changes are written to disk.no-color - Eliminates use of ANSI color codes in terminal output.port-open:<port_number> - Creates an insecure instance of the dashboard server on the specified insecure port, if that port is open.port-secure:<port_number> - Creates a secure instance of the dashboard server on the specified insecure port, if that port is open.Example: npm run test "browser:C:\Program Files\Mozilla Firefox\firefox.exe" "list:list_local_browser_fileSystem.ts" no-exit no-color
The external dependencies need to be installed and added to the system path, but require no further configuration. The included dependencies require no action or configuration at all.
These dependencies must be installed separate from this application.
winget install --id=ShiningLight.OpenSSL.Dev -esudo apt install opensslwinget install --id=Docker.DockerCLI -e
winget install --id=Docker.DockerCompose -e
sudo apt-get update
sudo apt-get install ca-certificates curl
sudo install -m 0755 -d /etc/apt/keyrings
sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
sudo chmod a+r /etc/apt/keyrings/docker.asc
echo "deb \
[arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] \
https://download.docker.com/linux/debian \
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
These dependencies are included with this application code repository.
522 commits
TypeScript
90.5%
HTML
9.0%