Open-Awesome
CategoriesAlternativesStacksSelf-HostedExplore
Open-Awesome

© 2026 Open-Awesome. Curated for the developer elite.

TermsPrivacyAboutGitHubRSS
  1. Home
  2. Command-Line Apps
  3. sharing

sharing

MITJavaScriptv1.4.0

A CLI tool to share files and directories between your computer and mobile devices via QR codes, no app required.

GitHubGitHub
1.8k stars75 forks0 contributors

What is sharing?

Sharing is a command-line tool that allows you to share files and directories from your computer to iOS and Android devices without requiring any additional mobile apps. It works by starting a local web server, generating a QR code, and letting mobile devices access the shared content through their browser. It solves the problem of quickly transferring files between devices without installing software or using cloud services.

Target Audience

Developers, IT professionals, and power users who frequently need to transfer files between their computer and mobile devices in a local network environment.

Value Proposition

Developers choose Sharing because it’s lightweight, requires no mobile app installation, and works entirely from the command line with simple QR code access. Its self-hosted nature ensures privacy and control over file transfers without relying on third-party services.

Overview

Sharing is a command-line tool to share directories and files from the CLI to iOS and Android devices without the need of an extra client app

Use Cases

Best For

  • Quickly sharing log files or configuration files from a server to a mobile device
  • Transferring development assets like images or documents during testing
  • Sharing clipboard content between a computer and phone without cloud sync
  • Securely transferring sensitive files within a local network using basic authentication
  • Receiving files from mobile devices directly to a computer via command line
  • Ad-hoc file sharing in environments where installing mobile apps is restricted

Not Ideal For

  • Transferring very large files or batches of files over slow or unstable networks
  • Scenarios requiring automated, scheduled file transfers without user intervention
  • Teams needing to share files with multiple mobile devices simultaneously in a production environment
  • Environments where mobile devices lack a browser or cannot scan QR codes

Pros & Cons

Pros

App-Free Mobile Access

Uses standard web browsers on iOS and Android, eliminating the need for extra mobile apps as per the project's philosophy of simplicity.

Quick CLI Setup

Simple commands like 'sharing /path' immediately start a local server and generate a QR code, demonstrated in the usage examples for fast sharing.

Clipboard Integration

Allows seamless clipboard sharing with the '-c' flag, enabling easy text transfer between devices without manual copying or cloud sync.

Basic Security Options

Supports basic authentication and SSL for encrypted transfers, providing some security for local network file sharing as highlighted in the key features.

Cons

Network Dependency

Requires devices on the same Wi-Fi or manual public IP configuration, which can fail in restricted networks or without proper setup, limiting remote use.

Incomplete Features

The TODO list admits missing essentials like zipping files before transfer and self-signed certificate creation, indicating the tool isn't fully polished.

Platform-Specific Quirks

MacOS users must use 'easy-sharing' instead of 'sharing', adding complexity and potential confusion, as noted in the README usage instructions.

No Built-in Compression

Lacks automatic file zipping, which could slow down transfers of large directories, a limitation acknowledged in the TODO for future improvements.

Open Source Alternative To

sharing is an open-source alternative to the following products:

AirDrop
AirDrop

AirDrop is a wireless file-sharing feature built into Apple devices that allows users to quickly transfer files between nearby iOS and macOS devices.

S
Snapdrop

Snapdrop is a web-based file-sharing service that uses peer-to-peer WebRTC technology to transfer files directly between devices on the same local network without uploading to servers.

l
localSend

LocalSend is an open-source, cross-platform application for secure file sharing between devices on the same local network without requiring an internet connection.

Frequently Asked Questions

Quick Stats

Stars1,840
Forks75
Contributors0
Open Issues0
Last commit2 months ago
CreatedSince 2022

Tags

#ios#qr-code#local-server#filesharing#android#command-line-tool#cli-tool#nodejs#qrcode#filetransfer#linux#cross-platform#file-sharing#command-line#browser

Built With

N
Node.js

Included in

Command-Line Apps19.2k
Auto-fetched 8 hours ago

Related Projects

rclonerclone

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

Stars59,638
Forks5,375
Last commit19 hours ago
croccroc

Easily and securely send things from one computer to another :crocodile: :package:

Stars40,275
Forks1,615
Last commit1 day ago
ffsendffsend

:mailbox_with_mail: Easily and securely share files from the command line. A fully featured Firefox Send client.

Stars7,409
Forks206
Last commit9 months ago
portalportal

Portal is a quick and easy command-line file transfer utility from any computer to another 🌌 ✨

Stars1,767
Forks53
Last commit2 years ago
Community-curated · Updated weekly · 100% open source

Found a gem we're missing?

Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.

Submit a projectStar on GitHub