Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/breuerfelix/instapy-gui

gui for instapy automation
https://github.com/breuerfelix/instapy-gui

automation babel bot gui instagram instapy preact webpack

Last synced: 8 days ago
JSON representation

gui for instapy automation

Awesome Lists containing this project

README

        


InstaPy GUI


Graphical User Interface for InstaPy Automation including some useful Analytics.






## installation

### requirements

* install [python 3](https://www.python.org/downloads/)
* install [firefox](https://www.mozilla.org)
* host your own instance of this repo

### register a bot

#### windows-1-click-install

* download [update.bat](https://raw.githubusercontent.com/breuerfelix/instapy-gui/master/services/instapy/update.bat) and save it
* you can copy your old assets folder into this folder aswell to reuse your database / cookies / etc.
* double-click `update.bat`
* double-click `setup.bat`
* answer all the questions
* double-click `startClient.bat` To take off!

#### linux/mac-1-click-install

* download [update.sh](https://raw.githubusercontent.com/breuerfelix/instapy-gui/master/services/instapy/update.sh) and save it
* you can copy your old assets folder into this folder aswell to reuse your database / cookies / etc.
* execute `bash update.sh`
* execute `bash setup.sh`
* answer all the questions
* execute `bash startClient.sh` To take off!

#### docker

create a file named `instapy.env` with the following content:

```env
INSTAPY_USER=instapy.io_username
INSTAPY_PASSWORD=instapy.io_password
IDENT=choose_any_name_to_indentify_this_instance
```

execute the following command:

```bash
sudo docker run -d --env-file instapy.env --name instapyclient felixbreuer/instapy-client
```

remember that you can only run docker clients in headless mode.

#### step-by-step guide

* download [all files here](https://github.com/breuerfelix/instapy-gui/tree/master/services/instapy) and save them to a folder on your system
* you can copy your old assets folder into this folder aswell to reuse your database / cookies / etc.
* navigate to the folder in the console
* you could create a new python [virtual environment](https://packaging.python.org/guides/installing-using-pip-and-virtual-environments/) here _(optional)_
* run `pip install -r requirements.txt`
* use `pip3` if you are on linux or mac
* create a file named `.env` or `instapy.env` with the following content

```env
INSTAPY_USER=instapy.io_username
INSTAPY_PASSWORD=instapy.io_password
IDENT=choose_any_name_to_indentify_this_instance
```

* run `python start.py`
* use `python3` if you are on linux or mac
* go to [instapy.io](https://instapy.io) and take off!

##### adjustments for raspberry pi

* activate the virtual enviroment
* run following commands in the console

```bash
python3 -m pip uninstall instapy-chromedriver
python3 -m pip install --user instapy-chromedriver==2.36.post0
```

if this is not working try the following:

* cd into instpay-client folder

```bash
mkdir assets && cd assets
wget https://github.com/electron/electron/releases/download/v3.0.0-beta.5/chromedriver-v3.0.0-beta.5-linux-armv7l.zip
unzip chromedriver-v3.0.0-beta.5-linux-armv7l.zip
chmod 755 chromedriver
chmod +x chromedriver
sudo apt-get remove chromium
```

### register more bots

if you are on a different machine just follow the steps [register a bot](#register-a-bot) again.

* copy the whole client folder to a different folder
* edit `.env` or `instapy.env`
* change `IDENT=...` to something new
* start the new client
* in the start panel of instapy.io you now have 2 bots in the select bot dropdown menu

## guides

**[how to start contributing](docs/contributing.md)**

## support

### troubleshoot

#### no module named 'pip'

* run `curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py`
* execute the downloaded file
* on linux or mac run `./env/bin/python3 get-pip.py`
* on windows run `.\env\Scripts\python.exe get-pip.py`
* reinstall the requirements
* on linux or mac run `./env/bin/pip3 install -r requirements.txt`
* on windows run `.\env\Scripts\pip.exe install -r requirements.txt`

#### certificate verify failed

in the client after `logged in with user: ` you get the following error:

```error
certificate verify failed: unable to get local issuer certificate
```

please have a look at [this](https://stackoverflow.com/questions/52805115/certificate-verify-failed-unable-to-get-local-issuer-certificate) stack overflow post to resolve the issue.

#### global name 'f' is not defined

```error
Traceback (most recent call last):
File "start.py", line 175, in
TOKEN = get_token(username, password)
File "start.py", line 64, in get_token
print(f,"authenticate {username} to {url} ...")
NameError: global name 'f' is not defined
```

you need to use python version `3.6` or higher. the f-string format got implemented in that version.

---

**disclaimer:** please note that this is a research project. i am by no means responsible for any usage of this tool. use on your own behalf. i am also not responsible if your accounts get banned due to extensive use of this tool.

---

_we love lowercase_