3.0.0
Everything's changed, including the code
This version is not backwards-compatible
Installation
Please refer to the wiki page for more information
Upgrade
If you are performing an upgrade, delete everything, with the exception of the files listed below:
/assets/
and its contents/configs/subreddits.txt
/configs/customcaption.txt
Changelog
Refactor
The code has been cleaned up and split up into multiple modules (reddit snooper, instagram, ocr, etc.) for better maintainability
Logging
A proper logging library is being used so that logs are saved for easier debugging
- Separate logs are kept for each module of the bot (reddit snooper, instagram, ocr, etc.)
- A combined log is available containing all the logs
- An error log is available containing only errors
Auto-crop and Image resize
Images that do not meet the required aspect ratio or image dimensions set by Instagram will automatically be edited to meet the requirements
- Images that are too tall will be cropped vertically
- Images that are not tall enough will be letterboxed
- Images that are not wide enough will be scaled up (while maintaining its aspect ratio)
- Images that are too wide will be scaled down (while maintaining its aspect ratio)
All operations will be done with the center of the image used as the anchor
Progress Bars
The following operations now have progress bars indicating their progress:
- Image upload
- Image download
- OCR
General Improvements
- Updated tesseract.js to its latest version (Allows for improved and more efficient ocr processing)
- Allow png file formats
- Improved error handling
- User is now prompted for an upload frequency during the setup process
Bug Fixes
- Fixed a bug where the login flow continues even after entering the wrong password for the Instagram account
- Fixed a bug where NSFW posts do not get filtered out
- Fixed a bug where posts with blacklisted words do not get filtered out
- Fixed a bug where some special characters do not get parsed properly