Evade internet censorship!
The original nodeunblocker.com is gone, but it's now easier than ever to deploy your own copy.
I went ahead and activated the youtube example, it replaces youtube.com video pages with a custom page that just streams the video (but actually works).
To disable it just add //
to the beginning of this line of code in app.js like so:
// youtube.processRequest
- Install node.js
- Download the code
- Unzip it
- Open up a terminal/command line
cd
into the directory- Run
npm install
to grab the dependencies. - Run
npm start
to start the server. It should spawn a new instance for each CPU core you have.
(Note: running node app.js
will not work. The server code is in the Gatling
package, which the npm start
command calls automatically.)
After that, it will be live on your computer and accessible from your computer at http://localhost:8080/ - accessing it from another computer is beyond the scope of this guide, but it is possible.
This project should be runnable without modification on many cloud providers. Clone/download the code and deploy it, or just click one of the buttons above. (I used to use heroku, but they have since updated changed their policies to not allow it.)
The the core of the nodeunblocker.com has been extracted into a standalone library to make it more flexible, but everything you need to run the website is right here.
This project is released under the terms of the GNU Affero General Public License version 3.
All source code is copyright Nathan Friedly.