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.gitGo inside to the folder:
cd oxygenThen use this command for automatic install:
Windows :
windows\install.batMac / Linux / VPS :
sudo chmod +x ubuntu/install.sh ubuntu/run.sh ubuntu/update.shsource ./ubuntu/install.shnote : 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,secretdancookie.
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 $filePathMac / Linux / VPS :
sed -i~ '/^API_KEY=/s/=.*/="YOUR API KEY"/' .env
# example if your API KEY = "aisjiqiqssq"
# sed -i~ '/^API_KEY=/s/=.*/="aisjiqiqssq"/' .envFor run the bot:
Windows :
windows\run.batMac / Linux / VPS :
./ubuntu/run.shFor update the bot:
Windows :
windows\update.batMac / Linux / VPS :
./ubuntu/update.sh