Skip to content

maciej1x/ScreenWorld

Repository files navigation

ScreenWorld

Get screenshot of given website for given country using VPN. Supports NordVPN.

How to use

1. Open localhost:56777 in your browser.

2. Enter URL and select a country

Website before request

3. Click Submit and wait for screenshot

Website after request

Requirement

2. NordVPN installed Installation on Linux

How to install

1. Make sure you are logged to NordVPN

$ nordvpn account
Account Information:
Email Address: youremail@example.com
VPN Service: Active (Expires on Dec 10th, 2021)

2. Download repo

git clone https://github.com/ulaszewskim/ScreenWorld.git
cd ScreenWorld

3. (Optional) Create virtual environment

mkdir venv
python3 -m venv venv/
source ./venv/bin/activate

4. Install libraries

pip3 install -r requirements.txt

5. Download geckodriver

wget https://github.com/mozilla/geckodriver/releases/download/v0.27.0/geckodriver-v0.27.0-linux64.tar.gz
tar -zxvf geckodriver-v0.27.0-linux64.tar.gz
rm geckodriver-v0.27.0-linux64.tar.gz

6. Download Firefox browser

wget https://download-installer.cdn.mozilla.net/pub/firefox/releases/81.0.1/linux-x86_64/pl/firefox-81.0.1.tar.bz2
tar -xvf firefox-81.0.1.tar.bz2
rm firefox-81.0.1.tar.bz2

Warning! If you chose to use different versions of geckodriver and Firefox make sure they are compatible with each other

7. config.json

Change path to absolute if you want to run from different directory.

How to run

python3 app.py

TODO

  • Finish Docker container support

Releases

No releases published

Packages

No packages published