Skip to content

Save clipboard content to files with smart format detection. Integrated with Apple Intelligence for transcription and summarization - A macOS CLI tool

License

Notifications You must be signed in to change notification settings

prateekjain24/clipdrop

Repository files navigation

ClipDrop - Your Clipboard, Instantly Saved ✨

PyPI version Downloads Python License: MIT

Stop the copy-paste-save dance. One command turns your clipboard into any file.

pip install clipdrop

πŸš€ Get Started in 30 Seconds

1. Copy anything - text, code, images, audio 2. Save it - clipdrop myfile 3. That's it! ClipDrop detects the format and saves it perfectly.

# Just copied some code? Save it:
clipdrop script.py

# Screenshot in clipboard? Save it:
clipdrop design.png

# Building a journal? Append to it:
clipdrop journal.md -a

πŸ’‘ Why ClipDrop?

The Problem: Saving clipboard content on macOS is tedious: Copy β†’ Open app β†’ Paste β†’ Navigate β†’ Name β†’ Choose format β†’ Save 😫

The Solution: Just clipdrop filename and you're done! πŸŽ‰

Perfect for:

  • πŸ‘¨β€πŸ’» Developers - Save code snippets and API responses instantly
  • πŸ“Š PMs - Capture screenshots and meeting notes in one command
  • ✍️ Writers - Build documents by appending content throughout the day
  • πŸŽ“ Students - Organize research without switching apps

🎯 Top 5 Killer Features

1. 🧠 Smart Format Detection

ClipDrop knows what you copied and saves it correctly:

clipdrop data        # JSON detected β†’ data.json
clipdrop readme      # Markdown β†’ readme.md
clipdrop screenshot  # Image β†’ screenshot.png

2. πŸ“ Append Mode - Build Documents Over Time

Never lose a thought. Keep adding to files:

clipdrop journal.md -a   # Morning thoughts
clipdrop journal.md -a   # Afternoon notes
clipdrop journal.md -a   # Evening reflection

3. 🎡 Audio Transcription (macOS 26.0+)

Turn recordings into text using Apple Intelligence:

# Copy an audio file, then:
clipdrop              # β†’ transcript_20240323_143022.srt
clipdrop meeting.txt  # β†’ meeting notes as plain text

4. πŸ€– On-Device Summaries (macOS 26.0+)

Get an executive-ready recap before the raw transcript:

# Save article + structured summary at the top
clipdrop research-notes.md --summarize

# Works for YouTube transcripts and audio, too
clipdrop -yt briefing.md --summarize
clipdrop --audio meeting.txt --summarize

Summaries include:

  • Overall headline sentence
  • Sections for Key Takeaways, Action Items, and Questions
  • Handles transcripts of any length - automatically uses hierarchical processing for long content
  • Local fallback when Apple Intelligence is busy, so you always get something useful

5. πŸŽ₯ YouTube Transcripts

Research videos efficiently:

# Copy YouTube URL, then:
clipdrop -yt                    # Download transcript
clipdrop -yt lecture.md --lang es  # Spanish transcript
clipdrop -yt notes.md --summarize  # Transcript + structured summary

6. πŸ”’ Secret Scanner

Never accidentally save credentials:

clipdrop config.env -s           # Scan before saving
clipdrop api-keys.txt --scan-mode redact  # Auto-redact secrets

πŸ“– Common Workflows

Daily Journaling
# Start your day
echo "Morning thoughts..." | pbcopy
clipdrop journal.md -a

# Add throughout the day
clipdrop journal.md -a

# Review before saving
clipdrop journal.md -a -p
Code Snippet Collection
# Save useful code snippets
clipdrop snippets.py -a

# Preview before adding
clipdrop snippets.py -a -p

# Force overwrite when needed
clipdrop snippets.py -f
Research & Notes
# Save web content as PDF
clipdrop article.pdf

# Download YouTube lectures
clipdrop -yt lecture.md
clipdrop -yt lecture.md --summarize

# Build research document
clipdrop research.md -a

# Append AI summary (macOS 26.0+)
clipdrop research.md --summarize
Screenshot Management
# Quick save
clipdrop screenshot.png

# Preview dimensions first
clipdrop mockup.png -p

# Save only the image (ignore text)
clipdrop design.png --image-only

πŸ› οΈ Installation

Quick Install

pip install clipdrop

With YouTube Support

pip install clipdrop[youtube]

Other Methods

# Using uv (fast)
uv add clipdrop

# Using pipx (isolated)
pipx install clipdrop

# From source
git clone https://github.com/prateekjain24/clipdrop.git
cd clipdrop && pip install -e .

⚑ Command Reference

Core Commands

clipdrop <filename>      # Save clipboard to file
clipdrop -a <filename>   # Append to existing file
clipdrop -p <filename>   # Preview before saving
clipdrop -f <filename>   # Force overwrite

Input Sources

clipdrop -yt            # YouTube transcript mode
clipdrop --audio        # Force audio transcription

Filters & Options

clipdrop --text-only    # Ignore images
clipdrop --image-only   # Ignore text
clipdrop -s             # Scan for secrets
clipdrop --lang es      # Set language

πŸ“š Full Command Documentation β†’

🎯 Pro Tips

  1. Shell Aliases - Add to your .zshrc:

    alias cda='clipdrop -a'  # Quick append
    alias cdp='clipdrop -p'  # Preview first
  2. Auto-transcribe - Copy audio β†’ clipdrop β†’ instant transcript

  3. Mixed content - Copy text + image β†’ clipdrop doc.pdf β†’ perfect PDF

  4. Safe secrets - Always use -s for sensitive content

🀝 Contributing

We love contributions! Check out CONTRIBUTING.md for guidelines.

πŸ“„ License

MIT Β© Prateek Jain

πŸ”— Links


Stop copying and pasting. Start ClipDropping.
Made with ❀️ for the clipboard warriors

About

Save clipboard content to files with smart format detection. Integrated with Apple Intelligence for transcription and summarization - A macOS CLI tool

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published