Skip to content

Using these Textbelt clients with self hosted option

David Luu edited this page Jan 11, 2016 · 2 revisions

The listed clients, especially the ones with source code here on Github can be used with the self hosted version of Textbelt rather than the default public service. If you wish to use with self hosted option, you have 3 options below. I suppose I could update the clients of this project to be configurable for URL with default being the public serivce that you can override for self hosting, but that's too much work for me LOL (send a pull request perhaps ;-) )

  1. Edit the source code to point to your self hosted Textbelt's hostname or IP address, then recompile/repackage the client (browser extension, app, etc.), you won't have to publish/distribute it in app store or browser extension gallery however, since it's use is specific to you, just install/deploy internally.

  2. edit the host file of machines that will use the Textbelt service to map/route www.textbelt.com to your self hosted service's IP address. That way any calls to the public Textbelt service just routes to your self hosted option.

  3. use and configure a proxy server to map/route requests to www.textbelt.com (or the specific API URLs at least) to your self hosted service's hostname IP address. Then set users of your self hosted Textbelt service to use the proxy for web/internet access. That way any calls to the public Textbelt service just routes to your self hosted option.