GithubHelp home page GithubHelp logo

thecaduceus / warp-unlimited-advanced Goto Github PK

View Code? Open in Web Editor NEW
845.0 10.0 503.0 3.64 MB

Get unlimited amount of data in Cloudflare's WARP VPNπŸ”₯

License: GNU General Public License v3.0

Jupyter Notebook 51.19% Dockerfile 0.93% Python 47.75% Procfile 0.13%
cloudflare vpn unlimited script python pc activation key warp cloudflare-warp

warp-unlimited-advanced's Introduction

♻️ 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).

warp-unlimited-advanced's People

Contributors

adarsh-goel avatar edm115 avatar imgbotapp avatar inferno0230 avatar praveensenpai avatar ravindusha avatar sourcery-ai[bot] avatar thecaduceus avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

warp-unlimited-advanced's Issues

Output: Too many Requests

is there anyway to increase the wait duration on the pc script with python as i get a lot of failure due to to many request when doing it but if i close it and wait about 15 seconds or 30 seconds it starts up fine with no issue for a while then it stops later on

BUG

2022-08-13T16:07:24.758702+00:00 app[worker.1]: response = self.parent.error(
2022-08-13T16:07:24.758710+00:00 app[worker.1]: File "/usr/local/lib/python3.9/urllib/request.py", line 561, in error
2022-08-13T16:07:24.758860+00:00 app[worker.1]: return self._call_chain(*args)
2022-08-13T16:07:24.758867+00:00 app[worker.1]: File "/usr/local/lib/python3.9/urllib/request.py", line 494, in _call_chain
2022-08-13T16:07:24.759008+00:00 app[worker.1]: result = func(*args)
2022-08-13T16:07:24.759011+00:00 app[worker.1]: File "/usr/local/lib/python3.9/urllib/request.py", line 641, in http_error_default
2022-08-13T16:07:24.759171+00:00 app[worker.1]: raise HTTPError(req.full_url, code, msg, hdrs, fp)
2022-08-13T16:07:24.759197+00:00 app[worker.1]: urllib.error.HTTPError: HTTP Error 403: Forbidden
2022-08-13T16:07:24.891381+00:00 heroku[worker.1]: Process exited with status 1
2022-08-13T16:07:25.108706+00:00 heroku[worker.1]: State changed from up to crashed

this why canot run and failed deploy i done fill requirement and right

500 error with Google Colab

Seem to get a 500 error in setup when trying to run on Google Colab:

Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Requirement already satisfied: httpx in /usr/local/lib/python3.10/dist-packages (0.24.0)
Requirement already satisfied: certifi in /usr/local/lib/python3.10/dist-packages (from httpx) (2022.12.7)
Requirement already satisfied: httpcore<0.18.0,>=0.15.0 in /usr/local/lib/python3.10/dist-packages (from httpx) (0.17.0)
Requirement already satisfied: idna in /usr/local/lib/python3.10/dist-packages (from httpx) (3.4)
Requirement already satisfied: sniffio in /usr/local/lib/python3.10/dist-packages (from httpx) (1.3.0)
Requirement already satisfied: h11<0.15,>=0.13 in /usr/local/lib/python3.10/dist-packages (from httpcore<0.18.0,>=0.15.0->httpx) (0.14.0)
Requirement already satisfied: anyio<5.0,>=3.0 in /usr/local/lib/python3.10/dist-packages (from httpcore<0.18.0,>=0.15.0->httpx) (3.6.2)
FAILED: 500
Sleep: 45 seconds.

How to turn off alarm sound?

Thank you for your useful App!!
I am running it on my PC, every 20 seconds it rings me, kind of annoying.
How to turn off this alarm sound?

not opening file in cmd

i am using your cmd with telegram log enable script. I follow all your steps but when i open that warp.py file it not opening.when i try to open that file then command prompt opens and close automatically in 1 second

okteto wla error

2022-11-02 03:54:23.44 UTCwarp-unlimited-8d47dfc77-mfnh7warp-unlimitedHit CTRL-C to stop the server
2022-11-02 03:54:23.44 UTCwarp-unlimited-8d47dfc77-mfnh7warp-unlimited
2022-11-02 03:54:28.34 UTCwarp-unlimited-8d47dfc77-mfnh7warp-unlimitedTraceback (most recent call last):
2022-11-02 03:54:28.34 UTCwarp-unlimited-8d47dfc77-mfnh7warp-unlimited File "/app/warp-plus.py", line 78, i

suggestion is to add option to use warp.py using 1 or 0

I got FAILED error message while running the notebook on Google Colab

Here is the error log

Looking in indexes: https://pypi.org/simple, https://us-python.pkg.dev/colab-wheels/public/simple/
Collecting httpx
Downloading httpx-0.24.0-py3-none-any.whl (75 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 75.3/75.3 kB 1.4 MB/s eta 0:00:00
Requirement already satisfied: certifi in /usr/local/lib/python3.10/dist-packages (from httpx) (2022.12.7)
Collecting httpcore<0.18.0,>=0.15.0
Downloading httpcore-0.17.0-py3-none-any.whl (70 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 70.6/70.6 kB 5.7 MB/s eta 0:00:00
Requirement already satisfied: sniffio in /usr/local/lib/python3.10/dist-packages (from httpx) (1.3.0)
Requirement already satisfied: idna in /usr/local/lib/python3.10/dist-packages (from httpx) (3.4)
Requirement already satisfied: anyio<5.0,>=3.0 in /usr/local/lib/python3.10/dist-packages (from httpcore<0.18.0,>=0.15.0->httpx) (3.6.2)
Collecting h11<0.15,>=0.13
Downloading h11-0.14.0-py3-none-any.whl (58 kB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.3/58.3 kB 1.8 MB/s eta 0:00:00
Installing collected packages: h11, httpcore, httpx
Successfully installed h11-0.14.0 httpcore-0.17.0 httpx-0.24.0
FAILED: 429
Sleep: 33 seconds.

Vps installation

I was trying to install warp unlimited on oracle vps. But i am facing problem when executing last command
py warp-plus.py

Please help

IMG_20230625_184729

The Data Remaining doesnt decrease

Hello, I have follow up your instruction to get unlimited data, but look like sometimes it doesnt work correctly.
First, I ran your script on google colab and data was increase, after that i reset encrypt key on IOS, It worked but I usually recheck the data after 30' that I search web, tiktok, fb, ... and see that the data will be decrease in a "random time".
It also doesnt work on Windows, I copied the license key on IOS and pasted on PC, I also rechecked like I did on IOS, I re-enter the license key on WARP Windows, but the data nerver decrease one time.
Please check again, thank you.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.