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:
- ๐ฎ Global Hotkey:
Ctrl+Shift+Vworks anywhere, anytime! - ๐ผ๏ธ Smart Detection: Automatically detects text or images
- ๐ Custom Filenames: Optional naming with timestamp format
yyyymmddHHMMSS_yourname - ๐จ Image Memos: Add red, centered text annotations to your screenshots!
- ๐ Unicode Support: Perfect for Japanese, Chinese, Korean, and all languages!
- ๐ 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+Vanywhere 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?
- ๐ด Fork the repository
- ๐ Create your feature branch
- โจ Add some magic (and tests!)
- ๐ 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df96a07ea9fc6a0bb8093691d7f26bd0a3e82348cc34fc6d430c66fbb955ffcb
|
|
| MD5 |
1f0187343591549b5537ab1b9b57bb83
|
|
| BLAKE2b-256 |
081c2339588e832ae163bda9384235fe57b26618a3f0135e835df9dc74cdf88a
|
File details
Details for the file paste2file-0.1.2-py3-none-any.whl.
File metadata
- Download URL: paste2file-0.1.2-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.25
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad1810fc0666af513c1e348973b9428c4116267746f03f7c3238c8059ec7a6d5
|
|
| MD5 |
7614414564830e122e6eda7091658501
|
|
| BLAKE2b-256 |
b18e0a48d21c25580c562cdf7e4932effabc8d8aa11c30f758877d49924ee46e
|