video_web_page_generator

Crates.iovideo_web_page_generator
lib.rsvideo_web_page_generator
version0.2.1
sourcesrc
created_at2022-05-22 06:56:33.00346
updated_at2022-05-22 12:42:34.853021
descriptionA basic tool written in rust that makes a html page for embeding videos in discord and twitter from other websites.
homepage
repositoryhttps://github.com/BuyMyMojo/video-web-page-generator/
max_upload_size
id591059
size34,427
Owen Quinlan (BuyMyMojo)

documentation

README

Video Web Page Generator

A basic tool written in rust that makes a html page for embeding videos in discord and twitter from other websites.

Badges

Crates.io Crates.io GitHub Workflow Status

Usage

video_web_page_generator
Create a quick and easy Twitter and Discord compliant page to embed videos in those platforms. Make
sure the video file and the resulting .html file are both in the url location you specifiy

USAGE:
    video_web_page_generator.exe [OPTIONS] --height <HEIGHT> --width <WIDTH> <PATH>

ARGS:
    <PATH>    The path to video file

OPTIONS:
    -h, --height <HEIGHT>
            The height of the video in pixels

        --help
            Print help information

    -o, --out <OUT>
            The html file to output [default: ./index.html]

    -p, --poster <POSTER>
            The path to a jpeg or png file you want to use as the video's thumbnail (Required for
            AV1 videos to work in Discord) [default: ]

    -t, --title <TITLE>
            The title for the page [default: ]

    -u, --url <URL>
            The url where the video will be stored (with trailing /) [default:
            https://buymymojo.net/Video/]

    -v, --video-description <VIDEO_DESCRIPTION>
            The description for the video [default: ]

    -w, --width <WIDTH>
            The width of the video in pixels

Installation

install with just cargo:

  cargo install video_web_page_generator

Install from github with cargo:

  git clone https://github.com/BuyMyMojo/video-web-page-generator.git
  cd video-web-page-generator
  cargo install --path ./
Commit count: 21

cargo fmt