-
Notifications
You must be signed in to change notification settings - Fork 0
1. Installation
There are currently two ways of installing WallRizz:
- Download pre-built binary.
- Build from source.
If you prefer a single-line command to perform all steps mentioned below, use the following:
sudo curl -sL $(curl -s https://api.github.com/repos/5hubham5ingh/WallRizz/releases/latest | grep -Po '"browser_download_url": "\K[^"]+' | grep WallRizz) | tar -xz && sudo mv WallRizz /usr/bin/
Download the latest release from the GitHub releases page.
Alternatively, run the following command to fetch the latest release directly:
curl -L $(curl -s https://api.github.com/repos/5hubham5ingh/WallRizz/releases/latest | grep -oP '"browser_download_url": "\K(.*)(?=")' | grep WallRizz) -o WallRizz.tar
Once downloaded, extract the binary executable by running:
tar -xzf WallRizz.tar
To make the binary globally accessible, move it to a directory included in your system's PATH
, such as /usr/bin
:
sudo mv WallRizz /usr/bin/
After completing these steps, you can run WallRizz
from any terminal session.
- Simply run:
curl -fsSL https://raw.githubusercontent.com/5hubham5ingh/WallRizz/main/build.sh | sh
- Or follow these steps to build from source:
Ensure the following dependencies are installed on your system:
- Git: Required for cloning repositories.
- Curl: Required for downloading files.
- Unzip: Required for extracting archives.
- Make and GCC: Required for building the QuickJS source code.
-
Fetch QuickJS Source Code
Clone the QuickJS repository, build the source code, and install the QuickJS compiler and interpreter:git clone --depth 1 https://github.com/bellard/quickjs.git cd quickjs make sudo make install cd ..
-
Download Required Library
Fetch theqjs-ext-lib
library, extract it, and prepare it for use:curl -L -o out.zip https://github.com/ctn-malone/qjs-ext-lib/archive/refs/tags/0.12.4.zip unzip out.zip mv qjs-ext-lib-0.12.4 qjs-ext-lib rm out.zip
-
Fetch Helper Scripts
Clone the helper scripts from thejustjs
repository:git clone --depth 1 https://github.com/5hubham5ingh/justjs.git
-
Clone the WallRizz Project
Clone the WallRizz repository:git clone --depth 1 https://github.com/5hubham5ingh/WallRizz.git
-
Build and Install WallRizz
Navigate to the WallRizz source directory, build the project, and install it:cd WallRizz/src qjsc -flto -D extensionHandlerWorker.js -o WallRizz main.js sudo cp WallRizz /usr/bin/
After completing these steps, WallRizz will be successfully installed.
For additional setup and usage instructions, refer to the Setup Guide and Usage Guide.