Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashuxd-X committed Oct 10, 2024
0 parents commit 3215b81
Show file tree
Hide file tree
Showing 11 changed files with 1,217 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build and Push Docker Image

on:
push:
branches:
- main

jobs:
push_to_registry:
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Check out the repo
uses: actions/checkout@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: 'Build Inventory Image'
run: |
docker build . --tag ghcr.io/orrnobmahmud/blumauto:latest
docker push ghcr.io/orrnobmahmud/blumauto:latest
26 changes: 26 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
*.log
*.json
*.py
!bot.py
*.html
*.txt
!data.txt
*.js
env
session
sessions
*.session
__pycache__
flows*
*-*
disin
!config.json
!proxies.txt
!requirements.txt
1
2
3
4
5
!models.py
!report.py
22 changes: 22 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
FROM ubuntu:24.04

# install python, git, bash
RUN apt update && apt upgrade -y \
&& apt install -y python3 python3-pip git bash

# break system packages
RUN mkdir -p /root/.config/pip \
&& echo "[global]\nbreak-system-packages = true" > /root/.config/pip/pip.conf

WORKDIR /app

# clone repo
RUN git clone https://github.com/orrnobmahmud/blumauto.git

WORKDIR /app/blumauto

# install dependencies
RUN python3 -m pip install -r requirements.txt

# run
CMD ["python3", "bot.py"]
214 changes: 214 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,214 @@
# BlumAuto
Follow This Installation Guide https://t.me/savanop121

# Warning

"Users assume all responsibility and risk associated with the use of this bot/program script."

## Features

- ✅ Auto Claim
- ✅ Daily Auto Claim
- ✅ Proxy Support (see [Proxy Setup](#proxy-setup))
- ✅ Multi-Account Support
- ✅ Auto Claim Bonus Referral
- ✅ Auto Task Completion (details in [Config.json Overview](#configjson-overview))
- ✅ Automated Game Play (random user input, see [Config.json Overview](#configjson-overview))


# Register ?

Click the following url to register : [https://t.me/BlumCryptoBot/app?startapp=ref_aPYIYj1oKc](https://t.me/blum/app?startapp=ref_naPVKFOOD1)

# How to Use

## Bot.py parameter feature

Here are some parameters to enable feature

| parameter | description |
| --------- | ---------------------------------------------- |
| --data | set custom file data input (default: data.txt) |

## About Config.json

Here Config.json Description
| key | description |
| ------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| interval | value type is integer/real number <br> interval is delay between accounts |
| auto_complete_task | value type is bool (true/false), enable (true) to active auto complete task |
| auto_play_game | value type is bool (true/false), enable (true) to active auto play game |
| game_point | value type is integer/real number<br>low : minimum points earned when playing the game <br><br>high : maximal points earned when playing the game |

## About Proxy

Register on this site to get free proxy : [Here](https://www.webshare.io/)

You can add your proxy list in `proxies.txt` and proxy format is like example below :

Format :

```
http://host:port
http://user:pass@host:port
```

Example :

```
http://127.0.0.1:6969
http://user:pass@127.0.0.1:6969
socks5://127.0.0.1:6969
socks5://user:pass@127.0.0.1:6969
```

## Windows

1. Make sure you computer was installed python and git.

Suggestion: Use python version 3.8+ (3.8 and above or latest)

python site : [https://python.org](https://python.org)

git site : [https://git-scm.com/](https://git-scm.com/)

2. Clone this repository
```shell
git clone https://github.com/orrnobmahmud/blumauto.git
```

3. goto blumauto directory
```
cd blumauto
```

4. install the require library
```
python -m pip install -r requirements.txt
```

5. Edit `data.txt`, input you data token in `data.txt`, find you token in [How to Find Account Token](#how-to-find-account-token). One line for one data account, if you want add you second account add in new line!

6. execute the main program
```
python bot.py
```

## Linux

1. Make sure you computer was installed python and git.

Suggestion: Use python version 3.8+ (3.8 and above or latest)

python
```shell
sudo apt install python3 python3-pip
```
git
```shell
sudo apt install git
```

2. Clone this repository

```shell
git clone https://github.com/Savanop121/blum.git
```

3. goto blumauto directory

```shell
cd blumauto
```

4. Install the require library

```
python3 -m pip install -r requirements.txt
```

5. Edit `data.txt`, input you data token in `data.txt`, line for one data account, if you want add you second account add in new line!

6. execute the main program
```
python bot.py
```

## Termux

1. Make sure you termux was installed python and git.

python
```
pkg install python
```

git
```
pkg install git
```

2. Clone this repository
```shell
git clone https://github.com/orrnobmahmud/blumauto.git
```

3. goto blumauto directory
```
cd blumauto
```

4. install the require library
```
python -m pip install -r requirements.txt
```

5. Edit `data.txt`, input you data token in `data.txt`. One line for one data account, if you want add you second account add in new line!

6. execute the main program
```
python bot.py
```

## Docker

1. Make sure that docker is installed on your system.
2. Edit `data.txt`, input you data token in `data.txt`. One line for one data account, if you want add you second account add in new line!
3. Run docker container

```
docker run -it \
-v "./data.txt:/app/blumauto/data.txt" \
ghcr.io/orrnobmahmud/blumauto:latest
```

or use compose:

```
docker compose up
```

# Javascript Command to Get Telegram Data for Desktop

```javascript
copy(Telegram.WebApp.initData)
```

# Run for 24/7

You can run the script continuously using a VPS or RDP. Use the screen application on a Linux VPS to keep the script running in the background.

# Discussion

If you have any questions or need further assistance, join : https://t.me/savanop121

## Q&A

**Q: Is it necessary to use a proxy with this bot/program script?**

**A:** No, using a proxy is not required for this bot/program script.

**Q: How can I configure and use a proxy?**

**A:** To use a proxy, simply fill out the `proxies.txt` file according to the provided format.

Loading

0 comments on commit 3215b81

Please sign in to comment.