Skip to content

Instantly share code, notes, and snippets.

@lenilsonjr
Created October 8, 2023 21:51
Show Gist options
  • Save lenilsonjr/8fd74c6ea6352e852dc41833ee7baaa4 to your computer and use it in GitHub Desktop.
Save lenilsonjr/8fd74c6ea6352e852dc41833ee7baaa4 to your computer and use it in GitHub Desktop.
Weekly and Daily Note Templater Template

<% moment(tp.file.title,'YYYY-MM-DD').format("dddd, MMMM DD, YYYY") %>

πŸ—“οΈ [[Personal/Weekly Notes/<% moment(tp.file.title).format("gggg-[W]WW") %>|<% moment(tp.file.title).format("[Week] WW [of] gggg") %>]]

[[Personal/Daily Notes/<% fileDate = moment(tp.file.title, 'YYYY-MM-DD').subtract(1, 'd').format('YYYY-MM-DD') %>|<< 🌞 Yesterday]] | [[Personal/Daily Notes/<% fileDate = moment(tp.file.title, 'YYYY-MM-DD').add(1, 'd').format('YYYY-MM-DD') %>|🌞 Tomorrow >>]]


🎯 Today's big three


πŸ“ Notes

<% moment().format("HH:mm") %>: Opened Obsidian <% moment().format("HH:mm") %>: <% tp.file.cursor() %>


Notes created today

List FROM "" WHERE file.cday = date("<%tp.date.now("YYYY-MM-DD")%>") SORT file.ctime asc

Notes last touched today

List FROM "" WHERE file.mday = date("<%tp.date.now("YYYY-MM-DD")%>") SORT file.mtime asc

<%* var fileDate = moment(tp.file.title); // moment dates are mutable var currentWeek = moment(fileDate).format("gggg-[W]WW"); var previousWeek = moment(fileDate).subtract(1, 'weeks').format("gggg-[W]WW"); var nextWeek = moment(fileDate).add(1, 'weeks').format("gggg-[W]WW"); var mon = moment(fileDate).startOf('week').add(0, 'days').format('YYYY-MM-DD'); var tue = moment(fileDate).startOf('week').add(1, 'days').format('YYYY-MM-DD'); var wed = moment(fileDate).startOf('week').add(2, 'days').format('YYYY-MM-DD'); var thu = moment(fileDate).startOf('week').add(3, 'days').format('YYYY-MM-DD'); var fri = moment(fileDate).startOf('week').add(4, 'days').format('YYYY-MM-DD'); var sat = moment(fileDate).startOf('week').add(5, 'days').format('YYYY-MM-DD'); var sun = moment(fileDate).startOf('week').add(6, 'days').format('YYYY-MM-DD'); -%>

Week <% fileDate.format("WW") %> of <% fileDate.format("YYYY") %>

[[Personal/Weekly Notes/<% previousWeek %>|<< πŸ—“οΈ Previous Week]] | [[Personal/Weekly Notes/<% nextWeek %>|πŸ—“οΈ Next Week >>]]

πŸ—“οΈ Days

[[Personal/Daily Notes/<% mon %>|🌞 Mon]] [[Personal/Daily Notes/<% tue %>|🌞 Tue]] [[Personal/Daily Notes/<% wed %>|🌞 Wed]] [[Personal/Daily Notes/<% thu %>|🌞 Thu]] [[Personal/Daily Notes/<% fri %>|🌞 Fri]] [[Personal/Daily Notes/<% sat %>|🌞 Sat]] [[Personal/Daily Notes/<% sun %>|🌞 Sun]]

🎯 This week's big three


πŸ“ Notes

  • [[Personal/Daily Notes/2023-10-07|2023-10-07]]: <% tp.file.cursor() %>

πŸ—ΊοΈ Planning

1. How do you feel about the week ahead?

What sentiments thinking about the week ahead evoke?

2. What is there to conquer this week?

Thinking about what kind of person you want to be, what activities will bring you closer to that vision? If I could do anything without chance of failure, and without constraints of time and money, what would I do this week?

3. What can you do to make the week fun?

What's something new you could try? How can you include Leticia, Pugo and the people you love/friends on it?

4. Where is the Resistance? What is taking longer than expected?

What are you avoiding tackling? What is occupying space in your mind because you refuse to take a action?

5. What lifestyle change, habits and wins will 10x my lifestyle 3 months from today?

Thinking about the kind of person you want to become in 20 years, does this week bring you close to being that person? Are there any actions or habits to be adjusted?


πŸ“ Review

1. How do you feel about this week that has passed?

Do a brain dump of anything that's on your mind

2. Where did your time and energy go this week?

Type here... Check Things logbook and Fantastical for reference. How did you split your time? Was there any regrets? How well are you meeting your obligations? Is there anything you're falling short?

3. What do you wish to keep and what do you wish to change for next week?

Type here... What can you learn from this week?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment