Quick and dirty Rust program to batch post Pictures to Pixelfed. I've used this to dump my Instagram Archive into month wise posts.
Find a file
2025-01-20 10:28:57 +01:00
src removed unused crate part 2025-01-20 09:53:20 +01:00
.gitignore adding package upload and introduced targets in cargo.toml 2025-01-17 16:55:56 +01:00
build.sh added bit more verbose output and my build script. 2025-01-18 09:26:46 +01:00
Cargo.toml bumbed version number for new OpenAI integration 2025-01-20 09:52:03 +01:00
config.json.example added integration of OpenAI Image Description 2025-01-20 09:47:00 +01:00
package.sh bumbed version number for new OpenAI integration 2025-01-20 09:52:03 +01:00
README.md clarified where the config.json should go. 2025-01-20 10:28:57 +01:00

Instagram Pixelfed Batch Upload

This program takes a folder and iterates over the images and creates Pixelfed postings with a specified batch size. The description of the post can be given via the config.json. Two variables in the post description can be give (see the config.json.example ).

Usage: ./pixelfed_batch_uploader ../../Downloads/Instagram-Backup/media/posts/201406 --title "June 2014"

The config.json must be in the same directory the program is called from ($PWD)

asciicast

Check the package of this repo to get pre-compiled binaries for macOS (Apple Silicon), Linux x86_64, Windows ARM

OpenAI Integration for Image Description

Added OpenAI integration to generate image descriptions and put them into the ALT text for each image. If an openai_api_key is present in the config.json then the Image description is fetched from the OpenAI API.