A simple http server that provides Domain WhoIs check via a USSD application. It uses https://jsonwhois.io to perform the WhoIs checks and is developed to run on Africastalking's USSD service.
It is developed using Go and requires Go to build.
In order to build this, you will need to have Go installed, atleast Go 1.12.
As previously mentioned, the application uses jsonwhois.io for performing the Who Is checks, so you must be signed up and have an API Key for that platform before building the binary. The binary must be built with a valid, correct API Key.
$ go build -ldApiKey="__YOUR_API_KEY__"
Once you have built it, you can run it as follows:
$ ./ussd-whois -b "your-ip-address:8773"
Once you have it running on a server accessible to the internet, you can connect
it to the Africastalking platform by setting the USSD Callback URL
You can also use ngrok to bridge a
running instance on your local dev machine to the internet and set the ngrok url as the USSD Callback URL
And finally, you should definitely use dialoguss to test this and other USSD applications.
Pull Requests are welcome.
Copyright (c) 2020, NNDI