sharefromcli
v1.0.1
Published
ShareFromCLI is a fast, developer-focused Node.js CLI tool that lets you share files and command snippets directly from your terminal — no setup, no accounts, just pure CLI magic.
Maintainers
Readme
ShareFromCLI 🚀
ShareFromCLI is a fast, developer-focused Node.js CLI tool that lets you share files and command snippets directly from your terminal — no setup, no accounts, just pure CLI magic.
It’s designed for developers, workshops, and teams that need to share files or commands quickly and securely.
🔗 Website: https://sharefromcli.xyz/
📦 Installation
npm install -g sharefromcli⚙️ Usage
1️⃣ Initialize the CLI
sharefromcliWhen you run the CLI, it will automatically load your token if available:
✅ Token loaded successfully!2️⃣ Choose an option
You can either: - Create (C) → Upload a local text file and share it instantly. - Read (R) → Retrieve a shared document using its unique ID.
⏳ Expiry Policy
All shared file IDs automatically expire after 7 days for security and cleanup. Once expired, the link or ID will no longer be available.
⏳ Progress Feedback
The CLI shows dynamic progress messages such as:
Processing: Verifying token...
Processing: Uploading your file...
Processing: Fetching document...⚠️ Graceful Exit
If you interrupt the process (e.g., press Ctrl + C), you'll see a
clean error message like:
❌ Error: Process interrupted by user.🧪 Local Development
If you're working on the CLI locally and want to test it after building, run:
npm install -g .
sharefromcliTo remove it later:
npm uninstall -g sharefromcli🧰 Tech Stack
- Node.js
- Commander.js
- Chalk
- Axios
💡 Key Highlights
⚡ Share files or snippets in seconds
🔒 Secure and auto-expiring file IDs (7 days)
🧠 Easy interactive prompts
💻 Developer-first CLI with dark theme support
🌐 Ideal for workshops, meetups, and dev teams
🌟 Features
- Simple, developer-friendly interface.
- Upload or fetch text documents quickly.
- Built-in progress indicator.
- Graceful error handling.
📄 License
MIT License © 2025 ShareFromCLI
