Skip to content

Latest commit

 

History

History
37 lines (32 loc) · 953 Bytes

README.org

File metadata and controls

37 lines (32 loc) · 953 Bytes

hypertube

Usage

Dependencies

  • mysql
  • git-crypt
  • ffmpeg

Initialization

git-crypt unlock KEYFILE
npm --prefix client install
npm --prefix server install
npm --prefix server run init

Run

npm --prefix server start &
npm --prefix client start &

Examples

API

Pulp fiction: http://www.imdb.com/title/tt0110912/

Sources: rarbg and YTS

imdbId=tt0110912
curl "https://yts.am/api/v2/list_movies.json?query_term=${imdbId}"
token=$(curl "https://torrentapi.org/pubapi_v2.php?get_token=get_token" | sed -n 's/.*"token":"\(.*\)"}/\1/p')
curl "https://torrentapi.org/pubapi_v2.php?mode=search&search_imdb=${imdbId}&token=${token}"

Notes

Modules idea