Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 521 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 521 Bytes

mini-proxy

A minimalist URL-based proxy

Install

Development

git clone https://github.com/maxlath/mini-proxy
cd mini-proxy
npm install
npm start

Systemd

git clone https://github.com/maxlath/mini-proxy
cd mini-proxy
npm install
npm run add-to-systemd

How to

curl "http://localhost:4124/https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q471142&format=json"
# => proxies the query to https://www.wikidata.org/w/api.php?action=wbgetentities&ids=Q471142&format=json