ShareShortcuts
Fork “SafariGPT”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så humblerevolter får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
36K
Gemt
9
Handlinger
36
Kategori
Produktivitet
Version
1.10
Sprog
EN

Forhåndsvisning

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

Nyheder

Version 1.10

Bug fixes

Versionshistorik
1.10 28. dec. 2024

Bug fixes

1.9 12. aug. 2024

Bug fixes

1.8 24. mar. 2024

Fixed bugs

1.7 29. nov. 2023

Bug fix

1.6 26. okt. 2023

Ask ChatGPT Bug

1.5 10. aug. 2023

Bug fix

1.4 8. aug. 2023

Bug fixes

1.3 6. aug. 2023

Added open the summary in Notes app option.

1.2 30. jul. 2023

Now summary can be read aloud by voice over.

1.1 28. jul. 2023

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

1.0 26. jul. 2023

First release

Hvad den gør

36 handlinger
  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

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#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":
}
Åbn i Cherri Playground Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Mere fra humblerevolter

Se alle

Du vil måske også kunne lide

Se alle
Annonce