Skip to content

trakBan/spongebob-cli

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 

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!

ezgif com-gif-maker

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 install

One line:

git clone https://github.com/trakBan/spongebob-cli.git && cd spongebob-cli && chmod +x spongebob-cli && sudo python setup.py install

Usage

 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

Packaging status

Episodes that are known to not work

  • Episode 30, - Episode 129

Troubleshooting

If setup.py fails try this:

pip install -r requirements.txt

If 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 install

Gentoo 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 --user

If the video won't play

  • Check if you have mpv and youtube-dl installed.
    • You can also install youtube-dl through your package manager if setup.py did not install it correctly
  • 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

Contributors

About

Watch classic spongebob from the terminal!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published