- This is a small web proxy for unblocking websites
- Status: Working
- Maintainer: Angad Tendulkar [email protected]
- Clone this repo on repl, heroku, or locally. If local, install node.js and yarn.
- Run
yarn install
to install dependencies - Run the app with
yarn start
- By default; it should start on 0.0.0.0:8080. It will give the used address and port in the output
- Enter the site address in the input box
- Click 'GO' or press enter
- It will take you to that site, unblocked!
{
"ip": "0.0.0.0",
"port": "8080",
"blockedHostnames": []
}
- IP - The IP of the site
(http://ip:port)
- Port - The Port of the site
(http://ip:port)
- blockedHostnames - A string of blocked urls (e.g. ["https://example.com", "http://yahoo.com"])
-
Must be formatted properly. Code is a pain to reformat.
-
Must use hard tabs. 2/4 Spaces are ugly.
-
Must have
<head>
and<body>
one indent in front of<html>
-
If you are not sure, format using prettier:
yarn run cli:format
orprettier --config ./.prettierrc --ignore-path ./.prettierignore --write .
-
Example of good code:
<!DOCTYPE html> <html> <head> ... </head> <body> ... </body> </html>
-