Tatz884 / RescueTime-Obsidian

A RescueTime integration plugin to view your activity logs in Obsidian.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RescueTime Obsidian Plugin

View your activity logs from RescueTime in Obsidian.

Live Demo GIF

Installation

Prerequisite

Note

This plugin is compatible only with Obsidian desktop clients, but not with mobile.

Download RescueTime Obsidian Plugin

There are two options - 1. download manually, or 2. download from the community plugin list.

Download manually

  1. Download rescuetime-<latest-version>.zip from the latest release
  2. Unpack the zip in <vault>/.obsidian/plugins/rescuetime
  3. Reload Obsidian (CTRL + R)
  4. Disable the restricted mode.
  5. Enable RescueTime plugin.

Download from the community plugin list

Installation Image

  1. Open the setting tab at the bottom left of your Obsidian client.
  2. In "Option", click "Community Plugins".
  3. Click "Browse", then search for "RescueTime", and install it.
  4. Disable the restricted mode, and enable "RescueTime" plugin.

To display the data from RescueTime in Obsidian, you need to set API token in the plugin setting - see below.

Set API token

Obtain API key from Rescue Time Image

  1. Get API token from API management page of RescueTime. Go to "Create a new API key" with a reference label that you can type anything (say, "obsidian integration"). You don't have to change "Allow queries from:". Click "Activate this key" and copy the key.

Set API token in the plugin setting Image

  1. In the setting tab, now "Community plugins" has 'RescueTime'. Paste the copied key in "API token".
  2. To test API connection, click "connect" in "API connection test".

That's it! Now you should be able to view the data from RescueTime.

View RescueTime dashboard for today

Right Pane Image

Click "Expand" icon at the top right corner to expand the right pane and find the RescueTime icon. All graphs are based on the data today.

Note

Your RescueTime clients send data to the RescueTime server every 30 minutes for free users, and 3 minutes for pro users. Thus, you will get the data update with these intervals.

View RescueTime data for the time period specified by you

Code Block Image

Code Block Processed Image

If you type the code block with the following format, then it will turn into the graphs showing the data over the period defined by you.

```rescuetime
FROM YYYY-MM-DD TO YYYY-MM-DD
```

Note

Currently, this code block only supports the time periods spanning 31 or less days. Also you need to specify the time range starting 92 or less days before today. Querying 93 or more days ago will require RescueTime Pro subscription and the developer does not have subscription...

About

A RescueTime integration plugin to view your activity logs in Obsidian.

License:MIT License


Languages

Language:TypeScript 92.1%Language:CSS 4.6%Language:JavaScript 2.8%Language:Shell 0.5%