Package: pixelfeeder
PixelfeederSynopsisFlickris a popular photohosting site.Pixelfedis a photohosting platform too, but
federative one. It means it has plenity of community-driven instances and you
able to even set up your own.Pixelfeeder helps to import user's photo from Flickr to Pixelfed instance.
Pixelfeeder has a CLI for bulk operations and a GUI for more grain control.Now with thepixelfeeder-exportcommand to download all your posts!Installationpip3installpixelfeederPreparingGet your Flickr data as described indocumentationin seciton"Download all your content".You will get a little archive with metadata JSON files and one or more with images.Create a token  withwritepermission for your Pixelfed account. It may be
done inEdit profile->Applications->Personal access tokenblock.Fill the options on the settings tab of Pixelfeeder GUI. Or place the
obtained token file with the URL of your Pixeled instance into aconfig.yamlmanually.Configuration syntaxA config file contains a sensitive tokenA config file is YAML formatted and basically has form ofvariable: value.
A config example fileavailable in the source code
repository.
Also thepixelfeed-guicreates a~/.config/pixelfeeder/config.yamlfile.ValueRequiredMeaningNoteinstance*"Base URL" of a Pixelfed instancetoken*User created token withwritepermissionMay be placed just in a one long lineignore_ssl_verifyIgnore certificate issues like self-signed certsBoolean value likefalse|truetimeoutHTTP requests timeout including file operationsNot yet supported by guicaption_datetime_formatstrftimecompatible stringBetter to wrap the value into qoutescaption_orderFields will be placed in this order separated by empty linesField may be omitted or appears more than oncethemeOptional value for the Tk GUIReady, steady...FYI: Licenses of your Pixelfed photos may be changed at once withEdit
profile->Mediasection or you may just set desired option before
uploading.Pixelfeeder allows to reorganize caption entries with thecaption_orderconfig
option. Alsocaption_datetime_formatdefines format of thedate_takenentry.The default specification%crespects locale, so if it is e.g. desirable to have
a lating string, environment variable may be used:LC_CTYPE=Cpixelfeeder-guiUseignore_ssl_verifyto come through self-signed certificate.CLIpixelfeeder--images-dirIMAGES_DIR[--metadata-dirMETADATA_DIR][--config-fileCONFIG_FILE][--dry-run][--help]To just upload all the data obtained from the Flickr profile you may use the
command:pixelfeeder--images-dirPATH_TO_FLICKR_DATABoth Flickr JSON files and corresponding images should be somewhere inside thePATH_TO_FLICKR_DATAdirectory (nested dirs supported).It is possible also to prepare a directory with selected photo files to upload only
some picture:pixelfeeder--images-dirPATH_TO_CHOOSEN_IMAGES--metadata-dirPATH_TO_FLICKR_METADATAThepixelfeedercommand has the-n/--dry-runflag. With the flag no data
are uploading, but output is more comprehensive.To know all the arguments use the-h/--helpflag.GUIpixelfeeder-gui[--config-fileCONFIG_FILE][--verbose][--safe-mode][--help]Graphical interface has mostly the same options as the CLI, but upoads images
one-by-one in interactive mode. User able to correct caption and visibility
of a post. Tool will keep position between sessions.Edits are not persistent for now, so it is better to make corrections just
before uploadingBackup commandpixelfeeder-export--output-dirOUTPUT_DIR[--skip-media][--config-fileCONFIG_FILE][--help]Download all posts (statuses) with media of owner of the Pixelfed instance
token (seePreparing.Obtained data is prepared to be uploaded withpixelfedwith some
restrictions (e.g. no statues with multiple pictures).See all options with the-h/--helpflag.