The future version of webtor.io
Some features to mention:
You have to set up connection to Webtor RestAPI before using WebUI.
If you have already installed backend part, then you have to proxy rest-api from your k8s instance to your local machine with kubefwd:
sudo kubefwd svc -f metadata.name=rest-api -n webtor
or with kubectl:
kubectl port-forward svc/rest-api 9090:80 -n webtor
# you have to setup additional environment variables before starting application
export REST_API_SERVICE_PORT=9090
export REST_API_SERVICE_HOST=localhost
If you have RapidAPI subscription you can just do the following:
export RAPIDAPI_KEY={YOUR_RAPIDAPI_KEY}
export RAPIDAPI_HOST={YOUR_RAPIDAPI_HOST}
./web-ui-v2 help
NAME:
web-ui-v2 - runs webtor web ui v2
USAGE:
web-ui-v2 [global options] command [command options] [arguments...]
VERSION:
0.0.1
COMMANDS:
serve, s Serves web server
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--help, -h show help
--version, -v print the version
npm install
npm start
make build