Skip to content

horori/jwbcli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A command line tool to download latest videos and subtitles

CLI tool which enables you to download one of latest videos and a different language subtitles files. You can play the videos on VLC with English audio and own language subtitle. (e.g. English audio + Japanese subtitles)

The process goes something like this:

  • Download binary executable file to match your environment (Mac OS/Linux/Windows)
  • Select one of latest videos
  • Select resolution (240p, 360p, 480p and 720p)
  • Select subtitle language

Installation

Download latest release for your environment.

  • Mac (darwin_amd64)
  • Linux (linux_amd64)
  • Windows (windows_amd64)

For ARM (e.g. Raspberry Pi) or 32bit OS, use this source code and compile.

env GOOS=linux GOARCH=arm GOARM=5 go build

Extract .tar.gz file or .zip and execute.

Linux installation

Please replace the latest download URL

sudo curl -o /usr/local/bin/jwbcli -L <URL for tar.gz>
sudo chmod +x /usr/local/bin/jwbcli

Windows installation

Extract the zip and put jwbcli.exe in a folder (e.g. desktop) MP4 and VTT file will be downloaded to the same folder.

Contributing

Test

Release

A new tag push will trigger github action based on .github/main.yml and it will call goreleaser

git tag v0.2.3
git push origin --tags

To test release without publishing to github.

goreleaser --snapshot --skip-publish --rm-dist

About

Download video and subtitle on cli

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages