web-ui-v2
The future version of webtor.io
Some features to mention:
- Lightweight - less JavaScript code, no frontend frameworks, fewer bytes sent to the client.
- Based on webtor REST-API.
Roadmap
- Torrent/magnet upload
- Torrent listing
- Direct file download
- Direct folder download as ZIP-archive
- Picture preview
- Audio streaming
- Video streaming
- Base player
- Subtitles support
- OpenSubtitles support
- Chromecast support
- Embed control
- Subtitle uploading support
- Subtitle size control
- Authentication
- Passwordless authentication
- Patreon account linking
- Ads and statistic integration support
- Tools
- Torrent => DDL
- Magnet => DDL
- Magnet => Torrent
- Torrent => ZIP
- Misc
- Feedback form
- Allow magnet-url as query string
- Add dark/light theme switch
- Chrome extension integration
- Embed support
- Base version
- Extended version
- 🚀Switch webtor.io to web-ui-v2
Setting up connection to Webtor RestAPI
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}
Usage
./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
Development
npm install
npm start
Building
make build