Nodejs based Image Proxy Server
Go to file
Jyotirmoy Bandyopadhayaya b65cfce407
Merge pull request #5 from BRAVO68WEB/BRAVO68WEB-patch-1
2021-11-11 20:39:34 +05:30
.github/ISSUE_TEMPLATE Update issue templates 2021-10-01 12:15:59 +05:30
src added proxy URL generation feature 2021-10-01 12:40:57 +05:30
.gitignore Initial Release 2021-10-01 12:00:09 +05:30
CODE_OF_CONDUCT.md Create CODE_OF_CONDUCT.md 2021-10-01 12:11:06 +05:30
CONTRIBUTING.md Create CONTRIBUTING.md 2021-10-01 12:13:18 +05:30
LICENSE Create LICENSE 2021-10-01 12:14:06 +05:30
README.md Update README.md 2021-11-11 20:39:03 +05:30
now.json Initial Release 2021-10-01 12:00:09 +05:30
package.json Update package.json 2021-11-11 20:39:23 +05:30
textbox.js Initial Release 2021-10-01 12:00:09 +05:30
yarn.lock Initial Release 2021-10-01 12:00:09 +05:30

README.md

Imgage Proxy Server

{
"ur"l : "https://img-proxy.vercel.app"
}

Proxify any image url, hide it and use anywhere.

Usage

GET https://img-proxy.vercel.app/fetch/image

Parameters(?) :-
    *key* -> base64encode(image_url)

Example :- 
    original_url = https://cdn.pixabay.com/photo/2015/04/23/22/00/tree-736885_960_720.jpg
    proxified_url = https://img-proxy.vercel.app/fetch/image?key=aHR0cHM6Ly9jZG4ucGl4YWJheS5jb20vcGhvdG8vMjAxNS8wNC8yMy8yMi8wMC90cmVlLTczNjg4NV85NjBfNzIwLmpwZw==

GET https://img-proxy.vercel.app/generate/proxyURL

Parameters(?) :-
    *url* -> image_url

Example :- 
    request_url = https://img-proxy.vercel.app/generate/proxyURL?url=https://cdn.pixabay.com/photo/2015/04/23/22/00/tree-736885_960_720.jpg
    response (json) = https://img-proxy.vercel.app/fetch/image?key=aHR0cHM6Ly9jZG4ucGl4YWJheS5jb20vcGhvdG8vMjAxNS8wNC8yMy8yMi8wMC90cmVlLTczNjg4NV85NjBfNzIwLmpwZw==

Serverless API