Skip to content

Commit

Permalink
Merge branch 'main' of https://www.github.com/new92/IGFI
Browse files Browse the repository at this point in the history
  • Loading branch information
new92 committed Feb 5, 2024
2 parents 33b03c8 + 7781c89 commit 8ebb91f
Show file tree
Hide file tree
Showing 4 changed files with 59 additions and 13 deletions.
16 changes: 6 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
FROM python:3.8
FROM python:3.8-slim

WORKDIR /IGFI

COPY files/requirements.txt
COPY . /IGFI

RUN pip install --no-cache-dir -r /IGFI/requirements.txt
RUN pip install --no-cache-dir -r files/requirements.txt

COPY ..
EXPOSE 5000

WORKDIR /IGFI/scripts
ENV NAME IGFI

EXPOSE 80

ENV IGFI production

CMD ["python", "igfi.py"]
ENTRYPOINT ["python", "igfi.py"]
53 changes: 51 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ With IGFI, you can effortlessly increase their followers by simply logging in. *

> If you find this repository helpful, please consider giving it a star and/or forking it. Your support encourages me to keep sharing similar repositories. If you encounter any issues, have suggestions, or simply didn't like the script, feel free to contact me anytime at <a href='mailto:new92github@gmail.com'>this email address</a>, or start a <a href="https://github.com/new92/IGFI/discussions">discussion</a>, or open an <a href="https://github.com/new92/IGFI/issues">issue</a>. Any form of feedback is welcome and appreciated (please refrain from using vulgar language).
[![github-stats-card](https://kasroudra-stats-card.onrender.com/repo?user=new92&repo=IGFI&layout=compact&theme=vue)](https://github.com/KasRoudra/github-stats-card)


## Urls πŸ”—

Expand Down Expand Up @@ -52,7 +54,52 @@ python -m pip install -r ./files/requirements.txt
python3 ./cookies.py
python3 ./igfi.py -u <username> -p <password> --session <session_file>
```


### Docker πŸ‹

```bash
git clone https://github.com/new92/IGFI
cd IGFI
docker build -t IGFI .
docker run -p 4000:80 IGFI
```

## Virtual environment setup πŸ’»

### Windows πŸͺŸ

```bash
git clone https://github.com/new92/IGFI
cd IGFI
python -m venv igfi
.\igfi\scripts\activate
pip install -r ./files/requirements.txt
python3 ./cookies.py
python3 ./igfi.py -u <username> -p <password> --session <session_file>
```

### Linux 🐧 / MacOS 🍎

```bash
git clone https://github.com/new92/IGFI
cd IGFI
python -m venv igfi
source venv/bin/activate
pip install -r ./files/requirements.txt
python3 ./cookies.py
python3 ./igfi.py -u <username> -p <password> --session <session_file>
```

##### Virtual environment deactivation πŸ“­

##### Windows πŸͺŸ

`.\venv\Scripts\deactivate`

##### Linux 🐧 / MacOS 🍎

`deactivate`

## Update πŸ”„οΈ

```bash
Expand All @@ -70,8 +117,10 @@ git pull

## Features πŸš€

- [ ] Script that doesn't depend on third-party modules.
- [ ] Script which doesn't depend on third-party modules.
- [ ] GUI
- [ ] Docker support
- [x] ~~Virtual environment setup~~
- [x] ~~Execute the script directly from terminal (using argparse)~~
- [ ] V4 (this version will include the features as shown above and some extra)
- [x] ~~Display the usernames of the followers added~~ **<a href="https://github.com/new92/IGFI/scripts/tree/main/igfi.py">URL</a>**
Expand Down
1 change: 1 addition & 0 deletions files/consent.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

2 changes: 1 addition & 1 deletion igfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@
headers = {
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36'
}
js = ''
js = {}
resp = requests.get('https://api.github.com/repos/new92/IGFI', headers=headers)
if resp.status_code == 200:
js = resp.json()
Expand Down

0 comments on commit 8ebb91f

Please sign in to comment.