Original link: https://diygod.me/obsidian/
As I mentioned in my 2020 year-end summary , I’ve been using Notion to write bullet notes, and now it’s a little bit different, so let’s take a new look at my current life record system
journal
Weekly and Monthly Diary
Yearbook
Original Notion Bullet Notes
Benefiting from Obsidian’s powerful automation capabilities and high degree of freedom, daily/weekly/monthly/yearly notes are automatically generated through preset templates and linked to each other, and there are few parts that need to be manually processed
At first glance, it looks a little complicated, but it is actually very simple to use, with strong degrees of freedom and scalability. I will introduce it in detail below.
structure
The directory structure is shown in the left column of the diary diagram
1 |
├── OKR.md |
The daily diary file YYYY-MM-DD.md
will be automatically generated in this week’s folder every day, and a weekly folder [W]ww
and weekly diary YYYY-[W]ww.md
will be automatically created every week. Automatically generate monthly record YYYY-MM.md
, and automatically create a new year folder YYYY
and year record YYYY.md
The content of these files is also preset by the template, and has been automatically filled with the date, the OKR score and chart of the current cycle, and even the location, weather, and month information of the current day, and a location for recording the status and dynamics of the day is also set aside.
There is an OKR file outside, which is updated about half a year. It records life goals for the past six months. Some of these goals require continuous efforts every day. A large part of the diary system is built around these goals.
The directory structure is mainly implemented through Periodic Notes , and the templates are mainly implemented through Templater and Dataview and the core plugin Templates
journal
Info
Info is automatically generated information of the day, including links to the year, month, and OKRs, location, weather, moon, etc.
Location, weather, moon phase information comes from Templater’s calling system command function
Get location and weather
1 |
curl wttr.in/ " $(curl -s --header "user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36" https ://api.ip.sb/geoip | /opt/homebrew/bin/jq -r ".city" | sed 's/ /%20/') " \?format= "%l+%c%t" |
get moon phase
1 |
curl wttr.in/ " $(curl -s --header "user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36" https ://api.ip.sb/geoip | /opt/homebrew/bin/jq -r ".city" | sed 's/ /%20/') " \?format= "%m" |
OKR Tracker
OKR Tracke tracks the completion status of OKRs at the current stage of the day. For example, Sleep:: 10.3
means I slept for 10.3 hours today, Healthy Eating:: 5
means I ate healthy today, ::
is the syntax of Dataview, which will add to the current page
1 |
page = { |
Such attributes are convenient for analysis and processing in the weekly calendar.
Among them, there is a special list under O1 KR2, which shows the Toggl Track data of the day through the API. Toggl Track is a time recording application, which records the time I spend in various affairs every day, such as watching the time, brushing the time of station B, working Time, etc., these data can also reflect whether my productivity today is in line with expectations
Notes
This is where I actually keep a diary, mostly running accounts, to make up for my inherently bad memory, and occasionally to write some thoughts
Weekly and Monthly Diary
Jornal List
Jornal List is an automatically generated list of all journals this week/month, implemented through Dataview
Get all journals
1 |
// Week |
render list
1 |
dv. paragraph ( window . pages . file . link . join ( ', ' )) |
Summary
This is the place for summaries and reflections at the end of the month, corresponding to the Notes in the diary
OKR Tracker
Process and analyze the OKR data in all diaries here, and finally generate scores, corresponding to the OKR Tracker in the diary
It is implemented through Dataview. Taking sleep as an example, ≥ 6.5 hours and ≤ 8.5 hours are counted as effective sleep, and the percentage of effective sleep days to the total number of days is the score
1 |
let count = 0 ; |
Add a little CSS by yourself, > 80 points are displayed in green, 50-80 points are displayed in yellow, < 50 points are displayed in red, so that you can clearly see the sleep situation of this week/month, the picture is the yellow range, no Great but acceptable, need more attention next month
Statistics
Here, the sleep and exercise data are generated into statistical charts. It can be clearly seen that the sleep duration is quite unstable, and the number of exercise days and durations are very small.
The statistical chart is drawn by Obsidian Charts , and the sleep chart code is as follows
1 |
const times = []; |
Finance
This month’s financial data pie chart, generated by MoneyWiz
Yearbook
The annual diary is also very similar to the weekly diary and monthly diary, but by expanding the time scale, many new and useful conclusions can be drawn
For example, in the same sleep and exercise statistics chart, on the annual scale, it can be seen that my sleep began to get out of control at the end of May. During this period, the exercise was also interrupted, and it was relieved from the middle of June.
There are also new weight and body fat statistics charts, you can see that my weight and body fat are steadily declining, and my health has improved significantly
There is also a new heat map in the yearbook, which records the days when the goal is reached, which is drawn by the Heatmap Calendar , taking sleep as an example
1 |
const calendarData = { |
limited
Bullet Notes has a very important task list module. As shown in the screenshot of Bullet Notes above, I used to write all the task lists for a week in the notes in advance, but now the diaries are automatically generated on the same day and cannot be planned in advance, so I put The task list is managed by the tick list. Of course, the tick list is also very useful, but this will reduce the linkage with the diary. Manual addition will cause a lot of repetitive work, which is not very cool.
Finally, it should be noted that even if there is such a life management system, it does not mean that life will be as expected. Just like the sleep out-of-control incident at the end of May in the example above, it will still happen once you relax and out of control, and the notes will tell me that life is out of control, But how to get back on track and catch up with OKR still depends on self-control and persistence with regular summaries, reflections and improvements
This article is reprinted from: https://diygod.me/obsidian/
This site is for inclusion only, and the copyright belongs to the original author.