This proxy is mainly used to bypass restrictions in some networks. Also, this script is not associated with or created by TETR.IO or osk.
As I write this, I am a student in a French school and the thing is, when I'm bored in class, I want to play TETR.IO but actually can't because of network restrictions.
So there my solution is to self-host a proxy on a VPS or a Raspberry PI at home, to be able to play TETR.IO without any restrictions !
We simply download all the resources from TETR.IO and serve them ourselves so that we can bypass the Cloudflare Browser Verification - which many online proxies can't actually pass.
- Check if you have Node.js and pnpm installed
- Use
git
to clone this repository withgit clone https://github.com/Vexcited/tetrio-proxy
- Go into the created folder,
cd tetrio-proxy
- Install the dependencies,
pnpm install
. You can also optionally update theindex.html
file, manually. You should do that if the app can't load anymore, otherwise don't touch thepublic/index.html
- Run
pnpm refresh
to install/update the game files from TETR.IO - Run
pnpm start
and the web server will start on port4080
, by default
Open a web browser and go to https://tetr.io
. Wait for the Cloudflare Browser Verification to complete and wait until TETR.IO is loaded.
Now, open the DevTools with F12 and head on to the Sources tab.
In top>tetr.io>
, you'll find index.html
. Right click on it and Save as index.html
somewhere.
Now, move this file to the root public
folder
of this repository.
./css
, should only containtetrio.css
./js
, should only containtetrio.js
./sfx
, should only containtetrio.ogg
./res
, should contain all the resources. Some may miss so if you have missing resources, feel free to open an issue !./index.html
, entry-point of the game../sw.js
, service-worker for caching../bootstrap.js
, bootstrap for the scripts and game../favicon.ico
, browser's tab icon.