Nothing to install from an app store. On a phone this is a shortcut you build once and then use from the share sheet forever; on a computer it is one command. Pick where your photographs are.
You are not connected to a library on this device yet. Every step below needs a key, so start one first. It takes a second.
Shortcuts is already on your phone. What you are building is a share sheet action, so afterwards the whole flow is: select photos in Photos, tap Share, tap json-camera. It works on any number of photos at a time.
Tap the plus in the top right. Tap the name at the top, choose Rename, and call it json-camera. Everything below is added to this one shortcut, in order.
Tap the information icon at the bottom of the editor, turn on Show in Share Sheet, then tap the accepted types and narrow them to Images. This is what puts it in the Share menu inside Photos.
Search the action list for Repeat with Each and add it. It will pick up Shortcut Input by itself. Every action from here goes inside the loop, between Repeat with Each and End Repeat.
Repeat with Each item in Shortcut Input
Add Get Contents of URL. Tap Show More to open the settings, then set it up exactly like this.
Get Contents of URL
URLhttps://json-camera.fly.dev/api/library/upload
MethodPOST
Request BodyForm
Then add two form fields with Add new field:
Field one, the photograph
typeFile
keyfile
valueRepeat Item
Field two, your library key
typeText
keykey
valueyour-library-key
To pick Repeat Item as the value, tap the value box and choose it from the variable bar above the keyboard rather than typing it.
After End Repeat, add Show Notification so a long batch does not finish silently.
Show Notification: Photos sent to json-camera
Open Photos, tap Select, choose your photographs, tap the share icon, scroll to json-camera. Then come back to the gallery and pull to refresh.
The server reads HEIC, which is what your camera shoots, so this should not happen. If it does, add a Convert Image action just inside the loop, set it to JPEG, and turn Preserve Metadata on so the capture date and location survive the conversion. Then point the file field at the converted image instead of Repeat Item.
The gallery is a web app that installs without an app store. Once it is on the home screen it opens full screen, keeps you signed in, and loads its shell instantly.
Open the gallery in Safari, tap the share icon, scroll down and tap Add to Home Screen. It has to be Safari; Chrome on iOS cannot install web apps.
Open the gallery in Chrome and take the Install prompt, or open the menu and choose Add to Home screen.
gps set to false in your shortcut to keep the date and drop the place.