m4rch3n1ng / blictionary-cli

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

analyze messages

install

you need to have node.js v16 or above and npm v8 or above

$ npm install https://github.com/m4rch3n1ng/blictionary-cli/tarball/main -g

build

you need to have node.js v16 or above and npm v8 or above

to initialize the project download it and run

$ npm install

to build/transpile the project run

$ npm run build

to install it from the local build run

$ npm install . -g

commands

init

the main function, collects the messages from all the sources, sorts them chronologically and puts them together created files are the basis for most other commands

accepts three input arguments and one output:

  1. [input] path to the directory of discord channel entries discordPath
  2. [input] path to the directory of twitch logs twitchPath
  3. [input] path to the txt file of irc logs ircPath
  4. [output] path to the output directory outDir

all inputs can either be given directly or in the zip format of either .7z or .zip (note: if you zip a directory, you have to zip the directory directly instead of the entries (i.e. there can only be one file/dir at the highest level of the zip))
you have to give at least one input. the output is optional and defaults to "."

these can either be given sequentially in the format

$ blictionary init [discord] [twitch] [ircTxt] [outDir]

or as options

  1. -d, --discord, discordPath
  2. -t, --twitch, twitchPath
  3. -i, --irc, ircPath
  4. -o, --outDir, outDir
$ blictionary init -d [discord] -t [twitch] -i [ircTxt] -o [outDir]

you can also specify multiple inputs of the same type by using the same flag twice

$ blictionary init -d [discord1] -d [discord2]

accepts one extra option:

  1. -z, --zip zip the output directory

entry search

search for an entry in a directory. learn more about entries.
accepts one argument: the path to the directory

$ blictionary entry search <dir>

About

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 96.0%Language:JavaScript 4.0%