A dashboard for your obsidian vault.
To download the newest Example Vault in English: Please download the source code folder named Rainbell English and open it in Obsidian. I have not compiled a final version yet but I am trying to do it.
2022-10-17 Warning:
2022-05-19 Update:
2022-05-13 Update:
2022-04-14 Update:
homepage setting.css
;homepage setting.css
;2022-02-24 Update:
target: tasks
and tags: project
in the YAML section and enable sharetype.css
for special tag styling.2022-01-11 Update:
2022-01-07 Update:
A dashboard for your obsidian vault.
Currently the homepage features:
### QA automatic date update
for more information;00. Homepage.md
note in your vault and get all sections personalized.target: 10000
status: in progress
tags: project
in the YAML section of your single note project. It's based on WordCountTable so you can check there for more info.
If your project is tasks-based, and you want the progress bar to depict finished_tasks/all_tasks instead, use the YAML
target: tasks
status: in progress
tags: project
Enable sharetype.css
for special tag styling.
With this plugin you can quickly access your homepage (Homepage plugin required) from anywhere, both on PC and your phone.
Settings:
With the plugin Advanced URI you can create a url for literally anything. Currently I am only using this for running two commands:
There are several kinds of dynamic buttons in the MOC part.
Supposing you have a daily note formatted YYYY-MM-DD, you should write the md link as followed:
- `$= '[['+moment().format("YYYY-MM-DD")+'|Today]]'`
It'll create a button displaying "Today" that leads to your daily note.
Some other suggestions with Advanced URI
command: open daily note
which would create the daily note with your chosen template when it does not exist.If you are using Apple products, both MacOS and IOS have extensive URL schemes that allow you to open almost any app using URL, even perfoming some actions within the app (e.g. open a specific note; open a specific book in IBooks, etc.) I have installed a RSS reader called REEDER and am using this button to open it
- [Reeder](reeder://)
This is a roundabout way to display dynamic daily notes embeds in our homepage. Originally, we used Dataviewjs to achieve this, but with dvjs we have to refresh the page every time we made modifications to the daily note (I frequently modified daily note while staying on my homepage with quickadd).
Now there is a more stable way using quickadd macro.
We will start with this codeblock (it is present in the 00. homepage.md
file, but hidden with %%).
![[2022年01月19日#日记]]
![[2022年01月19日#日程]]
![[Pasted image 20211221152043.png#center|200]]
![[2022年01月18日#鸟崽]]
In which I display three sections of my daily note.
Then, we install quickadd, click on manage macros
, then add a new macro Date Update
set to run on plugin load.
Next, download the DateUpdate.js
script to anyplace in your vault.
Open the script with any editor, and change the homepage filepath and section formats according to the instructions.
Configure the new macro, and you'll see DateUpdate listed in the userscript.
Add it.
Then you are all set! Now the date will automatically update whenever you open Obsidian.
一个导航,可通向您的Obsidian库中的不同部分(例如您的每日笔记、每周笔记和其他定期笔记),
三个选项标签,可让您在要显示的不同部分之间切换。目前有本月音乐和自动生日倒计时功能。
每日笔记中不同部分的动态视图(在我的情况下,它们是日记、每日议程和我的鹦鹉日志)
(注:该功能由dataview js实现,但是dvjs有一个重大缺陷:每次在对源文件修改时,主页中的嵌入部分都会坍缩。如果你想避免这个问题,请参见文末### 通过Quickadd自动更新主页日期)
target:10000
status:进行中
tags: project
在单笔记项目的 YAML 部分。它基于 https://gist.github.com/chrisgrieser/ac16a80cdd9e8e0e84606cc24e35ad99 因此您可以在此处查看更多信息。
如果你想使用“完成任务/总任务”来进行项目进度追踪,请使用如下YAML:
target: tasks
status: in progress
tags: project
如果需要标签效果,请启用sharetype.css
css片段。
使用此插件,您可以在 PC 和手机上的任何地方快速访问您的主页(需要Homepage插件)。
设置:
使用插件 Advanced URI,您可以为几乎任何内容和操作创建一个 url。目前我只使用它来运行两个命令:
1.打开Big Calendar
2.打开Memos
MOC部分有几种动态按钮。
假设您有一个格式为 YYYY-MM-DD 的每日笔记,您应该如此编写 md 链接,如下所示:
- `$= '[['+moment().format("YYYY-MM-DD")+'|今天]]'`
它将创建一个显示“今天”的按钮并指向您的每日笔记。
如果您使用的是 Apple 产品,MacOS 和 IOS 都有详尽的 URL 方案,允许您使用 URL 打开几乎任何应用程序,甚至可以在应用程序内执行某些操作(例如打开特定笔记;在 IBooks 中打开特定书籍等)我安装了一个名为 REEDER 的 RSS 阅读器,并使用此按钮打开它
- [Reeder](reeder://)
这是一种在我们的主页中动态显示嵌入的每日笔记的迂回方式。 本来,我们使用Dataviewjs来实现这一点,但是,使用dvjs的话,每次修改日记,主页中的嵌入都会坍缩(我经常在主页页面上使用quickadd修改每日笔记)。
现在有一种更稳定的方式,即使用 quickadd 宏。
我们将从这个代码块开始(它存在于 00.homepage.md
文件中,但用 %% 隐藏)。
![[2022年01月19日#日记]]
![[2022年01月19日#日程]]
![[Pasted image 20211221152043.png#center|200]]
![[2022年01月18日#鸟崽]]
我在其中展示了我的Daily Note的三个部分。
然后,我们安装 quickadd,点击“管理宏 (manage macros)”,然后添加一个新的宏“日期更新”,设置为在插件加载时运行(run on plugin load)。
接下来,将 DateUpdate.js
脚本下载到库中的任何位置。
使用任何编辑器打开脚本,并根据说明更改主页文件路径和部分格式。
配置新宏,您将看到用户脚本中列出的DateUpdate。
添加。
一切准备就绪! 现在,只要您打开 Obsidian,日期就会自动更新。