Skip to main content

Coffer

Latest PyPI version

About

Easily send and receive files in your LAN. Without ever typing an IP address.

How does it work

Basically, it’s an HTTP server with simple APIs + zeroconf

How to use it

coffer send filename
coffer get --all

Other features

  • You can filter what to download with --filter

  • You can automatically exit after every file has been downloaded once, using --one

  • You can have passwords (but they are not a great form of protection!)

Non-features

  • This kind of sharing is not secure, is not anonymous, and won’t be. Making it easy means announcing our service (not anonymous, therefore) and making it simple means allowing anyone to download (making it unsecure by definition)

Known bugs

  • File download is still not implemented

Installation

pip install coffer is enough

Real-life examples

one to one

Scenario1: You are in a room with another person. Each one has a computer. You are in the same LAN. You want to send a file to a person in front of you. This usually requires:

  • manually launching a server to share files

  • spelling the URL to the fellow in front of you, who has to type it

That’s too boring.

solution

coffer send --one myfile.txt
coffer get --all

one to many

You are in a room with many people. Each one has a computer. You are in the same LAN. You want to send a file to many people. This usually requires:

  • creating a directory with only the files you want to share inside

  • manually launching a server to share files

  • spelling the URL to everyone, and everyone needs to type it.

This is crazy.

solution

coffer send myfile.txt
coffer get --all

many to many + a command

You are in a room with many people. Each one has a computer. You are in the same LAN. Everyone wants to send his gpg key to everyone else. This usually requires:

  • each one creating a directory with only the files you want to share inside

  • each one manually launching a server to share files

  • each one spelling the URL to everyone.

  • each one following each link and gpg --import it

Are you kidding me?

solution

coffer send =(gpg -a --export $(gpg --with-colons -K|egrep '^sec'|cut -d: -f 5|head -n1))
coffer get --all --cat | gpg --import

About the name

The main concept in coffer is that you are offering files to other people. Sharing is caring, and I like it. The other thing that I like so much is coffee. coffer is the sum of the best things in life.

Metadata

Release files for coffer 0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for coffer 0.3
File Size Uploaded
coffer-0.3.tar.gz 5.9 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for coffer 0.3
File Interpreter ABI Platform
coffer-0.3.linux-x86_64.tar.gz Details
coffer-0.3-py2.7.egg Legacy Egg format - - Details

Total release size: 29.8 kB

Release files / coffer-0.3.tar.gz

Download URL coffer-0.3.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
532e3f93eaf9d5b8df490c8af00e1967d091a7dafec9169a135ebde962882722
BLAKE2b-256 checksum
How to use checksums
f84a1a3e79379ac5f21a00c8c1e367821e504282bd7450335e97ffcb3488db23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / coffer-0.3.linux-x86_64.tar.gz

Download URL coffer-0.3.linux-x86_64.tar.gz
Size 10.2 kB
Tags Source
SHA-256 checksum
How to use checksums
eb7a2470220c17426fcef7ce26c24f0dce8120064ffae5689fca1ebc76e8a268
BLAKE2b-256 checksum
How to use checksums
f46d275a11020d4fa98be49ff73fb13089f17b7b2571a82307c3cd622ba195a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / coffer-0.3-py2.7.egg

Download URL coffer-0.3-py2.7.egg
Size 13.6 kB
Tags Egg
SHA-256 checksum
How to use checksums
78d1818ffca2b48df082321b3e2a144b47dd68ff578534d5ec7c368ce1a45c17
BLAKE2b-256 checksum
How to use checksums
82e0f8799629f71126b1047aebd42689e244d2b6091481c05a568fc79c2c9464
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.3 This release

3 release files

0.2

3 release files

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page