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!
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.
To install the extension, simply go to releases and click the latest .crx file under Assets. Your browser should prompt to install the extension.
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 users can simply download and run the installer to automatically register the Clipboard2File native messaging host. It can also be uninstalled in Control Panel.
-
Install Python 3.x
-
In the setup, check Add python.exe to PATH
-
Finish the setup
-
Download and extract a copy of the repo here.
-
Navigate to
Clipboard2File-Chrome-master
>host
and open Command Prompt there. -
Run the following command:
pip install -r requirements.txt
. -
Now, open
install-global.win.bat
to install for the machine, orinstall-user.win.bat
to install for the current user.
To uninstall, run uninstall.win.bat
.
-
Open a terminal
-
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