Giter VIP home page Giter VIP logo

bandwidth-hero-proxy's People

Contributors

ayastreb avatar dkocich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bandwidth-hero-proxy's Issues

works randomly

After deploying the project on my own server, when i access some websites it doesn't load the images.
When i open the console and checked the network tab, i've seen 401 error code and cross-origin issue message, how to do in that case?

API endpoint documentation

Hi @ayastreb ,
I think I would need API documentation (how to make request with postman, ...).
I would like to make another application that would use my bandwidth-hero-proxy as a mean of image compression. However, I am not good at nodejs to read the source code.

Unable to run proxy server Unexpected token ... ???

Anybody know what i'm doing wrong?

`/root/bandwidth-hero-proxy-master/src/proxy.js:14
...pick(req.headers, ['cookie', 'dnt', 'referer']),
^^^

SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/root/bandwidth-hero-proxy-master/server.js:5:15)
`

client error: cannot get any image

This is a error I only met once, on my Ubuntu laptop. I use the same server that work on other of my machine (both Ubuntu and Windows, both firefox and chrome)

What happen:
Chrome, FIrefox on Ubuntu OS my laptop cannot get any image.
(Ubuntu on others machine worked, Windows on the same laptop worked)

When I check the console, it said:
Failed to load resource: the server responded with a status of 404 ()
With the url
http://206.189.84.191:26465/%20?url=http%3A%2F%2F206.189.84.191%3A26465%2F%2520%3Furl%3Dhttps%253A%252F%252Fi.imgur.com%252FaVfWYVl.jpg%26l%3D40&l=40

When I copy and paste the url on browser address bar, it say:
Cannot GET /%20

Video instuction

Youtobe video does not correspond to reality.
I don't know what to do.

Cannot get image on some HTTPS site (example: this site github )

Mixed Content: The page at 'https://github.com/ayastreb/bandwidth-hero-proxy' was loaded over HTTPS, but requested an insecure image 'http://206.189.84.191:26465/?url=https%3A%2F%2Fassets-cdn.github.com%2Fimages%2Fspinners%2Foctocat-spinner-128.gif&bw=0&l=40'. This request has been blocked; the content must be served over HTTPS.

I host on http://206.189.84.191:26465 (Dokku server without domain name) because I is somewhat expensive to buy (and time consuming to setup) a name domain.

Screenshot
Alt text

By the way, Facebook work just fine.

AVIF Format

Maybe that could be interesting to add this one

PHP adaption

Hello,

I would like to adapt it for a php application on the server, but how it communicating with the chrome extension?
Maybe there is more possible to reduce and save traffic

Error when running server.js

i get this error when running the server
/root/boost/bandwidth-hero-proxy/src/proxy.js:14
...pick(req.headers, ['cookie', 'dnt', 'referer']),
^^^
SyntaxError: Unexpected token ...
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object. (/root/boost/bandwidth-hero-proxy/server.js:6:15)

I have installed node.js and npm

[Question] How to Self Host ?

Hello, a newbie here

as Heroku service is no longer attainable for me, would someone kindly teach me how to self-host, please ?
i also read the manual but I am afraid I do not understand

thank you

Exception or alternative for GIFs

It would be nice if every moving image was excluded or converted into WebM, for example.

To go even further, the user can choose how to deal with any type of image extension like .png .jpeg .gif etc. if he wants to.

Best regards
Snowy

How does it work with "intercepts (all images) loading requests"?

Heja! It says "When active, Bandwidth Hero intercepts all images loading requests"
Does WEBP count too? (I think yes?) If yes would it not be nice to embed a setting to skip the request for them?

(Sorry I don't know much about programming/developing and all the stuff..)

Glitch.com

Add on README.md simple instructions to run on Glitch.com

Docker image

Hey folks!

Are there any plans on providing a Docker image?

Updated Docker Image

Hi,

does anyone have an updated Dockerfile by any chance?

The image from docker hub doesn't seem to work anymore.

I want to build this on ARM.

Thanks

can't deploying app

its say in the log that:
! Push rejected, failed to compile Node.js app.
! Push failed

Confirmed: can host with Dokku

You can use Dokku on your own server to host bandwidth-hero-proxy. Worked as Heroku
https://github.com/dokku/dokku

Just create an app on Dokku

dokku apps:create bandwidth-hero-proxy # on dokku server

Then from your local PC, push the code to dokku

# on local laptop/pc
git add remote dokku dokku@your-server-ip:bandwidth-hero-proxy
git push dokku master 

Then check for port with

# on dokku server
dokku proxy:ports bandwidth-hero-proxy

your compression server is hosted at

http://your-server-ip:your-port/

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.