Skip to content

daijro/Clipboard2File-Chrome

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clipboard2File for Chrome

A fork of Clipboard2File for Chromium-based browsers.

Clipboard2File is a tiny extension that lets you use an image on your clipboard as a file!


Install

The installation process is split into two pieces. The Chromium extension, and the Companion.

The Companion uses Chrome's Native Messaging API to gather clipboard images externally to the browser (See #1). It only runs when called by Chrome, not on startup. It also does not require admin/root privileges to install.

Installing the Extension

To install the extension, simply go to releases and click the latest .crx file under Assets. Your browser should prompt to install the extension.

Installing the Companion

Note: The Companion only has to be installed per system. It runs universally across any Chromium-based browser with the Clipboard2File extension installed.

To install from source code, download the repository and go to the hosts folder. There are setup scripts included to automatically register the native messaging host on your system. Instructions are provided below.

Windows Installer

Windows users can simply download and run the installer to automatically register the Clipboard2File native messaging host. It can also be uninstalled in Control Panel.

Windows

  1. Install Python 3.x

  2. In the setup, check Add python.exe to PATH

  3. Finish the setup

  4. Download and extract a copy of the repo here.

  5. Navigate to Clipboard2File-Chrome-master > host and open Command Prompt there.

  6. Run the following command: pip install -r requirements.txt.

  7. Now, open install-global.win.bat to install for the machine, or install-user.win.bat to install for the current user.

To uninstall, run uninstall.win.bat.

MacOS / Linux

  1. Open a terminal

  2. Run the following commands:

git clone https://github.com/daijro/Clipboard2File-Chrome
cd Clipboard2File-Chrome/host
pip3 install -r requirements.txt
sh ./install.unix.sh

Original project

Get Clipboard2File for Firefox

About

Chrome extension for uploading files from clipboard

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 48.8%
  • JavaScript 33.0%
  • CSS 6.3%
  • Python 5.6%
  • Shell 3.9%
  • Batchfile 2.4%