Skip to content

huaminghuangtw/Deep-Work-Machine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deep Work Machine

Get. Shit. Done.

Mantras

From Marty Fabrikant, as quoted in The Knowledge:

1. Talent Is Bullsh*t

“I’ve seen a million writers with talent. It means nothing. You need guts, you need stick-to-it-iveness. It’s work, you gotta work, do the freakin’ work. That’s why you’re gonna make it, son. You work. No one can take that away from you.”

2. The Work Is Everything

“And I’ll tell you something else. Appreciate these days. These days when you’re broke and struggling, they’re the best days of your life. You’re gonna break through, my boy, and when you do, you’ll look back on this time and think this is when I was really an artist, when everything was pure and I had nothing but the dream and the work. Enjoy it now. Pay attention. These are the good days. Be grateful for them.”

About

“Productivity isn’t really about getting more things done, it’s mostly about learning to enjoy the journey — because when we’re having fun with things we’re doing, then productivity takes care of itself.” — Ali Abdaal

Deep Work Machine is a personal productivity system that I use every single day. I track my progress and score myself using two metrics:

  1. Number of words written — Based on the .obsidian/vault-stats.json file generated by the Better Word Count plugin in Obsidian. This file aggregates the total word count across all notes, providing an accurate measure of my writing output—since all my writing is done in Obsidian.
  2. Number of Pomodoro sessions completed — Recorded by the “Log Today's Flow Counts”  Apple Shortcut, which logs each completed focus session (“flow”) to a plain text file.

Inspired by Cal Newport's book Deep Work, I developed a structured routine that includes both a boot-up and shut-down sequence. Each time I begin a deep work session, I launch the “Deep Work Machine”, an  Apple Shortcut that automatically initiates my daily workflows—opening my journal in Obsidian, reviewing today's schedule in Calendar, confirming my task list in Reminders, etc. This process takes about 2–3 minutes and prepares my mind for deep work bouts.

“People with clear, written goals, accomplish far more in a shorter period of time than people without them could ever imagine.” — Brian Tracy

Next, I write down my top goal for the next 30 minutes with a thought-provoking question to create mental clarity. Why? Because what you work on is far more important than how productively you work. By deeply understanding my priorities, I can refuse to feel rushed or in a hurry.

Before each deep work session, I do a micro-meditation: pause, close my eyes, and take a deep breath. Then I set an intention for the one thing I want to get done in the next 30 minutes, asking myself: Why this task matters? I always pick the most important task and stick to it for the entire block. Using checklists helps a lot.

Once ready, the shortcut plays 30 minutes of 40-Hz binaural beats, a frequency that has been shown in studies to enhance working memory and cognitive performance.

While listening to the binaural beats, I often find myself entering the flow state, fully immersed in the present moment. In that “zone”, I experience “timeless time” and “effortless effort”—time goes by fast, and my best work emerges naturally.

After each session, I take a 5–10 minute break to deliberately defocus and let my mind wander.

Since 2023, I’ve consistently trained myself to follow this sprint-rest rhythm. The alternation between periods of intense concentration and intentional relaxation has strengthened my “focus muscle” and dramatically extended my attention span while being indistractable.

Each day, my goal is to complete at least 8 “intervals”, typically organized into 2–3 uninterrupted, laser-focused 90-minute sessions with 15–20 minute breaks in between. This approach aligns with ultradian cycles—the natural rise and fall of alertness in 90-minute cycles.

A dashboard to visualize the two metrics, so I can compare with my past self. By gamifying the process, work becomes play and the world becomes a playground. This dashboard was built with Dataview in Obsidian. If you're interested, check out the full code snippet by searching: “deep-work-machine”.

“Happiness doesn’t always make us feel happy. Living up to our values, challenging ourselves, facing our mistakes, depriving ourselves… these aims make our lives happier, but they don’t always make us feel happy in the moment.” — Gretchen Rubin

Discipline is the highest form of self-love. Practicing this discipline has been a rewarding journey, bringing a profound sense of purpose, satisfaction, and fulfillment to my creative work. Cal Newport once said, “A working life dedicated to deep work is a working life well-lived.” For me, a day devoted to deep work is a day well-invested.

Stats

All Time Monthly Average Weekly Average Daily Average
Number of Flows 🍅 × 1365
≈ 750 hours
🍅 × 151
≈ 83 hours
🍅 × 35
≈ 19 hours
🍅 × 5.0
≈ 2.7 hours
Number of Words 327,712 words 36,412 words 8,409 words 1,196 words

Latest Month (August 2025)

Flows Chart Words Chart
Total Number of Flows = 231 Total Number of Words = 26,790
Daily Average = 7 Daily Average = 864

All Time

Number of Flows

All stats over 9 months

Number of Words

All stats over 9 months

Support

You can view this project at huami.ng/deep-work-machine and all shortcuts related to this project on Shortcutomation. If you find this project valuable, please consider supporting my work by buying me a coffee.

About

💻 This is how I work as a writer and programmer

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages