Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a python script that uploads an image to imgur via keyboard shortcut. #314

Merged
merged 9 commits into from
Oct 13, 2024

Conversation

Rohit-Sharma-RS
Copy link
Contributor

Implement Imgur Image Upload via Clipboard with Keyboard Shortcut

Summary

This pull request introduces a feature that allows users to upload images directly from their clipboard to Imgur using a keyboard shortcut. The script captures the image from the clipboard, converts it to base64, and uploads it to Imgur via their API, this script handles exceptions and has environment variable support for security reasons.

Description

This Python script enables users to easily upload images from their clipboard to Imgur by pressing a keyboard shortcut (Ctrl + Alt + S).

Key Features:

  • Clipboard Capture: Automatically grabs images currently in your clipboard.
  • Imgur Integration: Uploads the captured image to Imgur with a simple API call.
  • Keyboard Shortcut: Use Ctrl + Alt + S to quickly upload images without any hassle.
  • Secure Credentials: Manages the Imgur Client ID using environment variables for added security.

This tool simplifies the process of sharing images online, making it fast and convenient.

Please go through the README for more details and also screenshots of woking of the project.

This pull request solves issue #280.

Thank You,
Rohit Sharma.

Copy link
Collaborator

@hasan-py hasan-py left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please rename the folder to match the format of the other names. Additionally, please add this script to the table of the main README file.

@Rohit-Sharma-RS
Copy link
Contributor Author

Please rename the folder to match the format of the other names. Additionally, please add this script to the table of the main README file.

On it..

@Rohit-Sharma-RS
Copy link
Contributor Author

Hi @hasan-py I have completed the said changes kindly review.

Copy link
Collaborator

@hasan-py hasan-py left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants