swas

Crates.ioswas
lib.rsswas
version0.3.1
sourcesrc
created_at2022-03-27 17:54:54.560812
updated_at2022-03-30 13:45:40.565434
descriptionSwas 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.
homepagehttps://github.com/lonely-code-cube/swas
repositoryhttps://github.com/lonely-code-cube/swas
max_upload_size
id557362
size2,261,432
midnightFirefly (lonely-code-cube)

documentation

README

Swas

version

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 commnd
  • swas 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

    "video search img"

  • Search swas's videos by title: swas search video "Select Menus in Discord.py & Pycord"

    "video search img"

  • Search any video: swas search --unswas video or swas search -u video "video search img"

  • Search any video by title: swas search --unswas video "Yoku" or swas search -u video "Yoku"

    "video search img"

  • Search videos of a specific channel: swas search --unswas video --channel "E ve" or swas search -u video -c "E ve"

    "video search img"

  • Search videos of a specific channel by title: swas search --unswas video "Yoku" --channel "E ve" or swas search -u video "Yoku" -c "E ve"

    "video search img"

  • Search swas's channel: swas search channel

  • Search any channel: swas search --unswas channel "E ve" or swas search -u channel "E ve"

    "video search img"

Library usage

To be documented

Commit count: 4

cargo fmt