Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

TheCaduceus/WARP-UNLIMITED-ADVANCED

Repository files navigation

♻️ WARP UNLIMITED ADVANCED

Get unlimited amount of data in Cloudflare's WARP, most versatile code written 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!

📑 Features

1.Get 1GB per 30-50 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.Avoid hosting this program on platforms involving shared IPs to prevent response code 429 [Too many requests]. Prefer running this on your personal devices.
4.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 in 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_CLIENT_ID: Enter your WARP Client ID. How to get?. str
  • SEND_LOG: Get notification on Telegram regarding total data generated, total attempts & failed attempts. Value can be True or False only. bool
  • TELEGRAM_BOT_TOKEN: Enter Telegram Bot Token from @BotFather. Required if SEND_LOG is True. str
  • CHAT_ID: Enter chat id of chat (channel or group) where you want to get log message from your bot like -1234567890 (for private chats) or @mychannel and @mygroup (for public chats). You can also pass ID of a particular user to get log message as personal message by bot but make sure to send /start command to bot as personal message (in order to authorize the bot). str
  • HIDE_WC_ID: To hide your WARP Client ID from log message. Value can be True or False only. bool

🕹️ 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 following deploy button.

Deploy on Heroku

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

image

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

5

4.Done! now you can check logs.

🧿 Host on Railway

1.First, create account or login on Railway

2.Now click the following Railway deployment button:

Deploy on Railway

3.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 support 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 pip

For Mac: (HomeBrew)

brew install [email protected] 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.

nano config.py

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 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

2.Download Git:

pkg install git

3.Update all dependencies:

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

4.Download Repository:

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

5.Install requirements:

pip install -r requirements.txt

6.Change directory:

cd WARP-UNLIMITED-ADVANCED

7.Run the program:

python warp.py

3. After doing above steps, enter your WARP Client ID.

🎲 Run on Replit

1.Open repl: Open it

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

image

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

2.To install Notebook:

pip install notebook

3.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 Linux:

Get activation key in the mobile app, then open terminal and execute:

warp-cli set-license $KEY_HERE

📥 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 "429" error which indicates that API is getting too many requestes from the same account or IP and that's why there is a cooldown timer of 30-50 seconds to prevent this.

2.How to resolve "429" error?

First make sure you are running 3 or less than 3 (<3) instances of this program for same account and if this error still persist then possible reason can be that you or platform where you hosted this program is making use of shared IPs, prefer using dedicated IPs. Try running this in your personal devices.

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.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.

5.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 update channel at Telegram: @TheCaduceusOfficial

Directly contact the developer using Telegram.

❤️Credits & Thanks

Dr.Caduceus: For rewriting the script with httpx, adding Telegram notification, Docker & adding major PAAS platforms support.
ALI-B: For base repository (now disabled by GitHub).