A Python App to upload Images to a Pixelfed instance
Go to file
2023-10-29 03:25:04 +01:00
.gitignore new add 2023-08-23 16:01:06 +02:00
CHANGELOG.md add new changes 2023-08-23 15:42:54 +02:00
main.py Neuüberarbeitung nun mit Frontend 2023-08-23 15:43:18 +02:00
pixelfed.ico add file 2023-08-23 15:55:53 +02:00
PixelfedAPI.py remove alt from data json 2023-08-23 16:22:36 +02:00
PixelfedImporter.py Add new Upload Type 2023-10-29 03:25:04 +01:00
README.md Add new Upload Type 2023-10-29 03:25:04 +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.

Config

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
}

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.

tags

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