Skip to content

Alfred workflow to get the YouTube thumbnail link from a url in your clipboard

License

Notifications You must be signed in to change notification settings

chrisspiegl/alfred-youtube-thumbnail-link

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alfred-youtube-thumbnail-link

Alfred workflow to generate the YouTube short link from a url in your clipboard

Get the link to a Youtube video Thumbnail form a video link in your clipboard and copy it to your clipboard.

Install

npm install --global alfred-youtube-thumbnail-link

Requires Node.js 14+ and the Alfred Powerpack.

Usage

  1. Open Alfred
  2. Either enter ytt for clipboard shortening
  3. Or provide the url via ytt https://youtube.com/watch?v=askdf214s
  4. Hit Enter to copy the copy the YouTube thumbnail link to your clipboard

Related

Improvement Ideas

Actually check if the thumbnail exists

Use the YouTube API or similar to check if the thumbnail actually exists and provide the one which has the highest resolution (or multiple resolutions to choose from).

Download & Copy image file to Clipboard

This would need some extra implementation to download and copy the image file. Maybe by storing it in a tmp folder? Not sure yet.

About

Alfred workflow to get the YouTube thumbnail link from a url in your clipboard

Resources

License

Stars

Watchers

Forks

Packages

No packages published