alexdlaird / pyngrok

A Python wrapper for ngrok
https://pyngrok.readthedocs.io
MIT License
416 stars 59 forks source link

Add Additional Binary Support #118

Closed alexdlaird closed 9 months ago

alexdlaird commented 9 months ago

Add support for missing binaries. ngrok's download page now supports MIPS processors as well as PowerPC under "Linux", and s390x.

Additionally, there appears to be a URL for Solaris that should be investigated if it works (though it's labeled under FreeBSD). https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-solaris-amd64.tgz

These URLs appear to be work to download both a v2 and a v3 version of ngrok, so add support for both if so.

alexdlaird commented 9 months ago

Booted a MIPS node on AWS, and it actually still utilized and worked with the Linux x64 binary. There were no PowerPC or Solaris images available on AWS, so without a request for those OSes (and someone to give us the arch strings for them), I'm going to close this—there are easy workarounds to still use this library without those binaries officially being supported, and if/when we get a request to add them, it's a simple change to add them when given the strings.