LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

airshare

Share files between devices on the local network

TLDR

Send a file with a code
$ airshare [mycode] [file.txt]
copy
Receive files using a code
$ airshare [mycode]
copy
Send multiple files
$ airshare [mycode] [file1.txt] [file2.txt]
copy
Send text content directly
$ airshare [mycode] -t "[Hello, World!]"
copy
Host a receiving (upload) server
$ airshare [mycode] -u
copy
Send clipboard contents as text
$ airshare [mycode] -cs
copy
Specify a custom port
$ airshare [mycode] [file.txt] -p [9000]
copy

SYNOPSIS

airshare [options] code [files]

DESCRIPTION

airshare is a Python-based cross-platform file sharing tool that transfers files between devices on the same local network. It uses mDNS for device discovery and identifies transfers with a simple code word. Recipients access shared content by using the same code.The tool provides a simple alternative to complex file sharing setups, requiring no server configuration or account creation. Shared content can also be accessed via a web browser at `http://<code>.local:8000`.

PARAMETERS

CODE

An identifying code word for the sharing session.
FILES
File(s) or directories to send.
-p, --port INTEGER
Specify the port number for the server (default: 8000).
-t, --text TEXT
Send text content directly. Enclose multiple words in quotes.
-u, --upload
Host a receiving server to accept uploaded files.
-cs, --clip-send
Send clipboard contents as text.
-cr, --clip-receive
Receive content and copy it to the clipboard.
-fp, --file-path
Send files whose paths have been copied to the clipboard.
--version
Display version information.

INSTALL

brew install airshare
copy

CAVEATS

Both devices must be on the same local network. Large files are processed in chunks but may take time depending on network speed. The tool requires mDNS support on the network.

HISTORY

airshare was developed as a Python-based alternative to AirDrop for cross-platform local file sharing, leveraging mDNS for zero-configuration networking.

SEE ALSO

croc(1), wormhole(1), scp(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid