Grillo
A small tool to easily send data (files, clipboard) between computers with 0 config, just using audio and mic.
Installation
On Ubuntu, install it by running:
sudo apt install portaudio19-dev libffi-dev libsndfile1 xclip
pip3 install grillomodem --user
Usage
machine1> grillo listen
machine2> grillo text "hello world!"
After hearing some hight pitched sounds, machine1 should print:
machine1> grillo listen
Received text:
hello world!
You can also send files:
machine2> grillo file /path/to/a_file.txt
Or even update machine1’s clipboard with machine2’s clipboard contents:
machine2> grillo clipboard
Limitations
This will work with contents of less than 8KB, and the bandwith is fairly low, around 52bps. So use it to send small files (configs, etc), texts (like commands, an email, an url, etc), or copied text from the clipboard. Don’t try to send stuff like a video :)
Usage as a lib
You can also use Grillo from your own Python programs, like this:
from grillo import Grillo
g = Grillo()
g.send_text("hello world")
Brave vs normal mode
In the default mode, Grillo will use an ACK message to request any packets of a message that haven’t been successfully received. This helps working in noisy environments. If you are super confident in your quiet environment, or your receiver can’t emit sounds, you can use --brave to disable that feature.
Metadata
Release files for GrilloModem 1.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| GrilloModem-1.2.4.tar.gz | 8.4 kB | Without provenance | Details for GrilloModem-1.2.4.tar.gz |
Release files / GrilloModem-1.2.4.tar.gz
| Download URL | GrilloModem-1.2.4.tar.gz |
|---|---|
| Size | 8.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
97ca628eb4cc0c3e5ac9b002c449860651be1773e3bdc697be77be5725b6a908
|
|
BLAKE2b-256 checksum How to use checksums |
8aa8f68f691a8a082c9253acf92c93898c6737df01b27bd4d67a6a711453393e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.3
|
Security for GrilloModem 1.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.