Home
Softono

Transfer

Open source MIT JavaScript
13
Stars
2
Forks
0
Issues
1
Watchers
8 years
Last Commit

 About Transfer

🌎 ⇆ 🖥️ Transfer http requests from public url to your localhost

Platforms

Web Self-hosted Cloud Android

Languages

JavaScript Kotlin

Need Help Installing Transfer?

We provide expert installation service for this software. Our team will install, configure, and secure Transfer on your server. plans start at just $30.

Transfer requests from public url to your localhost!

Transfer

It's as simple as you may think:


var transfer = require('transfer');

transfer.to('http://localhost:8080')
  .then(result => {
    console.log(result); 
    /* { token      : '2kfqnpm', 
         url        : '2kfqnpm.transfer.pub', 
         pathUrl    : 'path.transfer.pub/2kfqnpm',
         protocols  : ['http', 'https'] } */
  });

Now all requests going to http://2kfqnpm.transfer.pub or http://path.transfer.pub/2kfqnpm are transferred to your localhost.

In order to stop listening for upcoming requests you can use transfer.disconnect:

  transfer.to(8080) // Will transfer all requests to your port 8080
    .then(console.log);
  
  transfer.disconnect();