Oxygen Miner Telegram Mini App Bot
For README in Bahasa Indonesia:
- Auto Collect Food
- Auto Claim Daily Check-in
- Auto Open Box
- Auto Use Item from Box (deactivated by default)
- Auto Claim Combo (using .env)
- Auto Upgrade Boost
- Auto Clear Mission / Tasks
- Auto Play Game (need 1 referral)
Name | Description | Default |
---|---|---|
API_KEY | Custom API KEY | |
MAX_FOOD_LVL | Maximum level to auto upgrade food boost | 50 |
MAX_OXY_LVL | Maximum level to auto upgrade oxy boost | 50 |
TASK_CODES | Task or mission id | ["okx","tappc_c","tappc_p","oxy-yt","oxy-tg", "join_tw","oxy-chat", "oxy-chat-en", "join_ds", "join_guild", "acki", "vp_pig","vp_qqq"] |
AUTO_USE_ITEM | Auto use item from box | False |
RANDOM_PLAY_GAME | Randomize how many to play ufo game | [2, 5] |
GAME_SCORES | Randomize score for each play ufo game | [80, 100] |
USE_RANDOM_DELAY_IN_RUN | Activate delay before start the bot | True |
RANDOM_DELAY_IN_RUN | Randomize delay seconds before start the bot | [1, 15] |
USE_PROXY_FROM_FILE | For using proxy | False |
Make sure you already install:
- Python version 3.10
This script use custom API KEY, The API KEY itself is for rent only
you can chat me, Irham to ask how much the rent price !
Clone to your PC / VPS:
git clone https://github.com/dzuhri-auto/oxygen.git
Go inside to the folder:
cd oxygen
Then use this command for automatic install:
Windows :
windows\install.bat
Mac / Linux / VPS :
sudo chmod +x ubuntu/install.sh ubuntu/run.sh ubuntu/update.sh
source ./ubuntu/install.sh
note : dont forget to edit file .env
and profiles.json
the profile.json
need to have this format:
# 1 account
[
{
"session_name": "account-1",
"tg-id":"<tg-id>",
"secret": "<secret>",
"cookie":"<cookie>"
}
]
# multi account
[
{
"session_name": "account-1",
"tg-id":"<tg-id>",
"secret": "<secret>",
"cookie":"<cookie>"
},
{
"session_name": "account-2",
"tg-id":"<tg-id>",
"secret": "<secret>",
"cookie":"<cookie>"
}
]
for tg-id
, secret
and cookie
you can get from:
- Open oxygen miner bot in telegram web chrome
- Open developer console chrome
- Open tab
network
- Filter
login
- Check the request and copy
tg-id
,secret
dancookie
.
![Screenshot 2024-09-12 at 04 32 43](https://private-user-images.githubusercontent.com/20145592/366685773-f8efa9b4-04ae-4697-8206-0980df99a09b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2MDI4MTEsIm5iZiI6MTczOTYwMjUxMSwicGF0aCI6Ii8yMDE0NTU5Mi8zNjY2ODU3NzMtZjhlZmE5YjQtMDRhZS00Njk3LTgyMDYtMDk4MGRmOTlhMDliLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDA2NTUxMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ2ZjkwZTA3OGVlNDRiYWYxMDRjNWU4YzEyNGE2OTEzZDgyNjBiY2I1M2QyM2JkMTVkMDM3ZDNiY2VmMWU5NGYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.9po_EIJQKtWtaaJTuQ45dupfE2FSNdFfUn_KxM_VzKg)
After install we can update using API KEY:
Windows :
$filePath = ".env"
$searchPattern = "^API_KEY="
$replacement = 'API_KEY="YOUR API KEY"'
(Get-Content $filePath) -replace $searchPattern + '.*', $replacement | Set-Content $filePath
Mac / Linux / VPS :
sed -i~ '/^API_KEY=/s/=.*/="YOUR API KEY"/' .env
# example if your API KEY = "aisjiqiqssq"
# sed -i~ '/^API_KEY=/s/=.*/="aisjiqiqssq"/' .env
For run the bot:
Windows :
windows\run.bat
Mac / Linux / VPS :
./ubuntu/run.sh
For update the bot:
Windows :
windows\update.bat
Mac / Linux / VPS :
./ubuntu/update.sh