Skip to main content

📋✨ Paste2file - The Ultimate Clipboard Magic! ✨📋

"Life is short, save your clipboard faster than a magical girl transformation!" 🌟

🎯 Mission Statement

TLDR: Press Ctrl+Shift+V to instantly save clipboard content to Desktop! No more tedious file creation → open → paste → save routine! 🚀

🌸 What This Magical Tool Does:

  1. 🎮 Global Hotkey: Ctrl+Shift+V works anywhere, anytime!
  2. 🖼️ Smart Detection: Automatically detects text or images
  3. 📝 Custom Filenames: Optional naming with timestamp format yyyymmddHHMMSS_yourname
  4. 🎨 Image Memos: Add red, centered text annotations to your screenshots!
  5. 🌈 Unicode Support: Perfect for Japanese, Chinese, Korean, and all languages!
  6. 💚 Cute GUI: Draggable green widget that stays on top

🚀 Quick Start Adventure

📦 Installation Quest

# Clone this magical repository
git clone https://github.com/fxyzbtc/paste2file

# Enter the dungeon
cd paste2file

# Cast the installation spell
uv sync

# Launch the magic!
uv run paste2file

🎮 Usage Guide

🌟 Method 1: GUI Mode (Recommended!)

uv run paste2file
# or after installation:
paste2file
  • A cute green widget appears! 💚
  • Press Ctrl+Shift+V anywhere to activate
  • Right-click the widget to exit

📚 Method 2: Module Mode

python -m paste2file

⚡ Method 3: Script Entry

paste2file

🎨 Features Showcase

🖼️ Image Magic

  • 📸 Auto PNG: Saves screenshots as high-quality PNG
  • 🎯 Smart Memo: Add red, center-aligned text annotations
  • 🌍 Unicode Text: Support for all languages (中文/日本語/한글)
  • 🎪 Transparency: Preserves RGBA channels perfectly

📝 Text Sorcery

  • 💾 UTF-8 Safe: Handles all special characters
  • 🔧 Clean Names: Spaces become underscores automatically
  • Timestamped: Never lose track of when you saved!

🎮 User Experience

  • 🎯 Centered Dialogs: No more hunting for tiny windows
  • 🔝 Always On Top: Dialogs stay visible
  • 🎪 Auto Focus: Start typing immediately
  • 🖱️ Draggable: Move the widget anywhere you like

🛠️ Development Setup

🎯 Dependencies

keyboard>=0.13.5     # 🎮 Global hotkeys
loguru>=0.7.3        # 📊 Beautiful logging  
pyperclip>=1.9.0     # 📋 Clipboard magic
pillow>=10.0.0       # 🖼️ Image processing
pydantic>=2.11.3     # ✅ Data validation

🧪 Testing Your Magic

# Run the spell checker
uv run pytest

# Test clipboard with some text
echo "Hello ACGN World! 🌸" | clip

# Test with an image (take a screenshot first)
# Then press Ctrl+Shift+V

🌈 File Examples

📝 Text Files

20250802143022_meeting_notes.txt
20250802143125_todo_list.txt  
20250802143200_anime_quotes.txt

🖼️ Image Files

20250802143300_screenshot_bug_report.png
20250802143445_meme_collection.png
20250802143520_game_victory.png

🎪 Advanced Usage

🎨 Custom Memo Styling

When saving images, you can add:

  • 🔴 Red text for important notes
  • 🎯 Center alignment for professional look
  • 🌍 Unicode support for any language
  • 📏 Auto word wrap to fit image width

🎮 Hotkey Tips

  • Works in any application 🌟
  • Instant activation - no need to find the window
  • Clean exit with right-click menu
  • Persistent across desktop sessions

🔗 Links & Resources

  • 🏠 Homepage: [https://github.com/fxyzbtc/paste2file]
  • 📚 Wiki: [https://deepwiki.com/fxyzbtc/paste2file]
  • 🐛 Issues: [https://github.com/fxyzbtc/paste2file/issues]

🎉 Contributing

Want to make this tool even more magical?

  1. 🍴 Fork the repository
  2. 🌟 Create your feature branch
  3. ✨ Add some magic (and tests!)
  4. 🚀 Submit a pull request

📜 License

This project is licensed under the Power of Friendship license! 🌈✨


Made with 💖 for the ACGN community by developers who understand the pain of clipboard management!

Remember: Life is too short for manual file operations! Let the magic handle it! 🌟📋✨

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

paste2file-0.1.2.tar.gz (7.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

paste2file-0.1.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file paste2file-0.1.2.tar.gz.

File metadata

  • Download URL: paste2file-0.1.2.tar.gz
  • Upload date:
  • Size: 7.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.25

File hashes

Hashes for paste2file-0.1.2.tar.gz
Algorithm Hash digest
SHA256 df96a07ea9fc6a0bb8093691d7f26bd0a3e82348cc34fc6d430c66fbb955ffcb
MD5 1f0187343591549b5537ab1b9b57bb83
BLAKE2b-256 081c2339588e832ae163bda9384235fe57b26618a3f0135e835df9dc74cdf88a

See more details on using hashes here.

File details

Details for the file paste2file-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for paste2file-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ad1810fc0666af513c1e348973b9428c4116267746f03f7c3238c8059ec7a6d5
MD5 7614414564830e122e6eda7091658501
BLAKE2b-256 b18e0a48d21c25580c562cdf7e4932effabc8d8aa11c30f758877d49924ee46e

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page