npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

magicdrop-cli

v0.0.2

Published

Instant local-network sharing for files, images and text.

Readme

✨ MagicDrop

Simple local-network file and text sharing between your terminal and browser.

MagicDrop lets you share files and text between:

  • 💻 Terminal → 📱 Browser
  • 📱 Browser → 💻 Terminal
  • 📱 Browser → 📱 Browser

No cloud storage is required. Start MagicDrop, open the local URL or scan the QR code, and start sharing.

🚀 Installation

Install MagicDrop globally with npm:

npm install -g magicdrop-cli

▶️ Start MagicDrop

Run:

md start

MagicDrop starts a local server and displays a QR code.

Example:

✨ MagicDrop 0.0.1
by Aditya Sorathiya

🌐 http://-.-.-.-:8765

📱 Scan the QR code or open the URL.

[QR CODE HERE]

📁 Downloads: /path/to/MagicDrop/downloads


Commands:

  devices

  send <file>

  send-text <text>

  y
  n

  help
  exit

Scan the QR code with another device or open the displayed URL in a browser connected to the same local network.

📱 Connect a Device

  1. Start MagicDrop with:
md start
  1. Scan the QR code or open the displayed URL.

  2. Enter a device name.

  3. Connect.

Connected devices can then share files and text with each other.

📁 Send a File

Use:

send <filename>

Example:

md> send photo.jpg

The receiving device will get an approval request.

After the receiver accepts the transfer, the file is sent automatically.

Files received by the terminal are saved in:

downloads/

💬 Send Text

Use:

send-text <text>

Example:

md> send-text Hello from MagicDrop!

You don't need single or double quotes.

Example:

md> send-text Hello this is a test

The receiver gets the text after accepting the transfer.

📱 Browser Sharing

From the browser you can:

  • 📁 Send files

  • 💬 Send text

  • 📥 Receive files

  • 📥 Receive text

  • 🔄 Share between multiple connected devices

Browser-to-browser file transfers are sent in chunks and combined into a single file when the transfer finishes.

📦 File Size Limit

MagicDrop allows files up to 512 MB by default. You can change or set the maximum file size when starting MagicDrop.

Example:

md start --limit 1G

Supported units:

  1. KB
  2. MB
  3. GB

Examples:

md start --limit 100MB
md start --limit 512MB
md start --limit 1GB

The file-size limit is enforced by the MagicDrop server, while the browser also checks files before sending them.

💻 Terminal Commands

Command Description

md start - Start MagicDrop

md start --limit <NUMBER><KB/MB/GB> - Start MagicDrop with a custom file-size limit

md -v - Show the installed version

devices - Show connected devices

send <file> - Send a file

send-text - Send text

y - Accept the oldest pending transfer

n - Reject the oldest pending transfer

help - Show available commands

exit - Stop MagicDrop

🔢 Check Version

Run:

md -v

Example:

MagicDrop 0.0.2 by Aditya Sorathiya

🔐 Local Network

MagicDrop runs on your local network.

Make sure the devices you want to connect are on the same Wi-Fi/local network.

The displayed IP address is only an example and will be different depending on your network.

📦 Downloads

Files received by the terminal are stored inside:

downloads/

The folder is created automatically when MagicDrop starts.

🎉 Releases

MagicDrop 0.0.2 - The second release of MagicDrop.

✨ Improvements

  • 🎨 Improved browser UI
  • 📦 Added configurable maximum file-size limit
  • ⚙️ Added --limit option to md start
  • 🛡️ Added server-side and client-side file-size validation

MagicDrop 0.0.1 — First Release

This is the first release of MagicDrop.

Included

  • 📁 File sharing

  • 💬 Text sharing

  • 💻 Terminal interface

  • 🌐 Browser interface

  • 📱 Browser ↔ Browser sharing

  • 💻 Terminal ↔ Browser sharing

  • 📱 Multiple connected devices

  • 📷 QR code connection

  • ✅ Transfer approval

  • ❌ Transfer rejection

  • 📦 Chunk-based file transfers

  • 📥 Automatic terminal downloads

  • 🔢 Version command

👨‍💻 Author

Aditya Sorathiya

📄 License

MIT License