liteshare
v1.0.4
Published
CLI based P2P file sharing
Readme
LiteShare CLI
🚀 A powerful CLI tool for peer-to-peer file sharing with password protection and progress tracking.
Features
- Easy file sharing: Upload files with a simple command
- Password protection: Secure your files with optional passwords
- Cross-platform: Works on Windows, macOS, and Linux
- Lightweight: Minimal dependencies, fast performance
Installation
# Install globally
npm install -g liteshare
# Or use without installation
npx liteshare --helpUsage
Upload a file
# Basic upload
npx liteshare post ./document.pdf
# Upload with password protection
npx liteshare post ./document.pdf --pass 1234
# or
npx liteshare post ./document.pdf --p 1234Download a file
# Basic download
npx liteshare get <file_code>
# Download with password
npx liteshare get <file_code> --pass 1234
# or
npx liteshare get <file_code> --p 1234
# Download to specific directory
npx liteshare get <file_code> -o ./downloads/
# you will get a file code upon file upload
Commands
post <file>
Upload and share a file.
Arguments:
file- Path to the file to upload
Options:
-p, --pass <password>- Password to protect the file
Example:
npx liteshare post ./my-file.pdf --pass secretpasswordget <code>
Download a shared file using its file code.
Arguments:
code- File code received when uploading
Options:
-p, --pass <password>- Password to unlock the file-o, --output <path>- Output directory (default: current directory)
Example:
npx liteshare get 60815 --pass secretpassword -o ./downloads/License
MIT License - see LICENSE file for details.
Support
- 📧 Email: [email protected]
- 🐛 Issues: GitHub Issues
- 📖 Documentation: Wiki
Made with ❤️ by Harsh Pandey
