dstpierre / genthumb

Generate YouTube thumbnail with code syntax highlighting and random bg color

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

genthumb

CLI to generate YouTube thumbnail. Being a blind person, generating image is simply a pain for me. I wanted a quick way to create ~decent YT thumbnail for my videos.

Not thinking that anyone would use this, but if you do, well please do not use my photos... left.png, right.png and center.png.

Installing chrome on Ubuntu (Windows WSL2)

  1. wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
  2. sudo apt install ./google-chrome-stable_current_amd64.deb

Usage

Enter code in code.sample file.

$ go run . -dir left -code "$(<code.sample)" -title "title here"

The -dir accepts left, right, center as value and fits with the corresponding photos.

About

Generate YouTube thumbnail with code syntax highlighting and random bg color

License:MIT License


Languages

Language:Go 41.3%Language:HTML 38.0%Language:CSS 20.7%