Skip to main content

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

witaker-clipboard-server-0.3.4.tar.gz (60.9 kB view hashes)

Uploaded Source

Built Distribution

witaker_clipboard_server-0.3.4-py3-none-any.whl (65.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page