Sign inSign up

staifa/php-bandwidth-hero-proxy

By staifa

Updated almost 2 years ago

Alternative proxy for Bandwidth Hero browser extension.

Image
Networking
0

246

staifa/php-bandwidth-hero-proxy repository overview

PHP Bandwidth Hero Proxy

Github

Pull the app image

docker pull staifa/php-bandwidth-hero-proxy

To start the proxy, run

docker run -p 9696:8000 --name php-bandwidth-hero-proxy php-bandwidth-hero-proxy

The app will listen on port 9696. To verify that it's working, turn on the extension and paste following link into a web browser

http://localhost:9696/?url=https://1gr.cz/o/sph/mask-map3.png&l=20

An image should render. To connect your service with the browser extension, some routing proxy such as nginx is needed, the extension won't connect to localhost. If you manage to route the traffic, connect the extension:

  • Click the extension's icon
  • Click Compression settings
  • Click Configure data compression service
  • Paste your service's address into the URL field

Running tests

docker exec --workdir /usr/src/app/test php-bandwidth-hero-proxy php test_runner.php

Tag summary

Content type

Image

Digest

sha256:6c616283e

Size

194.6 MB

Last updated

almost 2 years ago

docker pull staifa/php-bandwidth-hero-proxy