Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

photo_upload is written for Pythonista on iOS. It's goal is to allow you to upload a photo or photos from the Pythonista extension in the Photos app to your own web server via SSH and copy the link[s] to your clipboard for posting on social media. The intention of this is so that you always maintain ownership of the photos that you take and share on social media.

For this to work you'll need SSH access to your web server and your SSH key. Copy the script into Pythonista and edit lines 14-18 to fit your server.
self.domain_name is used to specify your base domain: ''
self.username is your SSH username
self.port is your SSH port (Int)
self.key_file is to specify the path to your SSH key file
self.web_root is used to specify your web servers root folder. This is where will create the folder structure to store your photos. It's typically something like: '/var/www'

Once you've got setup you can run the script from the Pythonista extension in the Photos share sheet.


You can’t perform that action at this time.