8000 GitHub - malyshchyk/file-sharer: Socket-based file sharing utility for local network
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

malyshchyk/file-sharer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

File sharer

License: MIT Pylint

The app allows to simply transfer files from one machine to another via local network, at maximum allowed speeds. The application was implemented using pure Python and sockets.

Project structure

The project consists of two applications: sender and receiver. To transfer files, gui.py needs to be launched on sender machine, and sock_receiver.py needs to be launched on receiver machine side. Sender part has GUI, receiver is implemented as command line module.

Both sender and receiver implemented as child classes of python socket class, which allows to utilize power of pure python sockets.

Initial configuration

Preparation

Before you start setting up the project, you need to install some PyGObject dependencies. You can check here for detailed guide for your OS.

Project setup

  1. Cloning a repository with code
git clone https://github.com/akim-malyshchyk/file-sharer.git
  1. Activating a virtual python environment and installing dependencies (inside the repository folder)
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt

After that you should be able to launch src/sender/gui.py and src/receiver/sock_receiver.py

How to use

That's how sender GUI and receiver CLI should look like if initial configuration went fine

After that everything is pretty simple:

  1. Type your receiver machine local IP address
  2. Choose file and click send

After that, receiver will create received folder and save the file there

About

Socket-based file sharing utility for local network

Topics

Resources

License

Stars

Watchers

Forks

Languages

0