Skip to content
/ vttc Public

CLI file converter and optimizer for popular VTT formats

License

Notifications You must be signed in to change notification settings

phenomen/vttc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VTTC - Virtual Tabletop Converter

VTTC is a command line tool (CLI) that quickly converts various image and video formats into optimized formats compatible with popular VTTs (e.g. Foundry VTT, Roll20, Fantasy Grounds).

Supported Formats

  • Image conversion: any image into WEBP, PNG, JPEG, AVIF.
  • Video conversion: any video into WEBM, MP4, OGG, MP3.
  • Audio conversion: any audio into OGG, MP3.

Installation

  1. Install Node.js 18+ if you don't have it installed.
  2. Run:
npm i vttc -g

(folder doesn't matter, it will install a Global package)

Usage

  1. Open a command prompt in the directory with files you want to convert.
  • Windows: Right Click -> Open in Terminal.
  • Mac: see instruction.
  • Linux: you already should know that.
  1. Run:
vttc

Updating

npm update vttc -g

TODO

  • Recursive directory processing
  • FFmpeg V6
  • Launch with arguments bypassing prompts
  • More options (remove audio track, remove transparency, custom framerate, etc.)

Credits

About

CLI file converter and optimizer for popular VTT formats

Topics

Resources

License

Stars

Watchers

Forks