Coder Social home page Coder Social logo

jprq's Introduction

JPRQ - Ngrok Alternative

Get Your Localhost Online and HTTPS

jprq demo

How JPRQ is different from Ngrok?

  • JPRQ is a free and open-source Ngrok alternative to expose local servers online easily.
  • It allows developers to serve unlimited requests to the local server compared to Ngrok's 40 requests/minute limit.
  • It can expose multiple ports at the same time compared to Ngrok with 1 port limit.
  • [NEW] it can now expose any TCP protocol, like SSH, MySQL, Redis, etc.

How to install

$ pip install jprq

How to use

Replace 8000 with the port you want to expose

$ jprq http 8000

For exposing SSH, WebSocket, Postgresql or any TCP servers

$ jprq tcp 22

For windows users:

For exposing HTTP servers

 > py -m jprq http 8000

For exposing TCP servers

 > py -m jprq tcp 22

Press Ctrl+C to stop it

[NEW] Custom Subdomain

Replace subdomain with a subdomain you want, works with ony http tunnels.

$ jprq http 8000 -s=subdomain

How to uninstall

$ pip uninstall jprq

How JPRQ Works


JPRQ's Client-side implementation in Python:

https://github.com/azimjohn/jprq-python-client

Limitations

  • HTTP Tunneling cannot expose WebSocket, use TCP Tunneling
  • Doesn't work with HTTP Long Polling with HTTP Tunneling, Use TCP Tunneling

Troubleshooting

  • With serving React, Vue or any other modern web apps, make sure you run production server or build the app and serve static files as JPRQ is not capable of exposing Websocket.
  • With serving React, Vue or any other modern web apps in development mode, you can use TCP Tunneling

jprq's People

Contributors

azimjohn avatar coderuz avatar deepsource-autofix[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.