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

quick-share-cli

v1.0.0

Published

⚡ Lightning-fast file sharing via Cloudflare R2 - Upload any file and get instant shareable links

Readme

Quick Share CLI


✨ Features

  • Lightning Fast - Upload files instantly using rclone
  • 📁 Any File Type - Images, videos, PDFs, archives, documents
  • 🔗 Instant Links - Get public URLs immediately after upload
  • 📋 Smart Output - Markdown, HTML, and embed codes auto-generated
  • 🎨 Beautiful CLI - Colorful output with progress indicators
  • 🔒 Secure - Credentials stored with 600 permissions
  • 📱 Cross-Platform - macOS and Linux support
  • 🚀 Multiple Aliases - Use quick-share, qshare, or share

📦 Installation

Via NPM (Recommended)

npm install -g quick-share-cli

Via Yarn

yarn global add quick-share-cli

Via Homebrew (Coming Soon)

brew tap jack/quick-share
brew install quick-share-cli

Prerequisites

You'll need rclone installed:

# macOS
brew install rclone

# Linux
curl https://rclone.org/install.sh | sudo bash

# Windows (via WSL)
winget install Rclone.Rclone

🚀 Quick Start

1. Configure

Run the setup wizard to configure your Cloudflare R2 credentials:

quick-share setup

You'll need:

  • Cloudflare Account ID
  • R2 Access Key ID
  • R2 Secret Access Key
  • Bucket Name
  • Public URL (e.g., https://pub-xxxxx.r2.dev)

Get credentials: Go to Cloudflare Dashboard → R2 → Manage R2 API Tokens

2. Upload

# Upload any file
quick-share photo.png
quick-share document.pdf
quick-share video.mp4

# Or use shortcuts
qshare archive.zip
share presentation.pptx

📖 Usage

Basic Upload

quick-share <file>

With Custom Config

quick-share upload myfile.pdf --config ./custom-config.json

View Current Config

quick-share config

🎯 Examples

Upload an Image

$ quick-share screenshot.png

Uploading screenshot.png...
✓ Upload complete!

URL:      https://pub-xxxxx.r2.dev/screenshot.png
Size:     245 KB
Type:     image/png

Markdown: ![file](https://pub-xxxxx.r2.dev/screenshot.png)
HTML:     <img src="https://pub-xxxxx.r2.dev/screenshot.png" alt="file">

✓ URL copied to clipboard

Upload a Video

$ quick-share demo.mp4

Uploading demo.mp4...
✓ Upload complete!

URL:      https://pub-xxxxx.r2.dev/demo.mp4
Size:     15.2 MB
Type:     video/mp4

Video:    <video controls><source src="https://pub-xxxxx.r2.dev/demo.mp4" type="video/mp4"></video>

✓ URL copied to clipboard

Upload a Document

$ quick-share report.pdf

Uploading report.pdf...
✓ Upload complete!

URL:      https://pub-xxxxx.r2.dev/report.pdf
Size:     2.4 MB
Type:     application/pdf

✓ URL copied to clipboard

🔧 Configuration

Configuration is stored securely in ~/.quick-share/config.json with 600 permissions.

Configuration File Format

{
  "accountId": "your-account-id",
  "accessKeyId": "your-access-key-id",
  "secretAccessKey": "your-secret-access-key",
  "bucketName": "my-bucket",
  "publicUrl": "https://pub-xxxxx.r2.dev",
  "endpoint": "https://your-account-id.r2.cloudflarestorage.com"
}

Multiple Buckets

You can maintain multiple configuration files for different projects:

# Personal bucket
quick-share upload photo.jpg --config ~/.quick-share/personal.json

# Work bucket
quick-share upload report.pdf --config ~/.quick-share/work.json

See examples/ for more configuration examples.

📁 Supported File Types

| Category | Types | | ------------- | ------------------------------------ | | Images | JPG, PNG, GIF, WebP, SVG | | Videos | MP4, MOV, WebM | | Audio | MP3, WAV, OGG | | Documents | PDF, TXT, JSON, DOC, DOCX, XLS, XLSX | | Archives | ZIP, TAR, GZ | | Other | Any file type supported! |

🛠️ Development

# Clone the repository
git clone https://github.com/jack/quick-share-cli.git
cd quick-share-cli

# Install dependencies
npm install

# Run tests
npm test

# Run linting
npm run lint

See CONTRIBUTING.md for more details.

📝 Changelog

See CHANGELOG.md for version history.

🤝 Contributing

Contributions are welcome! Please read our Contributing Guidelines before submitting PRs.

📄 License

MIT © Jack

🙏 Acknowledgments