ShareShortcuts
„Mastgur“ forken

Hast du auf Basis dieses Kurzbefehls etwas Neues erstellt? Teile ihn als Fork: Er wird zu deinem eigenen Kurzbefehl, den du selbst verwaltest, und beide Seiten verlinken aufeinander, damit blue die Anerkennung erhält.

  1. 1Lade den Kurzbefehl und ändere ihn in der Kurzbefehle-App. Gib ihm einen eigenen Namen.
  2. 2Teile ihn in der Kurzbefehle-App und kopiere den iCloud-Link.
  3. 3Komm hierher zurück, füge den Link ein und beschreibe, was sich geändert hat, z. B. „Einen Schritt hinzugefügt, der Apple Intelligence nutzt, um den Text zu personalisieren.“
Downloads
49K
Gesichert
1
Aktionen
6
Kategorie
Social Network
Version
1.0
Sprache
EN

Vorschau

![image](https://user-images.githubusercontent.com/43663476/127241975-4e26a587-1cea-49c3-a655-1a14138162a7.png)

## Media post to Mastodon for iOS via Imgur upload.

The upcoming [Mastodon for iOS app](https://joinmastodon.org/apps) currently has a single Siri Shortcut action - "Post [Text] on Mastodon" - which only allows one to pass plain text to the app (and then to the service.) When a friend of mine [replied](https://mstdn.cloud.themaymeow.com/@emma/106654320972606699) to my links to [my Share Sheet-destined Mastodon for iOS Siri Shortcut](https://github.com/extratone/i/issues/85) requesting for clarification, I just sortof... whipped this one up without any revision or hesitation, and then felt compelled to publish it when it immediately functioned correctly on [its very first run](https://mastodon.social/@DavidBlue/106655155851383761). (100% certain that success made it a first to do so among my various projects in Siri Shortcuts.)

⇨ [**Video Demo**](https://user-images.githubusercontent.com/43663476/127242192-d55b5a1a-661f-44b8-8c46-746930bc132c.MOV)

## Steps

1. Prompts to select from Photos app (single file mode.)

2. Prompts text input for the (optional) Title of the Imgur post.

3. Prompts text input for the (optional) Description of the Imgur post - by default, I have also added #iOS and #social-media, but obviously, please personalize these for your own use.

4. Uploads the media to Imgur *anonymously* (by Default) and retrieves the Direct URL to the corresponding post.

5. Prompts text input in front of said retrieved URL for the actual content of the Toot.

6. Posts <your text> <imgur url> [to Mastodon](https://mastodon.social/@DavidBlue/106655409169365663)!

### Mastodon Details

* "[What's that?](https://joinmastodon.org)"

* [joinmastodon.org/apps](https://joinmastodon.org/apps)

* [The Mastodon Project's Patreon Page](https://www.patreon.com/mastodon) (Become a patron to gain beta access to the iOS app, coming very soon!)

* [My celebration of the *third-party* Mastodon apps currently available on iOS](https://bilge.world/mastodon-ios-apps)

***

## Contact

* [**VCF Contact Card**](https://bit.ly/whoisdavidblue)

* [Email](mailto:davidblue@extratone.com)

* [Twitter](https://twitter.com/NeoYokel)

* [Mastodon](https://mastodon.social/@DavidBlue)

* [Discord](https://discord.gg/0b9KQUKP858b0iZF)

* [*Everywhere*](https://www.notion.so/rotund/9fdc8e9610b34b8f991ebc148b760055?v=c170b58650c04fbdb7adc551a73d16a7)...

![Masto Mascot iOS Art](https://i.snap.as/Y624NGHM.jpg)

Neue Funktionen

Version 1.0

First release

Versionsverlauf
1.0 28. Jul 2021

First release

Was er macht

6 Aktionen
  1. Select Photos
  2. Imgur Upload
  3. Copy to Clipboard
  4. Text
  5. Send Post
    org.joinmastodon.app
  6. Comment
    ![image](https://user-images.githubusercontent.com/43663476/127241975-4e26a587-1cea-49c3-a655-1a14138162a7.png) ## Media post to Mastodon for iOS via Imgur upload. The upcoming [Mastodon for iOS app](https://joinmastodon.org/apps) currently has a si…

Als Code ansehen
Beta

Jede Aktion dieses Kurzbefehls als Cherri ausgeschrieben, eine Programmiersprache für Kurzbefehle. Ideal, um zu lernen, wie er funktioniert.

#include 'actions/photos'
#define color green
#define glyph magicWand

const Photos = selectPhotos()
rawAction("is.workflow.actions.imgur.upload", {
	"WFImgurAnonymous": true,
	"WFImgurDescription": "{Ask} #iOS #social-media",
	"WFImgurDirectLink": true,
	"WFImgurTitle": "{Ask}",
	"WFInput": "Photos"
})
setClipboard(ImgurURLs)
rawAction("org.joinmastodon.app.SendPostIntent", {
	"ShowWhenRun": false,
	"content": "{}"
})
/*
![image](https://user-images.githubusercontent.com/43663476/127241975-4e26a587-1cea-49c3-a655-1a14138162a7.png)

## Media post to Mastodon for iOS via Imgur upload.

The upcoming [Mastodon for iOS app](https://joinmastodon.org/apps) currently has a single Siri Shortcut action - "Post [Text] on Mastodon" - which only allows one to pass plain text to the app (and then to the service.) When a friend of mine [replied](https://mstdn.cloud.themaymeow.com/@emma/106654320972606699) to my links to [my Share Sheet-destined Mastodon for iOS Siri Shortcut](https://github.com/extratone/i/issues/85) requesting for clarification, I just sortof... whipped this one up without any revision or hesitation, and then felt compelled to publish it when it immediately functioned correctly on [its very first run](https://mastodon.social/@DavidBlue/106655155851383761). (100% certain that success made it a first to do so among my various projects in Siri Shortcuts.)

⇨ [Video Demo](https://user-images.githubusercontent.com/43663476/127242192-d55b5a1a-661f-44b8-8c46-746930bc132c.MOV)

## Steps

1. Prompts to select from Photos app (single file mode.)
2. Prompts text input for the (optional) Title of the Imgur post.
3. Prompts text input for the (optional) Description of the Imgur post - by default, I have also added #iOS and #social-media, but obviously, please personalize these for your own use.
4. Uploads the media to Imgur *anonymously* (by Default) and retrieves the Direct URL to the corresponding post.
5. Prompts text input in front of said retrieved URL for the actual content of the Toot.
6. Posts <your text> <imgur  url> [to Mastodon](https://mastodon.social/@DavidBlue/106655409169365663)!

### Mastodon Details

* "[What's that?](https://joinmastodon.org)"
* [joinmastodon.org/apps](https://joinmastodon.org/apps)
* [The Mastodon Project's Patreon Page](https://www.patreon.com/mastodon) (Become a patron to gain beta access to the iOS app, coming very soon!)
* [My celebration of the *third-party* Mastodon apps currently available on iOS](https://bilge.world/mastodon-ios-apps)

***
## Contact
* [VCF Contact Card](https://bit.ly/whoisdavidblue)
* [Email](mailto:[email protected]) 
* [Twitter](https://twitter.com/NeoYokel)
* [Mastodon](https://mastodon.social/@DavidBlue)
* [Discord](https://discord.gg/0b9KQUKP858b0iZF)
* [*Everywhere*](https://www.notion.so/rotund/9fdc8e9610b34b8f991ebc148b760055?v=c170b58650c04fbdb7adc551a73d16a7)...


![Masto Mascot iOS Art](https://i.snap.as/Y624NGHM.jpg)
*/
In Cherri Playground öffnen Mit cherri 2.3.0 (GPL-2.0) dekompiliert. Eventuell sind kleine Korrekturen nötig, bevor es kompiliert wird.

Bewertungen und Rezensionen

Rezension schreiben
–
von 5
★★★★★
★★★★
★★★
★★
★
0 ratings

No reviews yet. Be the first to share what you think!

Werbung

Mehr von blue

Alle anzeigen

Das gefällt dir vielleicht auch

Alle anzeigen
Werbung