devAlikhani / WARP-UNLIMITED-ADVANCED

Get unlimited amount of data in Cloudflare's WARP VPN🔥

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

♻️ WARP UNLIMITED ADVANCED

Get unlimited amount of data in Cloudflare's WARP, most versatile code translated in our beloved Python! ethically of course.

📑 INDEX

Easily navigate through out the guide and pick the best method that suits you and your requirements!

🆕 What's New

1. New Interactive mode!
2. Get values from System Environment.
3. Log Events inside runtime-log.txt
4. Fixed error when SEND_LOG is not enabled & BOT_TOKEN not provided.
5. New repl for replit.com.
6. Added building instructions in Dockerfile for Docker Image.
7. Fixed the broken code due to which program was not working.
8. Bot will now not flood chat with multiple messages, will edit same message continuously.
9. Changed CHANNEL_ID to CHAT_ID.
10. Replaced config.env with config.py
11. Fixed Okteto deployment.
12. Updated README.md as per v4.5.7
13. Moved all .ipynb files to ipynb folder.
14. Deploy on Koyeb totally for free.

📑 Features

1. Get 1GB per 20 seconds ! 🔥

2. Run this almost everywhere ! 🤗

3. Get notification on Telegram. 🔔

🪧 Before you Proceed

1. It doesn't matter if you have WARP or WARP+, this program works for both.
2. We are not hacking or gaining access to any Cloudflare system or their servers nor we are changing any official records illegally. We are just using Official Cloudflare's API.
3.Recommended Python Version: 3.7.x...3.11.x.

⚙️ How to use ?

0. First Get your WARP CLIENT ID by navigating to App > Settings > Advanced > Diagnostics and copy the ID under CLIENT CONFIGURATION section (note that you can get that ID only in the mobile app, not on the desktop app)

1

✏️ Variables

Below given variables should be filled in config.py file or can be passed as Environment Variables (ENVs), added to this you can also enable INTERACTIVE_MODE to enter new values during each run.

  • ENV: Set it to True to let program get values from system environment or False if you are filling it in config.py itself or in case of INTERACTIVE_MODE bool
  • INTERACTIVE_MODE: Set it to True if you want program to ask for new values during each run or simply False. bool
  • WARP_ID: Enter your WARP CLIENT ID. How to get? str
  • SEND_LOG: Get notification on Telegram regarding total data generated, total attempts & failed attempts. 0 = No & 1 = Yes. str
  • BOT_TOKEN: Enter Telegram BOT API Token from @BotFather. Required if SEND_LOG is True. str
  • CHAT_ID: Enter CHAT_ID on which you want log message to be sent. It can be group/channel ID (mostly for private chats) like -1001877005515 or group/channel Username like @mychannel or @mygroup. str
  • HIDE_ID: To hide your WARP CLIENT ID from log message sent to your chat. 0 = No & 1 = Yes. str

🕹️ Run on Google Colab

1. Open Code on Google Colab: Open NoteBook

2. Now enter your WARP_CLIENT_ID and run The WARP (1.1.1.1) Code as shown in the Image (click on the Play button on top-left corner)

3

Deploy on Koyeb

Run program totally for free on Koyeb with single click deployment button!

1. Click the following one-click deployment button:

Deploy to Koyeb

2. Fill the given variables as discussed above and click Deploy.

image

3. While deployment, you can choose Nano instance type since it requires <256 RAM.

image

⛔NOTE: This method uses ready-to-use Docker Image made specially for Koyeb, hence any change requires building of new image with NPM's http-server or Flask to listen on port 8000 & 8080.

⚡Host on Heroku

1. First click the below deploy button.

Deploy on Heroku

2. Now, enter the values as discussed above and click Deploy button.

4

3. After Deployment, click Manage App button and then click Resources Tab and enable the dyno.

5

4. Enjoy! now you will get 1GB per 20 Seconds for Lifetime while your Heroku Account exist.

🧿 Host on Railway

1. First, create account or login on Railway

2. Now click the following Railway deployment button:

Deploy on Railway

3. Now, enter the values as discussed above and click Deploy button.

🪬 Host on Okteto

1. First Create your Okteto Account. You need one GitHub account as Okteto supports only one Method to either Create or Login: Create Account

2. Now import this Repository and deploy it on Okteto.

3. After that, carefully add the values as discussed above in Okteto deployment page.

4. Once done, click on Launch button to deploy your repository.

5. Additionally, you can setup cron-job using Cron-Job.org to automatically restart your program once it sleeps after 24 hours.

🖥️ Run on Computer/VPS

1. If your PC not have python & git installed, then install them first:

For Windows: (WinGet)

winget install python3.10
winget install Git.Git

For Linux: (APT)

sudo apt-get update && sudo apt-get install -y python3.10 git

For Mac: (HomeBrew)

brew install python@3.10 git

2. Download Repository:

git clone https://github.com/TheCaduceus/WARP-UNLIMITED-ADVANCED.git

3. Install requirements:

pip install -r requirements.txt

4. Fill config.py as discussed here.

5. Run the program:

py warp-plus.py

6. Logs can be accessed in runtime-log.txt file:

cat runtime-log.txt

🧫 Deploy using GitHub Actions

1. First fork this Repository.

2. Now open the settings of your Forked Repository and click Secrets → Actions.

3. After doing that, create following values as secret + values discussed here:

  • HEROKU_API_KEY - Enter your Heroku API Key as value.
  • HEROKU_APP_NAME - A unique app name in small letters only.
  • HEROKU_EMAIL - Your Heroku Email ID.

4. Go to Actions Tab then click Deploy on Heroku and Run Workflow. Now it will be automatically get deployed on given Heroku Account.

5. It will take maximum 10 Seconds to start the Workflow and minimum 1-2 minutes to get deployed !

📲 Run on Mobile Phone

1. First Download the Termux app from here (Play Store version is deprecated).

2. Now run the following commands in it one by one:

  1. Download Python:
pkg install python
  1. Download Git:
pkg install git
  1. Download Repository:
git clone https://github.com/TheCaduceus/WARP-UNLIMITED-ADVANCED.git
  1. Install requirements:
pip install -r requirements.txt
  1. Run the program:
python warp.py
  1. Getting http/SSL Error ? Run following code to fix it:
termux-setup-storage && pkg update && pkg i git python wget -y && pkg upgrade && pip install --upgrade pip

3. After doing above steps, enter your WARP CLIENT ID and get started.

🎲 Run on Replit

1. Open repl: Open it

2. Enter your WARP CLIENT ID and press enter to run the program.

3. Additionally, you can fork the repl & edit config.py to enable / disable required features.

🧰 Run on Jupyter Server

Setting up the Jupyter Server:

1. First install Python with PIP: from here

2. Now run the CMD / Powershell as Administrator and execute following commands one-by-one:

  1. To install Jupyter:
pip install jupyter
  1. To install Notebook:
pip install notebook
  1. Start Jupyter Server:
python -m notebook

3. Once you started your Server, Jupyter will give you its link (as shown in Image), just open it in your Browser.

4. Now Download the "Server.ipynb" file: from here only

5. After downloading it, locate that file through your Jupyter server and open it as shown in the image and click Run.

6. Now enter your WARP CLIENT ID and press Enter to continue.

📈 Update Values

After deploying or running this program, you have to update the "Data Remaining" value in your App.

📲 For Mobile:

Go to Settings → Advanced → Connection Options → Press Reset Security Keys

🖥️ For Windows:

Just again enter your activation key! For getting activation key, navigate to App → Settings → Account → Copy Key`

🐧 For Linux:

Get activation key in the mobile app (Settings → Account → Copy Key), then open terminal and execute:

warp-cli set-license $KEY_HERE

🎯 Points to be Remembered

1. You have to manually update the value in the app.

2. On your device, the program will run and give you 1GB data / 20 Second while your machine is on and the terminal window is open.

3. If you are hosting this program on your PC or Local System then confirm that it is connected to INTERNET CONNECTION.

📥 Download Cloudflare WARP (1.1.1.1)

Cloudflare's WARP which is based on 1.1.1.1, world's fastest DNS resolver helps you to encrypt your Network traffic and surf the web faster and available for major Operating-Systems (OS):
📱Android: Download
📟iOS: Download
🖥️Windows: Download
🍎Mac: Download
💻Linux: Download

❓FAQ

1. How many instances of the program I can run simultaneously for same account ?

I will recommend to host/run 3 or less than 3 (< 3) instances for each account because Cloudflare's API have request limits. Hosting/Running too many instances can cause "Too many Requests" error which indicates that API is getting too many requestes from the same account and that's why there is a cooldown timer of 20 seconds to prevent this.

2. How to resolve "Too many request" Error ?

As already discussed above, Hosting/Running too many instances for same account cause this. So just switch off some instances and bring down the number to 3 or < 3 instances for the same account. Please refer to Issue #3 for more details on this.

3. Will this program cause any kind of ban from Cloudflare?

No, this program NOT cause ban because it just use the API provided by Cloudflare for referral system. Neither this program create any type of load or bypass any limit set by Cloudflare for their API nor it hacks anything or changes any official record illegally.

4. Program isn't working & producing error as shown in the image in Termux. How to solve ?


You can run the below given command in Termux to fix it easily:

termux-setup-storage && pkg update && pkg i git python wget -y && pkg upgrade && pip install --upgrade pip

5. Does deploying this on Heroku/Railway/Okteto cause any ban?

No, this program comes in category of Cron-Job because program just takes the WARP CLIENT ID from user and arrange it in a particular format and start pinging it in an interval of 20 seconds. This program is lightweight and don't have any load on system. You can refer to Issue #5 for more details on this.

6. I deployed it on a platform that allow setting Environment Variables, but program not accepting it?

Before deploying it on any platform which allow users to set variables in system environment, just make sure you enable ENV mode & disable INTERACTIVE_MODE.

7. Why use this program? we can simply use any mod of WARP app?

WARP+ is for lifting the speed cap imposed by Cloudflare on free users which is server-side limit and it can't be bypassed by just modifying client-side code. So, availabe mods of WARP is fake? yes, they are just showing premium branding while doing nothing in reality.

🖥️ How to use this Data on PC?

Open the WARP app in your Phone and go to Settings > Account > Key and copy the License Key. Now enter that key in WARP app on Windows or MacOS or Linux.

⛑ Contact Us

Join our Update Channel at Telegram: @TheCaduceusOfficial

Directly Contact the Developer using Telegram @HelpAutomatted_Bot

❤️Credits & Thanks

Dr.Caduceus: For heavy modification as well as making New 10 Methods and this all in one Guide.
ALI-B: The Original Developer of the Base Script

🍵Other Projects

  • Dr.Graph: Online Anonymous Text / Pasting platform without limits.
  • Dr.FileStreamBot: Get Download / Stream links for Telegram files and use as host.

About

Get unlimited amount of data in Cloudflare's WARP VPN🔥

License:GNU General Public License v3.0


Languages

Language:Python 51.5%Language:Jupyter Notebook 46.7%Language:Dockerfile 1.7%Language:Procfile 0.1%