Go to file
grumbulon e3708f1d6e test 2022-07-25 19:11:54 -04:00
.vscode Prototype 2022-05-13 13:21:48 +02:00
.gitignore Prototype 2022-05-13 13:21:48 +02:00
LICENSE Initial commit 2022-04-09 13:51:58 +00:00
README.md Prototype 2022-05-13 13:21:48 +02:00
file_name_test.ts Wrote test for small change I made in main fn :) 2022-05-30 21:52:57 -04:00
generator.ts preserve file name for JSON file title field and for VTT file 2022-05-30 21:20:15 -04:00
test test 2022-07-25 19:11:54 -04:00

README.md

cytube-json-generator

A deno module to generate custom JSON for a CyTube server.

Installation

First, you'll need to install deno.

Then, you can install the module with:

deno install --allow-read --allow-write --allow-run "https://git.froth.zone/sam/cytube-json-generator/raw/branch/master/generator.ts"

deno install installs the module to DENO_INSTALL_ROOT (default ~/.deno), so you may need to add this to your PATH. An alternative I have is setting DENO_INSTALL_ROOT to ~/.local/bin, which I have in my PATH.

Usage

generator video.mp4 subs.srt will generate a JSON file for the video and subtitle file, and upload all three to f.ruina.exposed. generator -h will show full usage.