diasandu / amalgam

Amalgam is collection of (mainly) Python scripts with a web interface you can use in SEO.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Amalgam

Amalgam is collection of (mainly) Python scripts with a web interface (based on Flask) you can use in SEO.

More info for developers : Dev page

Project structure

How to run it (Windows 10)

Step 0: Download the app

Download the amalgam zip file and unzip it into a folder.

Step 1: Have Python3 installed

Check if you have Python installed. Open a Command Prompt (Start > Command Prompt) and type:

python --version 

You should get something like

Windows Console

If not then download it and install it from: https://www.python.org/

Note: Remember to check "Add Python 3.x to PATH" during installation so you can access Python from Command Prompt

Step 2: Have Pip3 installed. Usually Python3 comes with PIP3 by default but you can check (in Command Prompt) with:

pip3 --version

Step 3: Install Python libraries

First go inside the folder of the project and open a Command Prompt and then type:

pip install -r requirements.txt

Step 4: Launch app

From a Command Prompt inside the project folder type: python app.py

Step 5: See in browser

Access it at: http://127.0.0.1:5000/ with any browser.

How to run it (Ubuntu 20)

Step 1: Have Python3 installed

Check if you have Python installed

python --version 

If not then run:

sudo apt-get install python3

Step 2: Have Pip3 installed. Usually Python3 comes with PIP3 by default but you can check with:

pip3 --version

Step 3: Install Python libraries

sudo pip install -r requirements.txt

Step 4: Launch app

python app.py

Step 5: See in browser

Access it at: http://127.0.0.1:5000/

Scripts

Scripts are small programs that are part of Amalgam but do not require to run the whole Amalgam application.

They are isolated enough (from main application) to be able to run them independently.

Crawler

The Crawler script is the part of Amalgam that is crawling the pages of a site and collects informations.

Note : In order to run it you should have complete the step "Install Python libraries" - for you operating system - inside the above tutorial.

To run it go inside [lab]/crawler/requests

cd ./lab/crawler/requests

and run

python crawler.py --domain=<name_of_domain> --max-links=<maximum number of links>

The collected data wil be available inside:

crawl-requests-report.log

file.

About

Amalgam is collection of (mainly) Python scripts with a web interface you can use in SEO.


Languages

Language:HTML 58.7%Language:Jupyter Notebook 34.2%Language:Python 7.1%Language:Batchfile 0.0%Language:Shell 0.0%