Skip to content

Instantly share code, notes, and snippets.

@siddolo
Created January 14, 2026 19:34
Show Gist options
  • Select an option

  • Save siddolo/be753868ee36107ae47429142d5a19b3 to your computer and use it in GitHub Desktop.

Select an option

Save siddolo/be753868ee36107ae47429142d5a19b3 to your computer and use it in GitHub Desktop.
Trenitalia telemetry
watch --color -n 5 "curl -ks 'https://d6o.frecciaplay.it/PortaleFrecce/infoViaggioActionJson?tlcm_langid=en&_=' | \
jq -C '{velocita: .speed, prossima_fermata: .prossimaStazione, ritardo: .delay2, stazione_arrivo: .statoPercorso[4]}'"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment