cross-posted from: https://lemmy.world/post/530920
Magic-tape is an image supporting fuzzy finder command line interface YouTube client.
https://gitlab.com/christosangel/magic-tape
Image rendering can be done with the use of ueberzugpp, ueberzug, kitty terminal or chafa.
With magic-tape, through the main menu, the user can:
Browse videos from subscriptions.
Browse through trending video feed.
make a video search, using keywords or phrases.
Watch a previously watched video (watch history).
Browse videos from a subcsribed channel.
Watch a liked video.
Repeat the previous selection.
Repeat a previous search (search history).
Watch/download video/audio content, in various formats.
Through the miscellaneous menu the user can
Set up Preferences (configuration).
Like / Unlike a video.
Synchronize the above actions with their YouTube account.
Import subscriptions from YouTube.
Subscribe to/ Unsubscribe from a channel.
Clear their watch/search history, liked videos, thumbnail cache.
Nice. As an alternative, ytfzf is awesome.
I love the concept, but the script seems to be a bit broken?
It seems to be hardcoded to use
$HOME/git/magic-tape/
as the directory it runs from, which isn’t going to be true for most people. You can usebasename -- "$0"
to get the directory the script is running from.I have updated the script:
UPDATE: The directory structure of the program has been updated. Instead of keeping everything in
~git/magic-tape/
, now various files and directories are kept in various places.This way,
- the
magic-tape.sh
is in~/.local/bin/
- the magic-tape cache files are all in
~/.cache/magic-tape/
- the configuration text file will be created in
~/.config/magic-tape/
The script now runs from any dir by:
$ magic-tape.sh
Nice & clean
- the