Update April 12, 2020
We have updated the script to make it compatible with the new configuration of The Pirate Bay.
This is a PHP script that allows you to create a proxy site for The Pirate Bay.
A proxy site allows users to access The Pirate Bay on networks where it is blocked.
To install it, you will need to upload the files to a web server which supports PHP and the PHP Curl library.
To add your own custom code (e.g. Google Analytics) simply edit the PHP files (not api.php).
Afterwards, you can request to have your proxy site added to our list at: https://proxybay.kim
How it works
The static content (e.g. images, css) is already included in the repository so there is no need to proxy it. Therefore, the only external content being loaded through the script is through the API.