Skip to content

A small web proxy - based on Alloy by TitaniumNetworkDev

License

Notifications You must be signed in to change notification settings

Pinapplekat/inertia

 
 

Repository files navigation

inertia

About

  • This is a small web proxy for unblocking websites
  • Status: Working
  • Maintainer: Angad Tendulkar [email protected]

Deploy Instructions

  1. Clone this repo on repl, heroku, or locally. If local, install node.js and yarn.
  2. Run yarn install to install dependencies
  3. Run the app with yarn start
  4. By default; it should start on 0.0.0.0:8080. It will give the used address and port in the output

How to use

  1. Enter the site address in the input box
  2. Click 'GO' or press enter
  3. It will take you to that site, unblocked!

The config file (config.json)

{
	"ip": "0.0.0.0",
	"port": "8080",
	"blockedHostnames": []
}
  1. IP - The IP of the site (http://ip:port)
  2. Port - The Port of the site (http://ip:port)
  3. blockedHostnames - A string of blocked urls (e.g. ["https://example.com", "http://yahoo.com"])

Rules of Contribution

  1. 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 or prettier --config ./.prettierrc --ignore-path ./.prettierignore --write .

    • Example of good code:

      <!DOCTYPE html>
      <html>
      	<head>
      		...
      	</head>
      
      	<body>
      		...
      	</body>
      </html>

About

A small web proxy - based on Alloy by TitaniumNetworkDev

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 73.8%
  • CSS 15.2%
  • HTML 10.9%
  • Shell 0.1%