Skip to main content

paste clipboard fast to file

Project description

๐Ÿ“‹โœจ 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! ๐ŸŒŸ๐Ÿ“‹โœจ

Project details


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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page