No description
Find a file
2024-01-11 14:38:29 +08:00
.github/workflows ci: new release workflow 2023-12-24 17:36:23 +08:00
attachment feat: update README 2023-12-24 16:48:34 +08:00
src fix: change to whole year or month not work if has days field 2024-01-11 14:38:29 +08:00
.editorconfig feat: add sample label to date field format input (#27) 2024-01-02 13:01:13 +08:00
.eslintignore feat: add sample label to date field format input (#27) 2024-01-02 13:01:13 +08:00
.eslintrc Initial commit 2023-12-10 09:23:18 +08:00
.gitignore Initial commit 2023-12-10 09:23:18 +08:00
.npmrc Initial commit 2023-12-10 09:23:18 +08:00
esbuild.config.mjs feat: add minify to esbuild config 2023-12-30 21:00:26 +08:00
LICENSE Create LICENSE (#2) 2023-12-16 16:44:12 +08:00
manifest.json feat: upgrade to 0.6.0 2024-01-11 12:59:15 +08:00
package-lock.json feat: use obsidian yaml function to instead of js-yaml library 2024-01-10 10:16:33 +08:00
package.json feat: use obsidian yaml function to instead of js-yaml library 2024-01-10 10:16:33 +08:00
README.md feat: use obsidian yaml function to instead of js-yaml library 2024-01-10 10:16:33 +08:00
README_ADVANCE.md feat: support set title style (#15) 2023-12-22 10:04:22 +08:00
README_BASE.md feat: update README 2023-12-24 16:48:34 +08:00
styles.css feat: click cell to show related data item (#39) 2024-01-10 09:51:08 +08:00
tsconfig.json Fix: format error if datefield is object type (#25) 2023-12-29 19:30:44 +08:00
version-bump.mjs Initial commit 2023-12-10 09:23:18 +08:00
versions.json new contribution graph plugin (#1) 2023-12-14 11:04:13 +08:00

English | 中文文档

What

Contribution Graph is a plugin for obsidian.md which could generate interactive heatmap graphs like GitHub to track your notes, habits, activity, history, and so on.

Buy me a coffee

Features

  • diverse views, support week-track(default), month-track, and calendar view.
  • personalized style, you can configure different cell colors and fill cells with emojis.
  • use fixed date range or latest date to generate graph
  • interactive charts, you can customize cell click event, hover to show statistic data
  • simply integrate with DataviewJS, use contribution graph's api to dynamically render charts

Quick Start

  • ctrl+p (or command+p on mac) to open the command select panel
  • write contribution to search and click create contribution graph command
  • click the save button, and then a heatmap will be created.

Alt text

How to modify graph?

Jut click the edit button at top right corner

Alt text

Configurations

name description type default sample required
title the title of the graph string Contributions false
titleStyle the style of the title object false
days Maximum number of days for the chart to display (starting from today) number 365 true if miss fromDate and toDate
fromDate The start date of the chart date, format yyyy-MM-dd 2023-01-01 true if miss days
toDate The end date of the chart date, format yyyy-MM-dd 2023-12-31 true if miss days
query dataview query syntax, contribution graph will use it to count files string true
dateField Date attributes of files used for data distribution string file.ctime createTime false
startOfWeek start of week number 0 false
showCellRuleIndicators Control the display and hiding of cell rule indicator elements boolean true false
cellStyleRules cell style rule array false

More Usage Guid