# ♻️ WARP UNLIMITED ADVANCED **Get Unlimited amount of Data in Cloudflare's WARP/WARP+ VPN, most versatile code translated in our beloved Python ! 😍**
## **πŸ“‘ INDEX** #### **Easily navigate through out the guide and pick the best method that suits you and your requirements!** + [**♻️ WARP UNLIMITED ADVANCED**](#warp-unlimited-new-methods) + [**πŸ†• What's New**](#whats-new) + [**πŸ“‘ Features**](#features) + [**πŸͺ§ Before you Proceed**](#before-you-proceed) + [**βš™οΈ How to use ? πŸ˜… How to get WARP CLIENT ID ?**](#how-to-use) + [**β†’ πŸ•ΉοΈ Run on Google Colab**](#run-on-google-colab) + β†’ Deploy on Koyeb (24x7) + [**β†’ ⚑ Host on Heroku (24Γ—7)**](#host-on-heroku) + [**β†’ 🧿 Host on Railway (24Γ—7)**](#host-on-railway) + [**β†’ πŸͺ¬ Host on Okteto (24Γ—7)**](#host-on-okteto) + [**β†’ πŸ–₯️ Run on Computer/VPS**](#run-on-computer) + [**β†’ 🧫 Deploy through GitHub Actions**](#deploy-using-github-actions) + [**β†’ πŸ“² Run on Mobile Phone**](#run-on-mobile-phone) + [**β†’ 🎲 Run on Replit**](#run-on-replit) + [**β†’ 🧰 Run on Jupyter Server**](#run-on-jupyter-server) + [**β†’ πŸ“ˆ Update Values (πŸ“² For Mobile & πŸ–₯️ For Windows/Linux)**](#update-values) + [**🎯 Points to be Remembered**](#points-to-be-remembered) + [**πŸ“₯ Download Cloudflare WARP (1.1.1.1)**](#download-cloudflare-warp-1111) + [**❓FAQ**](#faq) + [**πŸ–₯️ How to use this Data on PC ?**](#how-to-use-this-data-on-pc) + [**β›‘ Contact Us**](#contact-us) + [**❀️ Credits & Thanks**](#credits-thanks) + [**🍡 Other Projects**](#other-projects) ## **πŸ†• 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](https://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.8.x`, `3.9.x`,`3.10.x` & `3.11.x`.** ## **βš™οΈ How to use ?** #### **0. First Get your WARP CLIENT ID by going into `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 set as Environment Variables, while you can also enable `INTERACTIVE_MODE` to enter new values during each run.** - **`ENV`: Set it to `True` if you let program get values from system environment or `False` if you are filling it in `config.py` itself or incase 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?](#how-to-use) `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](https://botfather.t.me/). Required if `SEND_LOG` is `True`. `str`** - **`CHAT_ID`: Enter CHAT_ID on which you want log message to be sent. It can be Chat ID (mostly for private chats) like `-1001877005515` or Chat 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](https://colab.research.google.com/github/TheCaduceus/WARP-UNLIMITED-ADVANCED/blob/main/ipynb/Colab.ipynb)** #### **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](./Img/3.jpg)

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](https://www.koyeb.com/static/images/deploy/button.svg)](https://app.koyeb.com/apps/deploy?type=docker&image=ghcr.io/thecaduceus/warp-unlimited-docker:koyeb&name=warpunlimitedadvanced&ports=8080;http;/&env[WARP_ID]=Enter-WARP-ID&env[SEND_LOG]=0&env[CHAT_ID]=Enter-CHAT-ID&env[BOT_TOKEN]=Enter-BOT-TOKEN&env[HIDE_ID]=Enter-Value) #### **2. Fill the given variables as [discussed above](#variables) and click `Deploy`.** ![image](https://user-images.githubusercontent.com/87380104/205840843-2a22d443-c864-4435-935e-9078a8091f73.png) #### **3. While deployment, you can choose `Nano` instance type since it requires <256 RAM.** ![image](https://user-images.githubusercontent.com/87380104/205841570-6a43c020-eecf-4574-8c53-41f9454b5d79.png) #### **β›”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](./Img/Heroku%20Deployment%20Button.png)](https://heroku.com/deploy?template=https://github.com/TheCaduceus/WARP-UNLIMITED-ADVANCED/tree/sys-env) #### **2. Now, enter the values as discussed above and click `Deploy` button.** ![4](./Img/Heroku_Vars.png) #### **3. After Deployment, click `Manage App` button and then click `Resources Tab` and enable the dyno.** ![5](./Img/5.png) #### **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](https://railway.app/)** ![](./Img/3.1.png) #### **2. Now click the following Railway deployment button:** [![Deploy on Railway](https://railway.app/button.svg)](https://railway.app/new/template/e0er7k?referralCode=PFHpF8) #### **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](https://cloud.okteto.com/#/login)** ![](./Img/1.1.png) #### **2. Now import this Repository and deploy it on Okteto.** ![](./Img/Import.png) #### **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](https://cron-job.org) to automatically restart your program once it sleeps after 24 hours.** ## **πŸ–₯️ Run on Computer/VPS** #### **1. If your PC don't have python & git, then install them first: [Python](https://www.python.org/downloads/), [Git](https://git-scm.com/downloads)** #### **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](#variables).** #### **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.** ![](./Img/3.2.jpeg) #### **2. Now open the settings of your Forked Repository and click Secrets β†’ Actions.** ![](./Img/2.0.jpeg) #### **3. After doing that, create following values as secret + values [discussed here](#variables):** + `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](https://github.com/termux/termux-app/releases/latest) *(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. Download Repository: ``` git clone https://github.com/TheCaduceus/WARP-UNLIMITED-ADVANCED.git ``` 4. Install requirements: ``` pip install -r requirements.txt ``` 6. Run the program: ``` python warp.py ``` 7. 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 ``` ![](./Img/Termux-Error-1.jpeg) #### **3. After doing above steps, enter your WARP CLIENT ID and get started.** ## **🎲 Run on Replit** #### **1. Open our repl: [Open it](https://replit.com/@TheCaduceus/WARP-UNLIMITED)** #### **2. Enter your WARP CLIENT ID and press enter to run the program.** ![](./Img/repl-2.jpg) #### **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](https://www.python.org/downloads/)** #### **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. To install Voila: ``` pip install voila ``` 4. 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.** ![](./Img/jp-1.png) ![](./Img/jp-2.png) #### **4. Now Download the "Server.ipynb" file: [from here only](https://github.com/TheCaduceus/WARP-UNLIMITED-ADVANCED/blob/main/ipynb/Server.ipynb)** #### **5. After downloading it, locate that file through your Jupyter server and open it as shown in the image and click Run.** ![](./Img/jupyter-server-pre.png) #### **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, Open App in `Mobile β†’ Settings β†’ Account β†’ Copy Key`** ### **🐧 For Linux:** #### **Get your account ID in the Mobile App (`Settings β†’ Account β†’ Copy Key`), then open a terminal and type `warp-cli set-license {the key you copied}`** ## **🎯 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](https://play.google.com/store/apps/details?id=com.cloudflare.onedotonedotonedotone)** **πŸ“ŸiOS: [Download](https://itunes.apple.com/us/app/1-1-1-1-faster-internet/id1423538627)** **πŸ–₯️Windows: [Download](https://1111-releases.cloudflareclient.com/windows/Cloudflare_WARP_Release-x64.msi)** **🍎Mac: [Download](https://1111-releases.cloudflareclient.com/mac/Cloudflare_WARP.zip)** **πŸ’»Linux: [Download](https://pkg.cloudflareclient.com/)** ## **❓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](https://github.com/TheCaduceus/WARP-UNLIMITED-ADVANCED/issues/3) for more details on this.** #### **3. Will this program cause any kind of ban from Cloudflare?** **No, this program don't 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 ?** ![](./Img/Termux-Error-1.jpeg) **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 this program just take 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](https://github.com/TheCaduceus/WARP-UNLIMITED-ADVANCED/issues/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](https://t.me/TheCaduceusOfficial)** #### **Directly Contact the Developer using Telegram [@HelpAutomatted_Bot](https://telegram.me/HelpAutomatted_Bot)** ## **❀️Credits & Thanks** **[Dr.Caduceus](https://github.com/TheCaduceus): For heavy modification as well as making New 10 Methods and this all in one Guide.** **[ALI-B](https://github.com/ALIILAPRO): The Original Developer of the Base Script** ## 🍡Other Projects - **[Dr.Graph](https://drgraph.cf/): Online Anonymous Text / Pasting platform without limits.** - **[Dr.FileStreamBot](https://drfilestreambot.t.me/): Get Download / Stream links for Telegram files and use as host.**