ShareShortcuts

Start My Day

Start your day with the weather, traffic conditions and a news summary

blackhatteam
Fazer fork de “Start My Day”

Criou algo novo a partir deste atalho? Compartilhe como uma derivação: ela se torna um atalho seu, que você gerencia, e as duas páginas têm links entre si para que blackhatteam receba o crédito.

  1. 1Obtenha o atalho e altere-o no app Atalhos. Dê a ele um nome próprio.
  2. 2Compartilhe pelo app Atalhos e copie o link do iCloud.
  3. 3Volte aqui, cole o link e descreva o que mudou, por exemplo: “Adicionei uma etapa que usa a Apple Intelligence para personalizar o texto.”
Downloads
31K
Salvo
1
Ações
28
Categoria
Routines
Versão
1.0
Idioma
EN

Start your day with the weather, traffic conditions and a news summary.

With Start My Day you will get a brief overview of the weather, traffic conditions for your area with a brief summary of some world news.

The shortcut gets traffic data from Google with news from NPR and uses ChatGPT to generate the result.

Activate the shortcut with "Hey Siri: Start My Day"

*Location data used for traffic conditions may not be precise.

Novidades

Versão 1.0

First release

Histórico de versões
1.0 26 de jul de 2023

First release

O que ele faz

28 ações
  1. Get File
  2. If
  3. Create Folder
  4. Show Alert
  5. Open URLs
  6. Wait
  7. Text
  8. Close Tab
    com.apple.mobilesafari
  9. Go to Home Screen
  10. Show Alert
  11. Stop This Shortcut
  12. Wait
  13. Text
  14. Speak Text
  15. Get Current Weather
  16. Get Details of Weather
  17. Calculate
  18. Get Details of Weather
  19. Text
  20. URL
    https://www.google.com/search?q=local+traffic+news
  21. Get Contents of Web Page
  22. Ask ChatGPT
  23. Text
  24. URL
    https://www.npr.org/sections/news/
  25. Get Contents of Web Page
  26. Ask ChatGPT
  27. Text
  28. Speak Text

Ver como código
Beta

Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.

#define mac false
#include 'actions/web'
#include 'actions/documents'
#define color darkblue
#define glyph newsArticle

const File = getFileFromFolder(, "MyDay", false)

if !File {
	createFolder("MyDay")
	confirm("Run Initial Setup? ")
	openURL("http://www.blackhatteams.com/p/myday.html")
	wait(6)
	const Text = "MyDay"
	rawAction("com.apple.mobilesafari.CloseTab", {
		"AppIntentDescriptor": "",
		"target": "Text"
	})
	returnToHomescreen()
	confirm("Setup Complete! ")
	stop()
}
wait(0)
speak()
const WeatherConditions = getCurrentWeather()
const Humidity = getWeatherDetail(WeatherConditions, "Humidity")
getWeatherDetail(WeatherConditions, "High")
url("https://www.google.com/search?q=local+traffic+news")
getWebpageContents()
rawAction("com.openai.chat.AskIntent", {
	"AppIntentDescriptor": "",
	"ShowWhenRun": false,
	"newChat": true,
	"prompt": "Get the first traffic result text from: \\\"{}\\\""
})
url("https://www.npr.org/sections/news/")
getWebpageContents()
rawAction("com.openai.chat.AskIntent", {
	"AppIntentDescriptor": "",
	"ShowWhenRun": false,
	"newChat": true,
	"prompt": "Get two National headlines from: \\\"{}\\\""
})
speak("{}\n\n{}\n\n{}\n")
Abrir no Cherri Playground Descompilado com cherri 2.3.0 (GPL-2.0). Pode precisar de pequenos ajustes antes de compilar.

Avaliações e comentários

Escrever uma avaliação
–
de 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ainda não há avaliações. Seja o primeiro a compartilhar o que você pensa!

Publicidade

Mais de blackhatteam

Ver tudo

Você também pode gostar

Ver tudo
Publicidade