An open API service indexing awesome lists of open source software.

https://github.com/aadityaza/obsedian-widgits


https://github.com/aadityaza/obsedian-widgits

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

# Obsidian Countdown Widget
![image](https://github.com/user-attachments/assets/cda4b13d-8989-43f1-8d55-10e32a896822)

This is a simple countdown widget for Obsidian notes that tracks progress toward a target date. The widget displays a circular progress indicator and a live countdown timer.

## Features
- Displays the percentage of time elapsed between a start and target date.
- Shows the remaining days, hours, minutes, and seconds.
- Updates every second.
- Minimalist design with a dark background, suitable for embedding in Obsidian notes.

## How to Use
1. Clone or download this repository.
2. Navigate to the `obsidian_widget` folder.
3. Open the HTML file in a text editor.
4. Modify the `START_DATE` and `TARGET_DATE` in the `CONFIG` object inside the `` tag.

Or, go to this link and get yout html code: https://aadityaza.github.io/obsedian-widgits/
5. Save the file and embed it in your Obsidian note using an `iframe`:

```markdown
<iframe src="path/to/widget.html" width="300" height="80"></iframe>
```

## Configuration
Update the following section in the HTML file to customize your countdown:

```javascript
const CONFIG = {
START_DATE: "YYYY-MM-DD", // Set your start date
TARGET_DATE: "YYYY-MM-DD" // Set your target date
};
```

## Example
If you want to track progress from January 13, 2025, to February 10, 2025, update the configuration as follows:

```javascript
const CONFIG = {
START_DATE: "2025-01-13",
TARGET_DATE: "2025-02-10"
};
```