Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/hebestreit/clipboard-yt-dl

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/hebestreit/clipboard-yt-dl

  • v0.0.0-20190104013702-fa315f770d35
  • Source
  • Go
  • Socket score

Version published
Created
Source

Clipboard to youtube-dl

This Go application will monitor your clipboard for urls and automatically starts download with youtube-dl (list of supported sites). After download has been finished you'll get a system notification with detailed information. In your system tray you'll find a new icon to control this application.

Features

  • queue copied urls
  • start and stop download
  • push notifications

IMPORTANT

Currently I can only support running this app under Windows and Linux.

Configuration

You can use all configurations of youtube-dl like video or audio format, quality, output directory and many more.

Building from sources

Requirements

First you need to create a new folder under your $GOPATH.

$ mkdir -p $GOPATH/src/github.com/hebestreit

Navigate in this folder and checkout this repository.

$ cd $GOPATH/src/github.com/hebestreit
$ git clone https://github.com/hebestreit/clipboard-yt-dl.git

For this part you'll need Docker to build application for all platforms. See below how to compile without docker.

$ cd clipboard-yt-dl
$ make all

Of course you can build it without Docker directly on your system. Be sure you've all required dev packages installed.

$ GOOS=linux CC=clang CXX=clang++ go build -o "bin/clipboard-yt-dl_linux" ./cmd/clipboard-yt-dl $*
$ GOOS=windows CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++ go build -o "bin/clipboard-yt-dl_windows.exe" -ldflags "-H=windowsgui -extldflags=-s" ./cmd/clipboard-yt-dl $*
$ darwin CGO_LDFLAGS_ALLOW="-mmacosx-version-min.*" CC=o64-clang CXX=o64-clang++ go build -o "bin/clipboard-yt-dl_darwin.app" ./cmd/clipboard-yt-dl $*

Now you can find all binaries under $GOPATH/src/github.com/hebestreit/clipboard-yt-dl/bin and start copying over the world!

$ ls -l bin/
clipboard-yt-dl_darwin.app
clipboard-yt-dl_linux
clipboard-yt-dl_windows.exe

Trouble Shooting

extractor: youtube-dl is not in PATH

This error occurs if you have not installed youtube-dl correctly and set location to your environment variables. Under Linux you can simply move to /usr/local/bin/youtube-dl. For Windows check this answer on stackoverflow.com and restart your system. ;-)

Dependencies

This is a list of dependencies I'm using in this project.

FAQs

Package last updated on 04 Jan 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc