Skip to content
This repository has been archived by the owner on Apr 6, 2020. It is now read-only.

ThauEx/node-image-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-image-proxy

Simple script which will fetch the given image, caches and returns it. When it's already in the cache, it is delivered from there. Default cache time is one day for now. Broken or ivalid images won't be cached and an empty image is returned.

####Setup

npm install

####How to start You can use nohub to start it in the background:

nohup node index.js &

Or forever:

forever start index.js

It listens to port 9091, but can be changed via the PORT ENV

PORT=9091 node index.js

####TODO

  • configurable port
  • optimize images

About

Simple nodejs image proxy with build in cache

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published