web-ui-v2

command module
v0.0.0-...-36978f2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2024 License: MIT Imports: 23 Imported by: 0

README

web-ui-v2

The future version of webtor.io

Some features to mention:

  1. Lightweight - less JavaScript code, no frontend frameworks, fewer bytes sent to the client.
  2. 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
    • Subtitle uploading support
    • Chromecast support
    • Subtitle size control
    • Embed control
  • Authentication
    • Passwordless authentication
    • Patreon account linking
  • Ads and statistic integration support
  • Feedback form
  • 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

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL