ShareShortcuts
Dupliquer « SafariGPT »

Tu as créé quelque chose de nouveau à partir de ce raccourci ? Partage-le comme version dérivée : il devient un raccourci à toi, que tu gères, et les deux pages renvoient l’une vers l’autre pour que humblerevolter soit crédité.

  1. 1Obtenez le raccourci et modifiez-le dans l’app Raccourcis. Donnez-lui un nom bien à lui.
  2. 2Partage-le depuis l’app Raccourcis et copie le lien iCloud.
  3. 3Reviens ici, colle le lien et décris ce qui change, par exemple : « Ajout d’une étape qui utilise Apple Intelligence pour personnaliser le texte. »
Créer mon fork
Téléchargements
36K
Enregistré
9
Actions
36
Catégorie
Productivity
Version
1.10
Langue
EN

Aperçu

Ever since ChatGPT came out, I needed Safari extensions for iOS for summarizing articles when I am lazy to read the whole page.

So I came upon shortcuts and loved it, and wrote my first page summarizing shortcut that turns page into Tweet Threads using Official ‘Ask ChatGPT’ shortcut.

Note that since it uses official shortcut of ChatGPT, you need to have Official OpenAI ChatGPT iOS app installed.

How to use:

- Make sure ChatGPT app is installed.

- Add Shortcut

- While on Safari, click Share.

- Scroll all the way down and click SafariGPT

- It will take around 30-40 seconds.

If you find it useful and want to support: https://www.buymeacoffee.com/bayramn

Edit: SafariGPT iOS app is available on App Store! https://apps.apple.com/us/app/safarigpt-summarize-pages/id6642665387

Nouveautés

Version 1.10

Bug fixes

Historique des versions
1.10 28 déc. 2024

Bug fixes

1.9 12 août 2024

Bug fixes

1.8 24 mars 2024

Fixed bugs

1.7 29 nov. 2023

Bug fix

1.6 26 oct. 2023

Ask ChatGPT Bug

1.5 10 août 2023

Bug fix

1.4 8 août 2023

Bug fixes

1.3 6 août 2023

Added open the summary in Notes app option.

1.2 30 juil. 2023

Now summary can be read aloud by voice over.

1.1 28 juil. 2023

Fixed Shortcut fails in long articles. After certain length, page would be cut.

1.0 26 juil. 2023

First release

Ce qu’il fait

36 actions
  1. Get Webpage Detail
  2. Replace Text
  3. Replace Text
  4. Set Variable
    PageText
  5. Split Text
  6. Count
  7. If
  8. Get Item from List
  9. Combine Text
  10. Set Variable
    Text1
  11. Get Item from List
  12. Combine Text
  13. Set Variable
    Text2
  14. Text
  15. Set Variable
    PageText
  16. Ask ChatGPT
  17. Set Variable
    ChatResponse
  18. Choose from Menu
    How do you like to read summary?
  19. Choose from Menu
    Show the summary
  20. Make Rich Text from Markdown
  21. Replace Text
  22. Show Result
  23. Choose from Menu
    Open in Notes
  24. Make Rich Text from Markdown
  25. Create Note
  26. Choose from Menu
    Read aloud (voice)
  27. Make Rich Text from Markdown
  28. Speak Text
  29. Choose from Menu
    Do you want to support Developer?
  30. Choose from Menu
    Yes, buy a coffee.
  31. Open URLs
  32. Choose from Menu
    No, thanks.
  33. Choose from Menu
    SafariGPT iOS app is available on App Store 🚀!
  34. Choose from Menu
    See SafariGPT on App Store
  35. Open URLs
  36. Choose from Menu
    No, thanks

Afficher en tant que code
Bêta

Chaque action de ce raccourci écrite en Cherri, un langage de programmation pour Raccourcis. Idéal pour comprendre son fonctionnement.

#include 'actions/web'
#define color taupe

getWebPageDetail(ShortcutInput, "Page Contents")
replaceText("\n", "")
replaceText("\n\n", "")
@PageText
const SplitText = splitText(@PageText, " ")
const Count = count(SplitText)

if Count > 4400 {
	const ItemFromList = getListItems(SplitText, 1, 2200)
	joinText(ItemFromList, " ")
	@Text1
	const ItemFromList1 = getListItems(SplitText, 2200, 4400)
	joinText(ItemFromList1, " ")
	@Text2
	@PageText = "{@Text1}{@Text2}"
}
rawAction("com.openai.chat.AskIntent", {
	"AppIntentDescriptor": "",
	"ShowWhenRun": false,
	"continuous": false,
	"model": "",
	"newChat": false,
	"prompt": "Give me a quick summary and key takeaways on bullet points .\\\"{@PageText}\\\""
})
@ChatResponse

menu "How do you like to read summary?" {
item "Show the summary":
	getRichTextFromMarkdown(@ChatResponse)
	replaceText("â€t™", "'")
	show("{}\n\n\n\n\n\n\n\nCopyright SafariGPT ©, 2024")
item "Open in Notes":
	getRichTextFromMarkdown(@ChatResponse)
	rawAction("com.apple.mobilenotes.SharingExtension", {
		"AppIntentDescriptor": "",
		"OpenWhenRun": true,
		"WFCreateNoteInput": "{}"
	})
item "Read aloud (voice)":
	getRichTextFromMarkdown(@ChatResponse)
	speak()
}

menu "Do you want to support Developer?" {
item "Yes, buy a coffee.":
	openURL("https://www.buymeacoffee.com/bayramn")
item "No, thanks.":
}

menu "SafariGPT iOS app is available on App Store 🚀! " {
item "See SafariGPT on App Store":
	openURL("https://apps.apple.com/in/app/sumup-for-safari/id6642665387")
item "No, thanks":
}
Ouvrir dans Cherri Playground Décompilé avec cherri 2.3.0 (GPL-2.0). Quelques corrections peuvent être nécessaires avant la compilation.

Notes et avis

Écrire un avis
–
sur 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Aucun avis pour le moment. Sois le premier à partager ton avis !

Publicité

Plus de humblerevolter

Tout afficher

Ça pourrait aussi te plaire

Tout afficher
Publicité