Skip to content

Add compress_clipboard utility for file Compression/Decompression & Clipboard Manager Tool#46

Merged
Vaibhav2154 merged 1 commit intoVaibhav2154:mainfrom
Red-Phoenix-01:file-compression
Aug 27, 2025
Merged

Add compress_clipboard utility for file Compression/Decompression & Clipboard Manager Tool#46
Vaibhav2154 merged 1 commit intoVaibhav2154:mainfrom
Red-Phoenix-01:file-compression

Conversation

@Red-Phoenix-01
Copy link
Contributor

Summary

Added a new utility script compress_clipboard.py that allows clipboard content to be compressed and decompressed easily.
This will help in reducing the size of clipboard text and making it more efficient to share/store.

Motivation

Many times, large text in clipboard takes unnecessary space or becomes slow to process.
This script provides a quick way to compress text before storing/sharing, and decompress when needed.

Implementation Details

  • Implemented compression using zlib and base64 encoding.
  • Supports clipboard read/write for both compression and decompression.
  • Added as a standalone script inside backend/scripts/utilities.

Testing

  • Tested with plain text in clipboard (small and large).
  • Verified compression/decompression cycle returns original text.
  • Checked integration with clipboard utilities.

Additional Context

This is the first version of the utility. Future improvements could include:

  • Support for file drag/drop compression.
  • Option for choosing different algorithms (bz2, lzma, etc.).
  • Integration with GUI for easier use.

@vercel
Copy link

vercel bot commented Aug 26, 2025

@Red-Phoenix-01 is attempting to deploy a commit to the vaibhav2154's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link

Thanks for creating a PR for your Issue! ☺️

We'll review it as soon as possible.
In the meantime, please double-check the file changes and ensure that all commits are accurate.

If there are any unresolved review comments, feel free to resolve them. 🙌🏼

@Red-Phoenix-01
Copy link
Contributor Author

Noticed that the Vercel check failed due to authorization. Since I don’t have deploy access, I assume this is expected. If you need me to modify this, please dont hesitate to reach out to me. Glad to help!

@Vaibhav2154 Vaibhav2154 merged commit 6f70e15 into Vaibhav2154:main Aug 27, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants