### Install and Run as Node WebApp on Linux (Method 2) Source: https://github.com/qeeqbox/social-analyzer/wiki/install Installs Node.js and Firefox ESR, clones the repository, and starts the Node.js WebApp. This method assumes some dependencies might already be present. ```bash sudo apt-get update sudo apt-get install -y firefox-esr tesseract-ocr git nodejs npm sudo git clone https://github.com/qeeqbox/social-analyzer.git cd social-analyzer npm ci npm start ``` -------------------------------- ### Install and Run as Node WebApp on Linux (Method 1) Source: https://github.com/qeeqbox/social-analyzer/wiki/install Installs necessary dependencies including Firefox ESR and Node.js, clones the repository, and starts the Node.js WebApp. ```bash sudo apt-get update sudo DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common sudo add-apt-repository ppa:mozillateam/ppa -y sudo apt-get install -y firefox-esr tesseract-ocr git nodejs npm git clone https://github.com/qeeqbox/social-analyzer.git cd social-analyzer npm ci npm start ``` -------------------------------- ### Install and Run as Python Package on Windows Source: https://github.com/qeeqbox/social-analyzer/wiki/install Guides Windows users on installing Python, downloading the project, installing the social-analyzer package via pip, and running it. ```bash Download & Install https://www.python.org/downloads/ Download & Extract https://github.com/qeeqbox/social-analyzer/archive/main.zip pip3 install social-analyzer python3 -m social-analyzer --username "johndoe" --metadata ``` -------------------------------- ### Install and Run as Node WebApp on Windows Source: https://github.com/qeeqbox/social-analyzer/wiki/install Instructions for Windows users to install Firefox ESR and Node.js, download the project, and start the Node.js WebApp. ```bash Download & Install firefox esr (Extended Support Release) from https://www.mozilla.org/en-US/firefox/enterprise/#download Download & Install https://nodejs.org/en/download/ Download & Extract https://github.com/qeeqbox/social-analyzer/archive/main.zip cd social-analyzer npm ci npm start ``` -------------------------------- ### Install and Run as Python Script on Windows Source: https://github.com/qeeqbox/social-analyzer/wiki/install Provides steps for Windows users to install Python, clone the repository, install dependencies, and run the Python script. ```bash Download & Install https://www.python.org/downloads/ Download & Extract https://github.com/qeeqbox/social-analyzer/archive/main.zip git clone https://github.com/qeeqbox/social-analyzer cd social-analyzer pip3 install -r requirements.txt python3 app.py social-analyzer --username "johndoe" --metadata ``` -------------------------------- ### Install and Run as Nodejs Script on Linux (Method 2) Source: https://github.com/qeeqbox/social-analyzer/wiki/install Installs Node.js and Firefox ESR, clones the repository, and runs the Node.js application script. This method is suitable if some prerequisites are already installed. ```bash sudo apt-get update sudo apt-get install -y firefox-esr tesseract-ocr git nodejs npm sudo git clone https://github.com/qeeqbox/social-analyzer.git cd social-analyzer nodejs app.js --username "johndoe" --metadata ``` -------------------------------- ### Install and Run using Docker Source: https://github.com/qeeqbox/social-analyzer/wiki/install Installs Docker and Git, clones the repository, builds the Docker image, and runs the container. ```bash sudo apt-get update sudo apt-get install -y docker.io git curl sudo usermod -aG docker $USER git clone https://github.com/qeeqbox/social-analyzer.git docker build -t social-analyzer . && docker run -p 9005:9005 -it social-analyzer ``` -------------------------------- ### Analyze String with WordInfo Option Source: https://github.com/qeeqbox/social-analyzer/wiki/backend-api This example demonstrates how to use the /analyze_string route with the 'WordInfo' option to get detailed information about words in a given string. It requires 'string', 'option', and 'uuid' parameters. ```bash curl -X POST http://0.0.0.0:9005/analyze_string -d "string=joe&option=WordInfo&uuid=12345678" ``` ```json { "info": { "items": [], "original": "", "corrected": "", "total": 0, "checking": "Using mike with no lookups" }, "table": { "name": [ "ike", "mike" ], "maybe": [ "mike" ] }, "common": [], "words_info": [ { "word": "ike", "text": "unknown", "results": [ { "type": "Related", "text": "Internet Key Exchange The protocol used to set up a security association in the IPsec protocol suite.", "url": "https://duckduckgo.com/Internet_Key_Exchange" } ... ... ... { "type": "Other uses", "text": "Ike (given name) Meanings A list of people with the name or nickname.", "url": "https://duckduckgo.com/d/Ike_(given_name)" } ] }, { "word": "mike", "text": "Mike is a character in the TV series Twin Peaks, portrayed by Al Strobel.", "results": [ { "type": "Related", "text": "Mike Pompeo An American politician, diplomat, businessman, and attorney who, since April 2018, has been...", "url": "https://duckduckgo.com/Mike_Pompeo" } ... ... ... { "type": "See also", "text": "Michael Cox Meanings Several people.", "url": "https://duckduckgo.com/d/Michael_Cox" }, { "type": "See also", "text": "Mike Jones Meanings Multiple people.", "url": "https://duckduckgo.com/d/Mike_Jones" } ] } ], "user_info_normal": { "data": {}, "type": "all" }, "user_info_advanced": { "data": {}, "type": "all" }, "user_info_special": { "data": {}, "type": "all" } } ``` -------------------------------- ### Install on BlackArch Source: https://github.com/qeeqbox/social-analyzer/wiki/install Installs the social-analyzer package on BlackArch Linux using pacman. ```bash sudo pacman -S blackarch-social ``` -------------------------------- ### Install and Run as Python Script on Linux Source: https://github.com/qeeqbox/social-analyzer/wiki/install Clones the repository, installs dependencies, and runs the social-analyzer Python script. ```bash sudo apt-get update sudo apt-get install git python3 python3-pip git clone https://github.com/qeeqbox/social-analyzer cd social-analyzer pip3 install -r requirements.txt python3 app.py social-analyzer --username "johndoe" --metadata ``` -------------------------------- ### Install and Run Social Analyzer (Simple) Source: https://github.com/qeeqbox/social-analyzer/blob/main/README.rst Installs the social-analyzer package and runs a simple profile search for a given username, fetching the top 100 results. ```bash pip3 install social-analyzer python3 -m social-analyzer --username "johndoe" --top 100 ``` -------------------------------- ### Install and Run Social Analyzer (Custom Websites) Source: https://github.com/qeeqbox/social-analyzer/blob/main/README.rst Installs the social-analyzer package and runs a profile search for a specific set of websites. ```bash #install social-analyzer pip3 install social-analyzer #specific websites python3 -m social-analyzer --username "johndoe" --websites "youtube pinterest tumblr" ``` -------------------------------- ### Install and Run as Python Package on Linux Source: https://github.com/qeeqbox/social-analyzer/wiki/install Installs the social-analyzer Python package using pip and demonstrates its execution via the command line or as a Python module. ```bash sudo apt-get update sudo apt-get install python3 python3-pip pip3 install social-analyzer social-analyzer --username "johndoe" --metadata #or python3 -m social-analyzer --username "johndoe" --metadata ``` -------------------------------- ### Install and Run Social Analyzer as Node WebApp on Linux Source: https://github.com/qeeqbox/social-analyzer/blob/main/README.md Installs and starts the Social Analyzer as a Node.js web application on Linux. Ensure you have the necessary dependencies like Firefox ESR and Tesseract OCR installed. ```bash sudo apt-get update #Depedning on your Linux distro, you may or may not need these 2 lines sudo DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common sudo add-apt-repository ppa:mozillateam/ppa -y sudo apt-get install -y firefox-esr tesseract-ocr git nodejs npm git clone https://github.com/qeeqbox/social-analyzer.git cd social-analyzer npm update npm install npm start ``` -------------------------------- ### Install and Run using Docker Compose Source: https://github.com/qeeqbox/social-analyzer/wiki/install Installs Docker Compose, clones the repository, and deploys the application using docker-compose, with options to control CPU core usage. ```bash # Install updates, docker-compose and project sudo apt-get update sudo apt-get install -y docker.io git curl sudo curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose git clone https://github.com/qeeqbox/social-analyzer.git cd social-analyzer # Default deployment (2 CPU cores) docker-compose -f docker-compose.yml up --build # Deploy and use all available CPU cores echo "CPU_CORES=`nproc`" > .env ; docker-compose -f docker-compose.yml up --build # Deploy and use only some CPU cores (if more than 4) echo "CPU_CORES=4" > .env ; docker-compose -f docker-compose.yml up --build ``` -------------------------------- ### Install and Run as Nodejs Script on Linux (Method 1) Source: https://github.com/qeeqbox/social-analyzer/wiki/install Installs required software including Firefox ESR and Node.js, clones the repository, and executes the Node.js application script. ```bash sudo apt-get update sudo DEBIAN_FRONTEND=noninteractive apt-get install -y software-properties-common sudo add-apt-repository ppa:mozillateam/ppa -y sudo apt-get install -y firefox-esr tesseract-ocr git nodejs npm git clone https://github.com/qeeqbox/social-analyzer.git cd social-analyzer nodejs app.js --username "johndoe" --metadata ``` -------------------------------- ### Install Social Analyzer Package Source: https://github.com/qeeqbox/social-analyzer/wiki/integration Install the social-analyzer Python package using pip. ```bash pip3 install social-analyzer ```