Home

Awesome

movie-cli-2

a CLI tool to fetch movies and tv series details from omdbApi.com and tmdb, or comparing two movies. It can optionally save the movie metadata to the clipboard or as a markdown file in a custom folder. Metadata will be formatted as property:: value for Logseq note-taking app. version : 1.1.0 2022-01-17

install

npm i -g github:cannibalox/movie-cli-2

requirements :

USAGE

open a terminal and type movie followed by search terms

Usage: movie [title] or [movie1]::[movie2]

Options:
  -v, --version   output the current version
  -k, --key       set and save your apîkeys
  -r, --reset     resets options and clear keys
  -s, --settings  define settings
  -h, --help      display help for command

terminal showing info (left) | movie info saved as a md file inside Logseq (right) ss_NetMeterEvo_NetMeter_Evo_20230117_zio7Vy0AvC demo ss_WindowsTerminal_Windows_PowerShell_20230112_Y8WrqVr4In

configuration

setup screen ss_WindowsTerminal_Windows_PowerShell_20230117_qWz46CpZWY

for logseq users:

new features and improvements

the script is forked from Mayankchd's movie-cli, tailored for my personal movie tracking workflow in Logseq. notable differences and new features :

limitations

in case of errors, try mmovie -r or movie -s to reset the settings. only supports markdown, not org-mode format. the daily page log is crude : it doesn't rely on the logseq API, it's only appending a line at the end of the md file. use with wisdom and be careful of your data : backup your logseq folders, test outputs in a temp folder.