Share files instantly via QR code on your local network - no internet, no cloud, just local WiFi.
NullShare is a privacy-focused, lightning-fast tool that lets you transfer files from your computer to your phone instantly using a QR code. It creates a local web server on your computer and generates a QR code that your phone scans to download files directly over WiFi.
- β‘ Blazing Fast - LAN transfer speeds (no internet required)
- π 100% Private - Files never leave your local network
- π± No App Needed - Works in any mobile browser
- π― One-Command Simplicity - Simple CLI interface
- π§ Cross-Platform - Windows, Linux, macOS
- π Password Protection - Optional security for sensitive files
- β±οΈ Auto-Timeout - Server stops automatically after transfer
- π¦ Folder Support - Automatically zips folders for transfer
Start sharing with a single command nullshare share TEST.pdf - generates QR code instantly
Scan this QR code with your phone's camera to connect
Clean web interface on your phone for downloading files
- Python 3.7 or higher
- Git (optional, for installation from source)
# Clone the repository
git clone https://github.com/MOUKA-513/NullShare.git
cd NullShare
# Create virtual environment (recommended)
python -m venv venv
source venv/bin/activate # Linux/Mac
# or
venv\Scripts\activate # Windows
# Install dependencies
pip install -r requirements.txt
pip install -e .nullshare share document.pdfthis will:
- 1. Start a local server
- 2. Generate a QR code in your terminal
- 3. Wait for your phone to connect
nullshare share image1.jpg image2.png document.pdfnullshare share ~/Downloads/my_project/
# Folders are automatically zipped for easy transfernullshare share --password mypass secret_document.pdf
# It generate a link with a password token- You can choose any of the --port & --timeout you want to use.
nullshare share --port 9090 --timeout 300 large_file.pdf- --port: Use a specific port (default: auto-assigned)
- --timeout: Auto-stop server after 300 seconds (5 minutes)
nullshare share --one-time sensitive_file.txt- Server stops after the first successful download.
nullshare --help
nullshare share --help
# Available options:
# --port PORT Port to use (0 = auto)
# --no-zip Don't zip folders
# --password TEXT Password protection
# --timeout SECONDS Auto-stop server after seconds
# --one-time Allow only one download
# --no-qr Hide QR code display
# --clean Clear screen before showing QR
# --verbose Show detailed output
#EXAMPLE :
nullshare share ~/Desktop/Test.pdf --port 2222 --one-time --timeout 30 --cleanβββββββββββββββ Start βββββββββββββββ Generate βββββββββββββββ
β Your PC βββββββββββββββΆβ NullShare βββββββββββββββΆβ QR Code β
β (Server) β β Server β β & URL β
βββββββββββββββ βββββββββββββββ βββββββββββββββ
β β β
β Same WiFi Network β β
βββββββββββββββββββββββββββββΌβββββββββββββββββββββββββββββββ
β
ββββββββββββΌβββββββββββ
β Phone Scans β
β QR Code β
ββββββββββββ¬βββββββββββ
β
ββββββββββββΌβββββββββββ
β Download Files β
β Directly to Phone β
βββββββββββββββββββββββ
- 1. Start Sharing on your computer.
nullshare share your-file.txt
- 2. Get QR Code: NullShare generates a QR code with local IP URL.
- 3. Scan on Phone: Open camera app and scan QR code.
- 4. Download: Files download directly to phone.
- 5. Auto-Cleanup: Server stops automatically or when you press Ctrl+C
βββββββββββββββ QR Code βββββββββββββββ
β Desktop ββββββββββββββββββΆβ Phone β
β (Server) ββββWiFi Transfer β (Browser) β
βββββββββββββββ βββββββββββββββ
β β
Python + Flask Mobile Browser
β β
Local HTTP Server Web Interface
| Feature | NullShare | Email/Cloud | USB Cable | Other Tools |
|---|---|---|---|---|
| Speed | LAN Speed (Fastest) | Internet Speed | USB 2.0 / 3.0 | Varies |
| Privacy | Local Only | Third-Party Servers | Direct | Varies |
| Convenience | QR Code Scan | Multiple Steps | Physical Connection | App Required |
| Setup Time | Seconds | Minutes | Minutes | Varies |
| Cross-Platform | Yes | Yes | OS Dependent | Often Limited |
MIT License - see LICENSE file for details.
-
Flask team for the amazing web framework
-
QRcode library developers
-
All contributors and testers
-
You for using NullShare! β€οΈ
Made with β€οΈ by MOUKA-513
β Star this repo if you find it useful!
