A Python App to upload Images to a Pixelfed instance
Go to file
2024-02-07 14:48:15 +01:00
.gitignore new add 2023-08-23 16:01:06 +02:00
CHANGELOG.md CHANGELOG.md aktualisiert 2023-11-01 15:11:48 +00:00
config.json.example add config.json.example file 2023-10-30 02:19:27 +01:00
pixelfed.ico add file 2023-08-23 15:55:53 +02:00
PixelfedImporter.py Fix: System didnt get File Descripten for alt text correct 2024-02-07 14:42:12 +01:00
README.md add how to use 2023-10-30 02:33:24 +01:00

Pixelfed Importer

a Python app to publish all images from a folder to Pixelfed. This script use Image Meta Tag Description fot the Post Description.

How to use

  • create new confg file like the example one
  • execute PixelfedImporter.py

if you want to add some default tags create a new tags.txt file with all Default Tags. You also can add a default Text in ths File.


To use this you need a config.json if this cannot be created automatically, here is the structure:

  "server_url": "URL TO YOUR PIXELFED",
  "access_token": "YOUR ACCESS TOKEN",
  "image_path": "PATH TO YOUR IMAGES",
  "upload_type": 0|1,
  "delete_file": true|false

upload_type 0 creates 1 post for each image from your folder (image_path)

upload_type 1 creates 1 post with all images from your folder (image_path)

Uploads at Type 1 only use Image Meta Tag Description from the first image for the post description.


You can add a tags.txt, in which standard tags can be stored, which will always be added at the end of a post.