Skip to content
New issue

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

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

Already on GitHub? # to your account

Feature rename files #10

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

Feature rename files #10

wants to merge 20 commits into from

Conversation

bossjones
Copy link
Owner

No description provided.

- Introduced `lms_sync` function for syncing directories with automatic destination mapping and confirmation handling.
- Added `escape_single_quotes` function to properly escape single quotes in filenames for shell commands.
- Enhanced `process_and_move_files` to utilize the new escaping function for filenames in generated scripts.
- Improved script header and footer for better error handling and output management.
- Added color setup and logging functions for improved terminal output.
- Integrated logging into command compatibility checks for better user feedback.
- Updated help message to include color formatting for clarity.
- Enhanced error handling and user prompts throughout the lms_sync function.
- Ensured that GNU utilities are checked and users are prompted with installation hints if missing.
- Removed trailing whitespace in the aliases.zsh file for improved code cleanliness.
- No functional changes were made; this commit focuses on maintaining code quality.
- Removed extensive commented-out code and unnecessary whitespace in aliases.zsh for improved readability.
- Added new functions for converting various video formats (FLV, WMV, AVI) to MP4 and resizing Twitter list banners.
- Improved the structure and clarity of the script while maintaining existing functionality.
- No functional changes were made to existing commands; focus was on code cleanliness and organization.
…ses.zsh

- Introduced `yt-red` function for downloading videos in HD format using yt-dlp.
- Added `reddit_dl_improved` function for enhanced downloading from Reddit with gallery-dl.
- Created aliases `red_dl` and `rdi` for the new functions to streamline usage.
- Maintained existing functionality while expanding the capabilities of the script.
- Introduced `dl_thumb_only` function to download thumbnails from video URLs using yt-dlp
- Created alias `dto` for quick thumbnail-only downloads
- Utilizes pyenv to activate specific Python environment
- Supports downloading and converting thumbnails to PNG format
- Includes cookie support for enhanced download capabilities
- Removed unnecessary comment block for 'chezmoi managed - end.zsh'
- Maintained existing code structure and functionality
- Improved overall file readability with minimal changes
- Introduced `dsfi` function for downloading videos using Firefox cookies with yt-dlp
- Added `copy_to_large_and_small_folders` function to copy media files to separate directories
- Expanded download and file organization capabilities in aliases.zsh
- Introduced `prepare_for_ig_story` function for converting videos to Instagram Story format
- Added `image_prepare_for_ig_reel` function to resize and format images for Instagram Reels
- Created utility functions `prepare_images_story` and `prepare_videos_story` for batch processing
- Added `prepare_all` alias to streamline media preparation for social media
- Implemented color sampling and background padding for consistent media formatting
…ls and Stories

- Modified `get_all_images` and `get_all_videos` to exclude Instagram Reel and Story files
- Updated multiple media preparation functions to ignore '*ig_reel*' and '*ig_story*' files
- Corrected `image_prepare_for_ig_reel` to use '_ig_story' suffix instead of '_ig_reel'
- Added `prepare_everything_story` function to consolidate media preparation workflow
- Removed previous `prepare_all` alias and replaced with new comprehensive preparation function
- Introduced `add_text_to_ig_video` function for adding text to video files
- Supports customizable text styling, positioning, and background
- Uses ffmpeg for video text overlay with configurable font and color settings
- Generates output video with centered text in the top quarter of the frame
- Introduced `extract_twitter_handles` function for recursive OCR-based handle extraction
- Uses Tesseract OCR to scan images and find Twitter handles
- Generates an output file with image paths and corresponding Twitter/X profile URLs
- Supports multiple image formats and recursive directory searching
- Includes error handling for Tesseract installation
- Introduced `shadow_meme.py` script for creating meme images with enhanced shadow effects
- Supports customizable shadow parameters including offset, color, blur radius, and opacity
- Provides command-line interface for easy image processing
- Includes robust error handling and path expansion for input/output files
- Utilizes Pillow (PIL) for image manipulation and shadow generation
- Introduced `create_silhouette.py` script for converting images to silhouette effect with transparent background
- Added `shadow_meme_overlay.py` script for creating meme images with advanced shadow and positioning options
- Enhanced `shadow_meme.py` with example usage function and improved CLI argument handling
- Included new `dl_helldivers` function in aliases.zsh for downloading Helldivers content
- Implemented robust error handling, type annotations, and flexible image processing capabilities
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant