vanhbakaa / Fabrika-Friends-Factory

Python bot for Fabrika (Friends Factory) telegram bot. The bot that automated every single things in this mini app. Join here:
https://t.me/fabrika/app?startapp=ref_814151
MIT License
65 stars 7 forks source link
fabrika fabrika-bots friend-factory friendfactory

Table of Contents

[!WARNING] ⚠️ I do my best to avoid detection of bots, but using bots is forbidden in all airdrops. i cannot guarantee that you will not be detected as a bot. Use at your own risk. I am not responsible for any consequences of using this software.

πŸ”₯πŸ”₯ Use PYTHON 3.11.5 πŸ”₯πŸ”₯

Features

Feature Supported
Multithreading βœ…
Proxy binding to session βœ…
Auto ref βœ…
Auto Tap βœ…
Auto boost βœ…
Auto manage factory (buy worker, send worker to work, claim worker reward) βœ…
Auto tasks βœ…
Auto join squad βœ…
Support for pyrogram .session / Query βœ…

Settings

Settings Description
API_ID / API_HASH Platform data from which to run the Telegram session (default - android)
REF_LINK Put your ref link here (default: my ref link)
SQUAD_ID Squad id to join when start bot (default: my squad id)
AUTO_TASK Auto do tasks (default: True)
AUTO_TAP Auto tap to earn point (default: True)
AUTO_BOOST Auto use full energy boost (default: True)
TAP_COUNT Random ammount of taps (default: [30, 75])
SLEEP_BY_MIN_ENERGY Minium energy to sleep (default: 100)
SLEEP_BETWEEN_TAPS Random sleep time between each taps (default: [15, 30])
AUTO_MANAGE_FACTORY Auto manage factory (default: True)
AUTO_BUY_WORKER Auto Buy worker (default: True)
MAX_NUMBER_OF_WORKER_TO_BUY Max number of worker to buy (default: 10)
AUTO_BUY_WORKING_PLACE Auto buy workplaces (default: True)
MAX_NUMBER_OF_WORKING_PLACE_TO_BUY Max workplaces to buy (default: 10 - Max is 20)
ADVANCED_ANTI_DETECTION Add more protection for your account (default: True)
USE_PROXY_FROM_FILE Whether to use a proxy from the bot/config/proxies.txt file (True / False)

Quick Start

To install libraries and run bot - open run.bat on Windows

Prerequisites

Before you begin, make sure you have the following installed:

Obtaining API Keys

  1. Go to my.telegram.org and log in using your phone number.
  2. Select "API development tools" and fill out the form to register a new application.
  3. Record the API_ID and API_HASH provided after registering your application in the .env file.

Installation

You can download the repository by cloning it to your system and installing the necessary dependencies:

https://github.com/vanhbakaa/Fabrika-Friends-Factory.git
cd Fabrika-Friends-Factory

Then you can do automatic installation by typing:

Windows:

run.bat

Linux:

run.sh

Linux manual installation

python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
cp .env-example .env
nano .env  # Here you must specify your API_ID and API_HASH, the rest is taken by default
python3 main.py

You can also use arguments for quick start, for example:

~/Fabrika-Friends-Factory >>> python3 main.py --action (1/2)
# Or
~/Fabrika-Friends-Factory >>> python3 main.py -a (1/2)

# 1 - Run clicker
# 2 - Creates a session

Windows manual installation

python -m venv venv
venv\Scripts\activate
pip install -r requirements.txt
copy .env-example .env
# Here you must specify your API_ID and API_HASH, the rest is taken by default
python main.py

You can also use arguments for quick start, for example:

~/Fabrika-Friends-Factory >>> python3 main.py --action (1/2)
# Or
~/Fabrika-Friends-Factory >>> python3 main.py -a (1/2)

# 1 - Run clicker
# 2 - Creates a session

Termux manual installation

> pkg update && pkg upgrade -y
> pkg install python rust git -y
> git clone https://github.com/vanhbakaa/Fabrika-Friends-Factory.git
> cd Fabrika-Friends-Factory
> pip install -r requirements.txt
> python main.py

You can also use arguments for quick start, for example:

~/Fabrika-Friends-Factory > python main.py --action (1/2)
# Or
~/Fabrika-Friends-Factory > python main.py -a (1/2)

# 1 - Run clicker
# 2 - Creates a session 

Support This Project

If you'd like to support the development of this project, please consider making a donation. Every little bit helps!

πŸ‘‰ Click here to view donation options πŸ‘ˆ

Your support allows us to keep improving the project and bring more features!

Thank you for your generosity! πŸ™Œ

Contacts

For support or questions, you can contact me Static Badge