You are not logged in.

#1 2015-02-28 23:35:19

Shadow53
Member
Registered: 2014-04-08
Posts: 2

asciitube - YouTube in terminal/TTY

This is a simple utility that I put together for CodeDay.
Right now it allows you to:
    1) Search YouTube using a Node.js library called yt-search
    2) Download your selected video using youtube-dl
    3) Play your video using mplayer and the aalib or libcaca libraries

It also has rudimentary dependency checking for most popular binary distributions, including Arch Linux.

You can find the scripts on GitHub

git clone https://github.com/Shadow53/asciitube.git

AUR package available here

I'm new to bash scripting so this is my first real project. Feedback on syntax errors and such are greatly appreciated. Fixes are even better.

UPDATES
2015-02-28: Flags added to script, AUR package created

Last edited by Shadow53 (2015-03-01 08:03:06)

Offline

#2 2015-03-01 00:53:42

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: asciitube - YouTube in terminal/TTY

I'm not sure it needs to be in /opt, but have a look at https://aur.archlinux.org/packages/un/u … 1/PKGBUILD

Offline

#3 2015-03-01 05:23:31

Shadow53
Member
Registered: 2014-04-08
Posts: 2

Re: asciitube - YouTube in terminal/TTY

The purpose of putting it in /opt is to put it in a central place for any user to have access to. Because it has multiple involved scripts, it shouldn't be put in /usr/bin.
Thanks for the pointer to the install command, too. I tested it on my machine and it works fine, so I'll have an AUR package up shortly.

Offline

Board footer

Powered by FluxBB