Proxy Info is a very simple Node.js app that displays information about your proxy connection.
npm install proxyinfo
Navigate to the proxyinfo directory and run:
bin/proxyinfo
This runs on port 80, thus you will need to run this with elevated permissions. I highly suggest that you don't run this as root
user. Read this article to learn about how to setup your Node.js app as a service.
var proxyinfo = require('proxyinfo');
proxyinfo.createProxyApp({countryLookup: true}, function(app){
//your logic here
app.listen(80);
});
(MIT License)
Copyright 2012, JP Richardson
See LICENSE for more details.