gphotosuploader

Unofficial program for uploading to Photos, will the images be resized for free unlimited storage?

You can get it here.

If you are running it on a headless machine, it’s more complicated, you need to run something on a non headless machine, and allow the headless IP to access it, that means opening ports if it isn’t on the same network, I wouldn’t recommend.

Update

unknown command:

When you go to the localhost address, and if you click enter:

Can’t complete the login wizard, got: can’t initialize selenium library (Post http://127.0.0.1:4444/wd/hub/session: dial tcp 127.0.0.1:4444: connect: connection refused)

You can get the json with an extension, to lazy to do so. I’ll just consider it broken.