All Projects → nils-werner → Zget

nils-werner / Zget

Licence: mit
Filename based peer to peer file transfer

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Zget

Beam.cafe
🌠 Blazing fast file transfer app focused on user-experience. Fastest way to share files without uploading them.
Stars: ✭ 419 (-9.89%)
Mutual labels:  peer-to-peer, file-transfer
Parsec Sdk
Low latency, peer-to-peer, interactive game streaming.
Stars: ✭ 400 (-13.98%)
Mutual labels:  peer-to-peer
Pearsend
A simple CLI client for peer-to-peer file or message sending. Written in Python
Stars: ✭ 35 (-92.47%)
Mutual labels:  peer-to-peer
Efo
EFO是一个基于SpringBoot和Vue构建的文件分享系统,包括文件的上传与下载,文件的权限管理,远程文件管理等功能。
Stars: ✭ 327 (-29.68%)
Mutual labels:  file-transfer
Oorja
[archived] effortless video-voice chat with realtime collaborative features. extensible using react components 🙌
Stars: ✭ 270 (-41.94%)
Mutual labels:  peer-to-peer
Kadence
⚠️ KADENCE HAS MOVED TO GITLAB ⚠️
Stars: ✭ 363 (-21.94%)
Mutual labels:  peer-to-peer
funkytunes
A streaming music player for Android, using torrents.
Stars: ✭ 109 (-76.56%)
Mutual labels:  peer-to-peer
Lan Share
Cross platform LAN File transfer application built with Qt C++ framework
Stars: ✭ 317 (-31.83%)
Mutual labels:  file-transfer
Decentralized Video Chat
🚀 Zipcall- Acquired @ 250k users 🚀 Peer to peer browser video calling platform with unmatched video quality and latency.
Stars: ✭ 3,284 (+606.24%)
Mutual labels:  peer-to-peer
Kawaii Player
Multimedia player, media library manager and portable media server with PC-To-PC casting feature.
Stars: ✭ 397 (-14.62%)
Mutual labels:  peer-to-peer
Iwant
Commandline tool for searching and downloading files in LAN network, without any central server
Stars: ✭ 268 (-42.37%)
Mutual labels:  peer-to-peer
Yjs
Shared data types for building collaborative software
Stars: ✭ 5,894 (+1167.53%)
Mutual labels:  peer-to-peer
Infinit
The Infinit policy-based software-defined storage platform.
Stars: ✭ 363 (-21.94%)
Mutual labels:  peer-to-peer
Wormhole William
End-to-end encrypted file transfer. A magic wormhole CLI and API in Go (golang).
Stars: ✭ 256 (-44.95%)
Mutual labels:  file-transfer
Decentralized Internet
A SDK/library for decentralized web and distributing computing projects
Stars: ✭ 406 (-12.69%)
Mutual labels:  peer-to-peer
Chaincase
The only privacy preserving bitcoin app on iOS
Stars: ✭ 55 (-88.17%)
Mutual labels:  peer-to-peer
Libdatachannel
C/C++ WebRTC Data Channels and Media Transport standalone library
Stars: ✭ 336 (-27.74%)
Mutual labels:  peer-to-peer
Wirehub
🌍 Decentralized, peer-to-peer and secure overlay networks
Stars: ✭ 459 (-1.29%)
Mutual labels:  peer-to-peer
Shoop
scp has a run-in with mosh (alpha)
Stars: ✭ 408 (-12.26%)
Mutual labels:  file-transfer
Constellation
Peer-to-peer encrypted message exchange
Stars: ✭ 365 (-21.51%)
Mutual labels:  peer-to-peer

zget

Build Status Build status Docs Status Latest Version Supported Python versions License

A simple, Zeroconf-based, peer to peer file transfer utility, for situations where you and your peer are sitting next to each other and want to transfer a file quickly (and can shout the filename across the room).

Files and peers are recognized by the filename they want to transfer, not by their hostnames or IPs.

zget uses the fact that the filename is known to both parties as a basic authentication feature: The sender only advertises the sha1 hash of the filename on the network. Since the receiver must also know the filename, it can look for the sha1 using zeroconf.

If a match was found, a simple HTTP request is made: For transferring the file the actual filename is then requested from the sender. If this filename wasn't correct, the process is aborted.

Installation

$ pip install zget

I recommend a global --user installation, but you may have to fix $PATH issues on your platform.

Usage

zget works both ways:

  • zput for sharing a file
  • zget for receiving

Sharing

To share some pictures do:

$ zput my_holiday_pictures.zip

then shout

Hey Tom, I am sending you my_holiday_pictures.zip!

Tom will then do

$ zget my_holiday_pictures.zip

Done.

Receiving

You want to have some very important data from Tom:

$ zget annual_reports.xlsx

then shout

Hey Tom, can you send me annual_reports.xlsx?

Tom then does

$ zput annual_reports.xlsx

Boom. Done.

Aliases

Alternatively, in case of really complicated filenames, you can use aliases or have zput generate one for you:

$ zput LICENSE
Download this file using `zget LICENSE` or `zget C6P3`

Also zget can generate an alias so you can initiate the transfer without knowing what file will be transferred.

$ zget
Upload a file using `zput <filename> YHKC`

As of version 0.10 zget will figure out the resulting filename from the transfer metadata, so you won't be stuck with a file YHKC on your computer.

Options

You may inspect the available options using

$ zput -h

or

$ zget -h

Configuration

By default zget uses a random open port and the sending party must be able to accept incoming connections. This may be a problem when you have restrictive firewall settings or multiple network cards.

You may create a config file

  • ~/.zget.cfg on Linux/OSX
  • %APPDATA%/zget/zget.ini on Windows

to permanently set the port number and/or interface zget uses, e.g.

[DEFAULT]
port = 8080
interface = eth0

Note that port numbers below 1024 may require root permissions to be opened.

Python Interface

As of zget 0.8, there exists a Python interface for sending and receiving files as function calls. E.g.:

For sending:

import zget
zget.put("filename", port=2200)

and for receiving:

import zget
zget.get("filename", "filename_to_save_to")

For more information please see the API reference.

Security Considerations

Neither Zeroconf nor HTTP, both technologies used in this tool, should be used on untrusted networks (like public WiFi at a coffee shop).

Additonally, zput announces the filename and aliases as a simple unsalted SHA-1 hash on the network. This means that a malicious party could trivially intercept your transfers by simply generating a large enough number of hashes and then accepting the transfer on behalf of the desired recipient.

In this case you should however notice the attack by the recipient never receiving a file while the sender sees an upload happening.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].