A utility for copy and paste in the browser without requiring focus
Project description
Witaker Clipboard Server
A utility for copy and paste in the browser without requiring focus
For security reasons, web browsers don't allow text to be copied to the system clipboard when the browser window is not focused. There are use cases where you might want to copy text quickly by hovering or swiping your mouse over a background window, for instance when testing a web application. This allows a user to "pick up" a test value by hovering their mouse pointer, and speeds up testing.
Witaker Clipboard Server is a utility which provides a local web server for JavaScript applications to interact with, so it can copy text to your computer's clipboard while in a background state. The Clipboard Server will start with an authentication key, which your JavaScript application will need to reference before calling the server.
Features
Witaker Clipboard Server is a Python 3 program, with a command-line application, and a GUI, written with Kivy.
- witaker-clipboard-server
- witaker-clipboard-server-gui
At its core is a microservice, written with Flask, which interacts with the system clipboard using xerox.
Installation
You can install Witaker Clipboard Server with pip:
pip install witaker-clipboard-server
Build
For instructions on building, see BUILD.md
License
Copyright © 2022 Cathal Mc Ginley
Licensed under the Apache License, Version 2.0 (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for witaker-clipboard-server-0.3.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f049600e9a287380d155148e1c5ea5b0cd58cff5ee96c46405b0f071ecc4c15e |
|
MD5 | 47f4149d45b8678ce2f4af7de6098c3f |
|
BLAKE2b-256 | b989b64c39bf4562c3f4cc55888fdb254ae075472bdc79f80c88652b0ccef124 |
Hashes for witaker_clipboard_server-0.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ff46ede7599d12669d89529398e903ed72233f156cd61c50760ba472e1693e6 |
|
MD5 | 729823a3ec75c69624d55341d41d9fb9 |
|
BLAKE2b-256 | 038591fb63155bb0eea9d6b40ea6cc2ef1e1642c3ef295844ec66506e590460c |