4 releases (2 breaking)
0.3.1 | Mar 30, 2022 |
---|---|
0.3.0 | Mar 30, 2022 |
0.2.0 | Mar 29, 2022 |
0.1.0 | Mar 27, 2022 |
#650 in Command-line interface
108 downloads per month
2MB
358 lines
Swas
Introducing the greatest rust library + CLI tool in the entire history of rust.
Swas is a rust library + CLI tool that tells you when swas will upload new video through complex calculations. It also lets you search and play youtube videos of swas and other channels. Searching about youtube channels is also an option. Basically it's a youtube search cli tool written in rust.
Docs: https://docs.rs/swas/latest/swas/
Current features
- search youtube videos
- search youtube channels
- search swas specific info
In progress
swas upload when
commndswas play
command- Support for swas.py channel
- Better and interactive UI
Furure plans
- A dedicated scraper to scrap youtube search results
Installation
Install the CLI tool using cargo:
cargo install swas
Install library as dependency:
swas = "0.3.0"
Install and build from github repo:
git clone https://github.com/lonely-code-cube/swas
cd swas
cargo build --release
cargo run -- --help
CLI usage
-
Help:
swas --help
-
Search swas's videos:
swas search video
-
Search swas's videos by title:
swas search video "Select Menus in Discord.py & Pycord"
-
Search any video:
swas search --unswas video
orswas search -u video
-
Search any video by title:
swas search --unswas video "Yoku"
orswas search -u video "Yoku"
-
Search videos of a specific channel:
swas search --unswas video --channel "E ve"
orswas search -u video -c "E ve"
-
Search videos of a specific channel by title:
swas search --unswas video "Yoku" --channel "E ve"
orswas search -u video "Yoku" -c "E ve"
-
Search swas's channel:
swas search channel
-
Search any channel:
swas search --unswas channel "E ve"
orswas search -u channel "E ve"
Library usage
To be documented
Dependencies
~3–18MB
~236K SLoC