avatarNuno Campos

Summary

The webpage content describes the user's Obsidian setup, specifically their vault Homepage, highlighting its functionality and customization using plugins and themes.

Abstract

In this webpage, the author Nuno Campos shares insights into their personal Obsidian setup, specifically focusing on the Homepage. The Homepage features a gif image as a banner, and a 4-column zone with shortcuts to frequently accessed notes created using the Modular CSS Layout for Obsidian. The author shares the code snippets used for this customization. The page also includes shortcuts to task views, and the use of the DataView plugin to display the number of tasks, completed tasks, and progress bars. Projects are managed using custom frontmatter fields in the project files, with the DataView plugin providing a table view of project status. The last section displays the last 10 modified files, again using the DataView plugin.

Opinions

  • The author finds the Obsidian setup functional and practical, with the Homepage designed to provide quick access to frequently used notes and tasks.
  • The author appreciates the use of plugins and themes, specifically mentioning the Banners plugin for the gif image and the Modular CSS Layout for Obsidian for the 4-column zone.
  • The author finds the DataView plugin useful for displaying task progress and managing projects.
  • The author has shared their approach to managing projects in previous articles, suggesting a level of satisfaction with their project management workflow.
  • The author values customization and has shared detailed code snippets and configurations to help others replicate their setup.
  • The author encourages readers to try out an AI service that they find cost-effective and functional, similar to ChatGPT Plus(GPT-4).
  • The author provides links to their previous articles and Medium membership, suggesting that they are an active content creator on the platform.

My Obsidian Setup (Part 23) — My Homepage

In this article, I will show you my vault Homepage and how I built it. Not too fancy, mostly functional, showing shortcuts to areas that I mostly use.

Homepage. Image by Nuno Campos

Starting from the top, I’m using the Banners plugin, with a gif image I for from Giphy.

Next, I created a 4 columns zone with shortcuts to notes I often open, using the Modular CSS Layout for Obsidian.

>[!multi-column]
>
>> ## 🗓️Agenda
>> `$= '[['+moment().format("YYYY-MM-DD")+'|Today]]'`
>> `$= '[['+moment().format("YYYY-[W]ww")+'|Week]]'`
>> `$= '[['+moment().format("YYYY - MM-MMM")+'|Month]]'`
>
>> ## 🎚️Work
>> [[01 PKM|PKM]]
>> [[02 Projects|Projects]]
>> [[02-servers|Servers]]
>> [[People|People]]
>
>> ## 😎 Life OS
>> [[01 Nuno|Nuno]]
>> [[02 xxx|xxx]]
>> [[03 xxx|xxx]]
>> [[Monthly Payments Map]]
>
>> ## 🍃 Evergreen
>> [[Obsidian Hotkeys]]
>> [[Obsidian Callouts]]
>> [[Windows Terminal Shortcuts]]
>> [[Vim mode shortcuts]]
>

Next, I have some shortcuts to task views: All Tasks, Completed, and Ideas. I wanted to include this in the above section, next to Evergreen, but the plugin only seems to allow 4 columns.

For the number of tasks, completed tasks, and the progress bar, I’m using DataView plugin with the following code:

```dataviewjs
 let nofold = '!"04 Templates'
 let allFile = dv.pages().file
 let totalTask = allFile.tasks.length
 let completedTask = allFile.tasks.where(t => !t.completed).length
 let tasks = "You have completed " + completedTask + " tasks of " + totalTask + " !" 
 let tasksp = Math.round((completedTask / totalTask) * 100)
 let pb = "![progress](https://progress-bar.dev/" + tasksp + "/)"
 dv.paragraph(
 tasks + "<br>" + pb
)
```

In the next section, Projects, I’m also using the DataView plugin.

```dataview
table WITHOUT ID (link(file.path, alias)) as Project,
"![progress](https://progress-bar.dev/" + round((tasksCompleted / projectTasks) * 100) + "/)" AS Progress, status AS Status 
from #project/active
SORT file.path ASCENDING
```

tasksCompleted and projectTasks are frontmatter fields calculated on the project’s file. If you want to check how I do it, I’ve already explained it on:

In the last section, I’m showing the last 10 modified files, also with the Dataview plugin.

```dataview
table file.ctime as Created, file.mtime as "Last modified"
where file.name != this.file.name 
sort file.mtime DESC
limit 10
```

You can read the previous parts of My Obsidian Setup series here:

Click here to be notified every time I publish a new story 😉.

If you’re not a Medium member yet and wish to support me or get access to all my stories, click here.

If you want to read more about me:

Productivity
Obsidian
Programming
Notes
Notetaking
Recommended from ReadMedium