All Contributors

Ngrok integration with CommandBox

Ngrok is a service that will proxy a locally-running server to the Internet where any coworker, friend, or client with a browser can view the local site site you have running. Use this to demo a new site or ask a friend to look at an error for you. This is also great for testing integration with 3rd party systems (like Stripe webhooks) while still developing on localhost!


Use the commands that come with this module to start and stop Ngrok shares.

Start a share

server share start
# or

It will:

  1. Start the CommandBox server if it is not already running.
  2. Start Ngrok using the embedded binaries for your platform.
  3. Stop any currently open Ngrok tunnels (since the free version only allows one at a time).
  4. Create the new Ngrok tunnel.
  5. Display the share url.
  6. Open the share url in the browser.

Stop a share

server share stop

If you stop a server that is being shared, the Ngrok tunnel will be closed for you.


Thanks goes to these wonderful people (emoji key):

Eric Peterson

? ?

Brad Wood

? ? ? ? ?

Andrew Davis

? ?


This project follows the all-contributors specification. Contributions of any kind welcome!


$ box install box-ngrok
No collaborators yet.
5.00 / 1
  • Nov 08 2016 12:19 PM
  • Jun 12 2018 05:18 PM
  • 1975
  • 0
  • 233