spongebob-cli
Watch classic spongebob from the terminal! Thanks to everyone that is starring, forking, writing issues, pull requesting and just the users of spongebob-cli!
Dependecies:
- mpv player https://mpv.io/ (Must be installed through a package manager)
- Every other dependendency will get automatticaly installed
How to install:
For UNIX based OS - One Line Execution
Checkout the source code with git or download it as a .zip file.
# Root is only required for the last line
git clone https://github.com/trakBan/spongebob-cli.git
cd spongebob-cli
chmod +x spongebob-cli
sudo python setup.py installOne line:
git clone https://github.com/trakBan/spongebob-cli.git && cd spongebob-cli && chmod +x spongebob-cli && sudo python setup.py installUsage
If the programm was ran without arguments it will list all the episodes and it will let you play them.
--download | -d, usage --download {a number of a episode}, This will download that video under a directory the command was run.
--download-all | -da, usage --download-all, This will download every spongebob video it scrapes.
--binge | -b , usage spongebob-cli --binge, This is used to start the first episode and play until the last episode.
--list | -l, usage --list {number} this will show the number of episodes with the limit you provided.
--play | -p usage --play {a number of a episode}, This will play the episode without listing the episodes.
--random | -r, usage spongebob-cli --random, This will play a random episode.
--help | -h usage --help this will print what each argument does.
Arch and Arch-based distributions
There is an AUR package for spongebob-cli mantained by getchoo
yay -S spongebob-cli-git
Windows
You need to install mpv through a windows package manager
Uninstall
If you want to uninstall spongebob-cli run uninstall.sh with root, this will delete spongebob-cli from /usr/bin.
Package Status
Episodes that are known to not work
- Episode 30, - Episode 129
Troubleshooting
If setup.py fails try this:
pip install -r requirements.txtIf you're getting an error like sudo: python: command not found
git clone https://github.com/trakBan/spongebob-cli.git; cd spongebob-cli; chmod +x spongebob-cli; sudo python3 setup.py installGentoo users:
Gentoo users have to add --user when they are installing with setup.py Run this instead:
git clone https://github.com/trakBan/spongebob-cli.git; cd spongebob-cli; chmod +x spongebob-cli; python3 setup.py install --userIf the video won't play
- Check if you have mpv and youtube-dl installed.
- You can also install
youtube-dlthrough your package manager ifsetup.pydid not install it correctly
- You can also install
- If you don't have youtube-dl but a fork of it, make an alias in your ~./bashrc file and alias it to youtube-dl
Rewrite in rust!
Ali-TM-original Made spongebob-cli in rust
