-
Notifications
You must be signed in to change notification settings - Fork 1
iOS Shortcuts
PigeonPost works with the built-in Shortcuts app (German: Kurzbefehle) on any iPhone or iPad on the same Wi-Fi network.
Before you start / Vor dem Start:
Find your PC's IP address in the PigeonPost address card (e.g.192.168.1.205).
ReplaceYOUR_PC_IP/DEINE_PC_IPin every URL below.
iOS Shortcuts only offers JSON / Form / File as body types — there is no plain-text option.
PigeonPost accepts JSON{"text":"…"}as well as plain text, so both curl and Shortcuts work.
What it does: Sends whatever is copied on your iPhone to the Windows clipboard.
Was es tut: Sendet die iPhone-Zwischenablage an die Windows-Zwischenablage.
English steps
- Open Shortcuts → tap + (top right)
-
Add Action → search
Get Contents of URL→ tap it - Configure the action:
-
URL:
http://YOUR_PC_IP:2560 -
Method:
POST - Tap Headers → add a header: Key
clipboard/ Valuesend - Tap Request Body → select JSON
- Add a field: Key
text/ Value → tap the variable button (+) → choose Clipboard
-
URL:
- Tap the shortcut name at the top → rename to e.g. 📋 → Windows
- Tap Done
Deutsche Schritte
- Kurzbefehle öffnen → oben rechts + tippen
-
Aktion hinzufügen →
Inhalt der URL abrufensuchen → auswählen - Aktion konfigurieren:
-
URL:
http://DEINE_PC_IP:2560 -
Methode:
POST -
Header antippen → Header hinzufügen: Schlüssel
clipboard/ Wertsend - Anforderungstext antippen → JSON wählen
- Feld hinzufügen: Schlüssel
text/ Wert → Variable-Taste (+) → Zwischenablage wählen
-
URL:
- Namen oben antippen → umbenennen z. B. 📋 → Windows
- Fertig tippen
What it does: Reads the current Windows clipboard and copies the text to your iPhone clipboard.
Was es tut: Liest die Windows-Zwischenablage und kopiert den Text auf das iPhone.
English steps
- Open Shortcuts → tap +
-
Add Action → search
Get Contents of URL→ tap it - Configure:
-
URL:
http://YOUR_PC_IP:2560 -
Method:
POST -
Headers → Key
clipboard/ Valuereceive - (No request body needed)
-
URL:
-
Add Action → search
Copy to Clipboard→ tap it
(the URL result is passed automatically as the text to copy) - Rename to Windows → 📋 → Done
Deutsche Schritte
- Kurzbefehle → + tippen
-
Aktion hinzufügen →
Inhalt der URL abrufen→ auswählen - Konfigurieren:
-
URL:
http://DEINE_PC_IP:2560 -
Methode:
POST -
Header → Schlüssel
clipboard/ Wertreceive - (Kein Anforderungstext nötig)
-
URL:
-
Aktion hinzufügen →
In Zwischenablage kopierensuchen → auswählen
(das URL-Ergebnis wird automatisch als Text übergeben) - Umbenennen: Windows → 📋 → Fertig
What it does: Picks a photo from your gallery, converts it to JPEG, and uploads it to the
Windows Downloads folder with a timestamped filename.
Was es tut: Wählt ein Foto aus der Galerie, konvertiert es zu JPEG und lädt es mit
einem Zeitstempel-Dateinamen in den Windows-Downloads-Ordner hoch.
English steps
- Open Shortcuts → +
-
Add Action → search
Select Photos→ tap it
(leave "Select Multiple" off for a single photo) -
Add Action → search
Convert Image→ tap it
Set Format to JPEG and Quality to Best -
Add Action → search
Format Date→ tap it-
Date: tap the variable button (
+) → choose Current Date -
Format: select Custom → type
yyyyMMdd-HHmmss
-
Date: tap the variable button (
⚠️ Important — literal prefixes in custom date formats:
iOS Shortcuts uses ICU date-format codes where every letter has a special meaning — evenf,o,t.
If you want a literal prefix likefoto-, wrap it in single quotes:'foto-'yyyyMMdd-HHmmss
Without quotes, iOS expands those letters as format codes, producing unexpected characters that can break the URL.
The safe default (no prefix)yyyyMMdd-HHmmssalways works without quoting.
-
Add Action → search
Get Contents of URL→ tap it, configure:-
URL: type
http://YOUR_PC_IP:2560?filename=→ tap+→ choose Formatted Date → type.jpgdirectly after it
(the full URL will look likehttp://192.168.1.205:2560?filename=2026-05-01_13-00-00.jpg) -
Method:
POST - Request Body → select File
- File value: tap
+→ choose Converted Image
-
URL: type
- Rename to 📸 → Windows → Done
Deutsche Schritte
- Kurzbefehle → + tippen
-
Aktion hinzufügen →
Fotos auswählensuchen → auswählen
("Mehrere auswählen" ausgeschaltet lassen für ein einzelnes Foto) -
Aktion hinzufügen →
Bild konvertierensuchen → auswählen
Format: JPEG, Qualität: Beste -
Aktion hinzufügen →
Datum formatierensuchen → auswählen-
Datum: Variable-Taste (
+) → Aktuelles Datum wählen -
Format: Benutzerdefiniert →
yyyyMMdd-HHmmsseingeben
-
Datum: Variable-Taste (
⚠️ Wichtig — Literale Präfixe in benutzerdefinierten Datumsformaten:
iOS Kurzbefehle verwendet ICU-Datumsformat-Codes, bei denen jeder Buchstabe eine Sonderbedeutung hat — auchf,o,t.
Wenn du ein Präfix wiefoto-verwenden möchtest, schreibe es in einfachen Anführungszeichen:'foto-'yyyyMMdd-HHmmss
Ohne Anführungszeichen interpretiert iOS diese Buchstaben als Format-Codes und erzeugt unerwartete Zeichen, die die URL kaputtmachen können.
Der sichere Standard (ohne Präfix)yyyyMMdd-HHmmssfunktioniert immer ohne Anführungszeichen.
-
Aktion hinzufügen →
Inhalt der URL abrufensuchen → auswählen, konfigurieren:-
URL:
http://DEINE_PC_IP:2560?filename=eingeben →+→ Formatiertes Datum wählen → direkt danach.jpgeingeben
(Ergebnis:http://192.168.1.205:2560?filename=2026-05-01_13-00-00.jpg) -
Methode:
POST - Anforderungstext → Datei wählen
- Datei-Wert:
+→ Konvertiertes Bild wählen
-
URL:
- Umbenennen: 📸 → Windows → Fertig
Tip / Tipp: Add any shortcut to your iPhone Home Screen:
Open the shortcut → tap ⋯ (top right) → Add to Home Screen.
Kurzbefehl zum Home-Bildschirm hinzufügen: Kurzbefehl öffnen → ⋯ (oben rechts) → Zum Home-Bildschirm.
PigeonPost supports optional bearer token authentication.
When enabled, every request must include an Authorization header — otherwise the server returns 401 Unauthorized.
PigeonPost unterstützt optionale Authentifizierung mit Bearer Token.
Wenn aktiviert, muss jede Anfrage einen Authorization-Header enthalten — andernfalls antwortet der Server mit 401 Unauthorized.
Step 1 — Enable authentication in PigeonPost (Windows) / Authentifizierung in PigeonPost aktivieren (Windows)
English
- Open PigeonPost → click the ⚙️ gear button (Settings).
- Under Security, turn on Require bearer token authentication.
- A token is pre-generated. Click the copy icon next to the token field to copy it to your clipboard.
- Click Save.
You can click Regenerate to create a new token at any time — all clients must then be updated with the new value.
Deutsch
- PigeonPost öffnen → ⚙️-Schaltfläche (Einstellungen) anklicken.
- Unter Sicherheit den Schalter Authentifizierung mit Bearer Token erforderlich aktivieren.
- Ein Token ist vorausgefüllt. Auf das Kopieren-Symbol neben dem Token-Feld klicken, um es in die Zwischenablage zu kopieren.
- Speichern klicken.
Über Neu generieren kann jederzeit ein neues Token erstellt werden — alle Clients müssen dann mit dem neuen Wert aktualisiert werden.
Step 2 — Add the Authorization header to each Shortcut / Authorization-Header zu jedem Kurzbefehl hinzufügen
Every Get Contents of URL action in your shortcuts needs one additional header.
Jede Inhalt der URL abrufen-Aktion in deinen Kurzbefehlen braucht einen zusätzlichen Header.
English steps
- Open the shortcut you want to update → tap ⋯ (top right).
- Tap the Get Contents of URL action to expand it.
- Tap Headers.
- Tap Add new header.
- Set the key to
Authorizationand the value toBearerfollowed by your token
(example:Bearer abc123xyz…) - Tap Done.
Repeat for every shortcut that talks to PigeonPost.
Deutsche Schritte
- Zu aktualisierenden Kurzbefehl öffnen → ⋯ (oben rechts) antippen.
- Auf die Aktion Inhalt der URL abrufen tippen, um sie aufzuklappen.
- Header antippen.
- Neuen Header hinzufügen antippen.
- Schlüssel
Authorizationeingeben, Wert:Bearergefolgt von deinem Token
(Beispiel:Bearer abc123xyz…) - Fertig tippen.
Diesen Schritt für jeden Kurzbefehl wiederholen, der mit PigeonPost kommuniziert.
| Symptom | Cause / Ursache | Fix / Lösung |
|---|---|---|
Shortcut returns 401 Unauthorized
|
Auth is enabled but the Authorization header is missing or the token is wrong |
Add / correct the header in each shortcut (Step 2 above) |
| Shortcut works without the header | Auth is not enabled in Settings | Enable "Require bearer token authentication" if you want protection |
401 after regenerating the token |
The old token is still in the shortcut | Open each shortcut → update the Authorization header value |
| Symptom | Ursache | Lösung |
|---|---|---|
Kurzbefehl liefert 401 Unauthorized
|
Auth aktiviert, aber Authorization-Header fehlt oder Token ist falsch |
Header in jedem Kurzbefehl hinzufügen / korrigieren (Schritt 2 oben) |
| Kurzbefehl funktioniert ohne Header | Auth ist in den Einstellungen nicht aktiviert | „Authentifizierung mit Bearer Token erforderlich" aktivieren |
401 nach Token-Neugenerierung |
Alter Token ist noch im Kurzbefehl | Jeden Kurzbefehl öffnen → Wert des Authorization-Headers aktualisieren |
Using PigeonPost
- Installation
- HTTP API Reference
- iOS Shortcuts
- PC-to-PC Peers
- Remote Access
- Localization
- Demo / Presentation Mode
Developer
Support