5 releases
0.2.1 | May 22, 2022 |
---|---|
0.2.0 | May 22, 2022 |
0.1.2 | May 22, 2022 |
0.1.1 | May 22, 2022 |
0.1.0 | May 22, 2022 |
#52 in #web-page
13KB
131 lines
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
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 ./
Dependencies
~3MB
~60K SLoC