Skip to content

NetBuffer to copy an image, text or 1 file from your clipboard over the internet to the recipient's clipboard

License

Notifications You must be signed in to change notification settings

GennadiyVick/netbuffer

Repository files navigation

NetBuffer

Select Language: English, Russian

Network clipboard program uses tcp/ip stack as base protocol You can copy at a time: text, picture or 1 file, copy several files are not currently supported. How it works: you copy text, picture or a file to the clipboard, then right mouse button on the program shortcut in the tray calls the context menu or the left mouse button immediately sends the contents of the buffer to the selected host. Hosts can be added by clicking send in the context menu, in the opened window opposite the field "IP address or host" there is a button "..." everything is intuitively clear there.

When data arrives on the socket, the data type is passed in the header. The data is automatically transferred to the clipboard if the following conditions are met: 1 - the ip address from which the data came is in the white list (see settings) 2 - if the corresponding option is enabled in the settings.

in all other cases a pop-up window opens at the bottom and right of the screen, which displays the content text, picture and buttons copy, save to file, cancel and block ip addresses, if you click on blocking, then the ip address is blacklisted (see settings), on an incoming connection, if this address is blacklisted, then there is an immediate shutdown.

In the settings, you can enable the use of an SSL secure protocol, for this you must have a certificate and a key. They can be generated with the command:

openssl req -new -x509 -days 365 -nodes -out cert.pem -keyout cert.pem

in this case, a self-signed certificate will be generated, that is, a certificate and a key in one file. In settings, you can enter the name of the certificate file without specifying the entire path to the file; in this case, the certificate must be located in the same directory with the program. Attention!! Antiviruses can block ssl traffic.

Dependencies and running the program!

WINDOWS:

You must have python3 interpreter installed, download python.org after installation, you need to install the PyQt5 library, to install in the console (cmd) enter:

python -m pip install pyqt5

now you can run the program with the command

pythonw program_path\netbuffer.py

or create a shortcut and specify this command. After launch, the program icon should appear in the tray.

Linux:

on linux OS python3 should already be pre-installed check with command

python3 --version

and you also need to install the PyQt5 library with the command:

sudo apt install python3-pyqt5

now you can run the program with the command

python3 program_path\netbuffer.py

or create a desktop icon with this command.

About

NetBuffer to copy an image, text or 1 file from your clipboard over the internet to the recipient's clipboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages