joeymalvinni / webrtc-ip

💻 Simplified IP client using WebRTC.

Home Page:https://webrtc-ip.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Build Status Apache 2.0 License Github contributors Snyk vulnerabilities PRs welcome


This software is for educational purposes only. This software should not be used for illegal activity. The author is not responsible for its use.

Quick Start

To use webrtc-ips, you need to include the <script tag in the <head> section of your HTML document.

<script src="https://cdn.jsdelivr.net/gh/joeymalvinni/webrtc-ip/dist/production.min.js"></script>
<!---- OR use the dev bundle: ----->
<script src="https://cdn.jsdelivr.net/gh/joeymalvinni/webrtc-ip/dist/bundle.dev.js"></script>

Now you have access to the getIPs() function:

// Using Promises:
getIPs().then(data=>{
  console.log(data.join('\n'))
})

// Using Async/Await:
(async function(){
  let data = await getIPs();
  console.log(data.join('\n'));
})();

Examples

The example (located at /example) is being hosted on Heroku.

Authors

The author of webrtc-ips is Joey Malvinni

List of all contributors

License

Apache 2.0

About

💻 Simplified IP client using WebRTC.

https://webrtc-ip.herokuapp.com/

License:Apache License 2.0


Languages

Language:JavaScript 91.3%Language:HTML 5.3%Language:CSS 3.4%