Skip to content

Daily Briefing

You'll build one message that arrives every morning with the five things you'd otherwise check in five different apps.

About

Think of the weather, your calendar, the one feed you care about, the overnight job status and the thing you're waiting to go on sale. You open five apps to check them. A script can pull them all, format a short message and send it at 7 a.m. The craft is in what you leave out, because if the briefing is longer than a screen, you'll stop reading it by week two.

At a glance

Per requirement
35 XP
Completion bonus
300 XP
Requirements
6
Takes
Two weekends
Skill level
Intermediate (months of practice)
Cost
Free
Supplies
Nothing special
Where
At home
Other people
On your own
Locked for now
Earn two more Uncommon badges in Automation & Scripts to open this one. Log in to see how far along you are.

Requirements

  1. 1
    Pull three sources into one script: an API that needs a key, a feed, and one of your own files or jobs. A weather API with a free key, an RSS feed and the log from your nightly job make a good first three. Keep the key in an environment variable rather than the script. Print it all to the terminal before you worry about sending it anywhere. Take a screenshot of the output. Photo
  2. 2
    Format it for a phone screen in under 15 lines. Use headlines rather than paragraphs, put the numbers first, and give no source more than three lines. Take a screenshot of the formatted message. Photo
  3. 3
    Send it by a channel you'll actually read at 7 a.m. Email gets buried under everything else, so a chat bot, ntfy, Telegram or a text message works better. Take a screenshot of it arriving on your phone. Photo
  4. 4
    Make it survive one source being down. If the weather API times out, the briefing still sends, with a line saying the weather is unavailable. Point one source at a dead URL to test it. Take a screenshot of the degraded briefing. Photo
  5. 5
    Add one line that's about you: a streak, a count, or a note you left yourself last night. Days since you last ran, the number of open tasks, or the one line you wrote for the morning all work. Take a screenshot of the line in the briefing. Photo
  6. 6
    Run it for three weeks and cut whatever you stopped reading. Be ruthless about it, since every line you skip is hiding the ones you don't. Take one screenshot with week one and week three side by side. Photo