This tool allows for scheduling media posts to several platforms in an automated way, with configured presets. This can be combined with say, systemd or cron, to post at intervals. Mainly intended to allow friends to post their arts without worrying about the actual scheduling process.
Currently supports
- Deviant
Installation should be no more than pip install -r requirements.txt
on the production machine, or pip install -r requirements-dev.txt
when developing*
- PyQT does not work on linux that easily, so the image picker deps are separated to
dev
See the provided accounts.example.yml for a baseline
python src/image_selector.py nick
python src/authenticate_deviant.py nick
Go to localhost:3000/login, and accept The contents will be written to a non versioned folder using the id in the associated yaml account
Note: you need this redirect_url and the callback configured in deviant
Eg
[Service]
ExecStart=/home/nick/nich-image-scheduler/src/schedule_image.py nick Twitter
The accounts.yml allows for a sub_configs
section. Based on the provided directory_path
, if the file matches the given path, the settings associated with said sub config will override the base config. This allows a user to categorize their pictures on a platform based on their folder name structure for example.