Skip to content

Latest commit

 

History

History
56 lines (47 loc) · 1.45 KB

README.md

File metadata and controls

56 lines (47 loc) · 1.45 KB

avrp

single executable program for aframe-vr-player with update feature

usage

Usage of avrp:
  -dev
        starts in dev mode, serves 'index.html' from current directory
  -dir string
        path to video files
  -get-ffmpeg
        downloads ffmpeg
  -no-thumb
        disables thumbnail generation
  -port int
        port to serve on (default 5000) (default 5000)
  -reset
        removes all configs, thumbnails & 'aframe-vr-player' files
  -sha string
        Optional - download a specific commit of aframe-vr-player (default "latest")
  -update
        checks & downloads the latest version(commit) of 'aframe-vr-player'

Examples

# -flag
# --flag
# -flag=x

# deletes all configs of avrp and aframe-vr-player / factory reset
avrp --reset

# serve video directory 
avrp --dir "C:\\Users\\User\\Video\\SFW\\"
# linux path
avrp --dir "/home/user/Videos/NSFW"

# downloads the latest version(commit) of aframe-vr-player
avrp --update

# downloads https://github.com/mysterion/aframe-vr-player/tree/6d1b7cfacfd873180e80fde53cb2a7873e1faffc 
# https://github.com/mysterion/aframe-vr-player/commits/main/
avrp --update --sha 6d1b7cfacfd873180e80fde53cb2a7873e1faffc

installation

go cli

# install ffmpeg and add it to path
go install github.com/mysterion/avrp@latest

standalone binary

https://github.com/mysterion/avrp/releases