Weather Widget

by mr-asa
5
4
3
2
1
Score: 41/100

Description

Category: Productivity Tools

The Weather Widget plugin displays live multi city weather forecasts directly in your vault with automatic time zone handling and sunrise/sunset tracking. The widget appears in a dedicated sidebar panel, inline Markdown blocks and Canvas nodes - all styled to match your vault theme. Temperature driven gradients and customizable sun overlays visualize conditions throughout the day. Choose between Open-Meteo (no key required) or OpenWeather providers. Deep appearance controls let you swap icons, adjust color palettes, configure gradient behaviors and fine-tune transitions.

Reviews

No reviews yet.

Stats

7
stars
1,990
downloads
0
forks
137
days
33
days
143
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
2
total issues
1
open issues
1
closed issues
9
commits

RequirementsExperimental

  • OpenWeather API key (optional, if using OpenWeather provider instead of Open-Meteo)

Latest Version

5 months ago

Changelog

README file from

Github

Weather Widget for Obsidian

Preset configurations live in the repository presets folder. Copy any file into your plugin settings and remove the first word before the dot so the file is named data.json.


English | Русский

Quick navigation


Keeping in touch with friends and family scattered across the globe usually means checking several cities in a weather app, adjusting for time zones, and mentally comparing temperatures. I wanted a single glance overview that also looked at home in Obsidian. The first iteration was a quickly hacked DataviewJS snippet, but maintaining the markup, color tokens, and gradients turned into a time sink.

This project grew from that experiment: a configurable widget that renders the same layout in the sidebar, Markdown notes, and Canvas while keeping gradients, icons, and transitions perfectly aligned with my vault theme. GPT was a big help in the early scaffolding stage, the rest evolved from daily use.


Weather Widget brings a live multi-city forecast directly into Obsidian. The widget mirrors the visual style of your vault, renders in a dedicated panel, Markdown notes, and Canvas nodes, and exposes all gradients, icons, and sun overlays for fine-tuning. Inline cities declared inside a code block merge with the global list without duplicates, so every note can show the exact mix you need.

Key Features

  • Multi-city layout with automatic time zone offsets, sunrise/sunset easing, and temperature-driven gradients.
  • Command palette shortcuts for opening the view or inserting a Canvas node.
  • Works everywhere: dedicated sidebar view, inline Markdown blocks, and Canvas nodes.
  • Two weather providers (Open-Meteo by default, OpenWeather – requires a free API key) with caching to stay inside rate limits.
  • Deep appearance controls: swap any icons, palettes, sun overlay behaviour, and layered gradients with live preview.
  • Localisation for English and Russian.

Installation

From Obsidian (when published)

  • Open Settings → Community plugins
  • Click Browse
  • Search for “Weather Widget”
  • Install and enable the plugin

Manual installation

From release
  • Download main.js, manifest.json, and styles.css from the latest release and copy them into <vault>/.obsidian/plugins/weather-widget.
  • Enable Weather Widget in Settings → Community plugins.
BRAT plugin
  • Open Settings → Community plugins, click Browse, find the “BRAT” plugin, install it, and enable it.
  • In the BRAT settings click Add beta plugin, paste the repository path for this project, choose Select a version → Latest version, then press Add Plugin.
  • Done. The plugin is installed and activated.

Usage

  • Launch the sidebar widget with Weather Widget: Open tab or by opening the registered view from the right sidebar.
  • Insert a Canvas node via Weather Widget: Insert Canvas node – it drops a ready-to-configure Markdown block.
  • In any note, you can simply insert the line ```weather-widget and a widget will be drawn in that place.
  • Configure everything in Settings → Weather Widget. Changes apply instantly to every rendered widget.

[!TIP] Add per-note cities inside a Markdown block. Each non-empty line must follow "City name" <latitude> <longitude> (quotes required, whitespace-separated, no commas). Inline entries merge with your saved list without duplicates.

Minimal block:

```weather-widget

With inline cities and custom row height:

```weather-widget
row-height: 24
"Mossingen" 48.406635032  9.057441152
"Wuhan"     30.59543      114.29987
```
  • row-height accepts pixel values (24–200). Omit it to use the global default (~36 px).

Command Palette

  • Weather Widget: Open tab – focus the live widget view (right sidebar by default).
  • Weather Widget: Insert Canvas node – create a Canvas text node with the Markdown placeholder.

Settings Reference

Localisation

Switch between English and Russian without reloading the vault. City names remain untouched.

Weather updates

  • Pick a data provider:
    • Open-Meteo (no key) or
    • OpenWeather (requires free API key).

[!TIP] Switching providers refreshes the cached data. This can be useful in cases where not all cities are loaded when the plugin is launched.

Locations

  • Maintain the global city list. Every row lets you set name, latitude, longitude, re-ordering, or deletion.

[!note] City names can use any language, symbol, or emoji.

Custom display names exist for convenience. For example, I track a nearby mountain and the city below; naming the exact coordinates through standard providers is tricky, so custom labels keep both points clear.

Preview playground

  • The preview widget mirrors the real component. Sliders simulate local time and temperature, the dropdown swaps weather categories.

[!note] Use ←/→ or ↑/↓ to nudge slider values one step at a time.

Time-of-day palette

  • Choose base colors for morning, day, evening, and night.
  • Replace the time-of-day icons if you prefer custom symbols (for example: ◑ ◉ ◐ ⨀).
  • Define how many minutes before sunrise/sunset blending should start and end.

Sun layer

  • Customize colors for day/night/sunrise/sunset and the symbol used for the sun.
  • Select an alpha curve profile to control how the sun gradient fades in/out.
  • Configure gradient width, opaque core, opacity multiplier, overflow, and icon behaviour (regular vs monospaced font).
  • Tune sunrise/sunset transition windows similar to the time-of-day palette.

[!note] I introduced the sun symbol to represent the height of the sun above the horizon. You can choose any text character or combination of characters for the icon, as long as it sits in the middle of the line. Here are some ideas:

◯⨀○৹●•·◎◉
▣◇◆▪▫
- – —
►◄▻◅▸◂▹◃
⋯Θ⊢⊣

For example, pick ◯ for a large ring, or enable a monospaced font and write —•— for a clean indicator (I like the variant ——●—— with size 0.5). You can also disable the icon entirely and keep only the colour accent.

Weather layer

  • Set icon and colour per weather category.
  • Adjust alpha profile, inner opacity ratio, overall opacity, and left fade.

Temperature layer

  • Manage temperature-to-colour stops, add/remove entries, and configure the alpha profile similar to the weather layer.

Additional options

  • Edge gradient width – global scaling factor for weather and temperature layers. Use smaller values when you prefer solid day/night backgrounds.

[!note] Weather and temperature transitions can differ in perceived width for each city. This is deliberate: daylight length is reflected in the gradient span.

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Heatmap Calendar
4 years ago by Richard Slettevoll
An Obsidian plugin for displaying data in a calendar similar to the github activity calendar
Desmos
4 years ago by Nigecat
Embed graphs directly into your obsidian notes
Release Timeline
4 years ago by cakechaser
Diagrams.Net
4 years ago by Jens M Gleditsch
This repository contains a plugin for Obsidian for inserting and editing diagrams.net (previously draw.io) diagrams.
Habit Tracker
4 years ago by David Moeller
A Plugin to display a Habit Tracker in Obsidian.
Sakana Widget
4 years ago by Boninall
Add the Sakana! Widget to your own Obsidian
Dirtreeist
4 years ago by kasahala
Render a directory Structure Diagram from a markdown lists in codeblock.
D2
3 years ago by Terrastruct
The official D2 plugin for Obsidian. D2 is a modern diagram scripting language thats turns text to diagrams.
Link Exploder
3 years ago by Ben Hughes
Adamantine Pick
3 years ago by Urist McMiner
Embeddable Pikchr(https://pikchr.org) diagrams renderer plugin for Obsidian(https://obsidian.md)
Canvas Filter
3 years ago by Ivan Koshelev
Obsidian Canvas plugin that let's you show only pages / arrows with specific tags / colors / connections.
Optimize Canvas Connections
3 years ago by Félix Chénier
An Obsidian plugin that declutters a canvas by reconnecting notes using their nearest edges
OpenWeather
3 years ago by willasm
Obsidian plugin for OpenWeather API
Canvas Links
3 years ago by aqav
Show the links between "Canvas" and "File"
Lilypond
3 years ago by DOT-ASTERISK
Lilypond for Obsidian
Chemical Structure Renderer
3 years ago by xaya1001
Render chemical structures from SMILES strings into PNG or SVG format using Ketcher and Indigo Service.
Laws of Form
3 years ago by Kevin German
BattleSnake Board Viewer
3 years ago by EnderInvader
Plugin to render battlesnake boards in Obsidian
Nifty Links
3 years ago by x-Ai
Generating elegant, Notion-styled rich link cards to enhance your note-taking experience.
Tenki
3 years ago by HiroMike
Show Whitespace
3 years ago by Erin Schnabel
Show leading/trailing whitespace
Desk
2 years ago by David Landry
A desk for obsidian
Note Gallery
2 years ago by Pash Shocky
A masonry note gallery for obsidian.
Storyclock Viewer
2 years ago by Jonathan Fisher
Obsidian plugin for creating a storyclock
Widgets
2 years ago by Rafael Veiga
Add cool widgets to your notes or your dashboard in Obsidian
Markline
2 years ago by 闲耘
Markline: Markdown timeline view in Obsidian.
Contribution Graph
2 years ago by vran
generate interactive gitxxx style contribution graph for obsidian, use it to track your goals, habits, or anything else you want to track.
Mathematica Plot
2 years ago by Marcos Nicolau
Insert functions on Obsidian using Wolfram Mathematica!
Arrows
2 years ago by artisticat
Draw arrows across different parts of your notes, similar to on paper
Alfonso Money Manager
2 years ago by SmartLifeGPT Innovation
This is the repository for the obsidian plugin of the Alfonso Money Manager mobile application
CardNote
2 years ago by cycsd
Help you extract your thoughts more quickly in canvas
Graph Link Types
2 years ago by natefrisch01
Link types for Obsidian graph view.
Canvas Mindmap Helper
2 years ago by Tim Smart
Advanced Canvas
2 years ago by Developer-Mike
⚡ Supercharge your canvas experience! Graph view integration and unlimited styling options empower flowcharts, dynamic presentations, and interconnected knowledge.
historica
2 years ago by Nhan Nguyen
Not (smart) to help you create your timeline in obsidian like a ... bro
Mehrmaid
2 years ago by huterguier
Rendering Obsidian Markdown inside Mermaid diagrams.
Mindmap
2 years ago by YunXiaoYi
An Obsidian plugin for creating Mindmaps.
Graph Banner
2 years ago by ras0q
An Obsidian plugin to display a relation graph view on the note header.
Smart Connections Visualizer
2 years ago by Evan Moscoso
Visualize your notes and see links to related content with AI embeddings. Use local models or 100+ via APIs like Claude, Gemini, ChatGPT & Llama 3
NyanBar
2 years ago by xhyabunny
Give life to your Obsidian notes with NyanBar !
Magic Move
2 years ago by imfenghuang
Animating Code Blocks in Obsidian
Mahjong Renderer
2 years ago by hypersphere
Canvas Explorer
2 years ago by Henri Jamet
A plugin that enables users to explore their vault by iteratively adding or ignoring linked notes, ultimately generating a customizable canvas that visually represents the preserved notes and their connections.
Neo4j Graph View
5 years ago by Emile van Krieken
Chessboard Viewer
5 years ago by Davide Aversa
Plugin to render chessboards in Obsidian using chessboardjs
Excalidraw
5 years ago by Zsolt Viczian
A plugin to edit and view Excalidraw drawings in Obsidian
Argument Map with Argdown
5 years ago by amdecker
Habit Tracker
5 years ago by duo
This plguin for Obsidian creates a simple month view for visualizing your punch records.
Map View
5 years ago by esm
Interactive map view for Obsidian.md
WaveDrom
5 years ago by Alex Stewart
Markmind
5 years ago by Mark
A mind map, outline for obsidian,It support mobile and desktop
Lineup Builder
5 years ago by James Fallon
An Obsidian plugin that lets you build football lineups
Mapbox Location Image
2 years ago by Aaron Czichon
Render a mapbox location image based on provided coordinates
Poker Range
2 years ago by marplek
Easily create, view, and interact with poker hand ranges in your obsidian.
InfraNodus AI Graph View
2 years ago by Nodus Labs
Advanced graph view for Obsidian: text analysis, topic modeling, and AI with InfraNodus AI text analysis tool: https://infranodus.com
Folder Canvas
2 years ago by Nancy Lee
Generate a canvas view of your folder structure
Heatmap Tracker
2 years ago by Maksim Rubanau
A customizable heatmap tracker plugin for Obsidian to visualize daily data trends with intuitive navigation and flexible settings.
Visual Crossing Weather
2 years ago by willasm
Class Relation Visualization
2 years ago by Yong
Kale Graph
a year ago by Oli
Render mathematical graphs in Obsidian
NodeFlow
a year ago by LincZero
Render node streams like `ComfyUi`, `UE`, `Houdini`, `Blender`, etc., to make it easy to write relevant notes. json describes the chart, compared to screenshots, making it easier to modify later. The plugin is also compatible with blogs.",
Easy Timeline
a year ago by Romeliun
The Easy Timeline plugin for Obsidian allows you to create timelines easily.
Boardgame Search
a year ago by Marlon May
A plugin to create notes for boardgames based on the BGG API
ShaahMaat-md
a year ago by Mihail Kovachev
Mahgen Renderer
a year ago by Michael Francis Williams
Obsidian plugin to render mahgen automatically
Enhanced Canvas
a year ago by RobertttBS
When editing on Canvas, properties and Markdown links to notes are automatically updated, enabling backlinks in Canvas.
Every Day Calendar
a year ago by QuBe
Obsidian plugin to create calendars inspired by Simone Giertz's Every Day Calendar
Flowcharts
a year ago by land0r
Flowchart Plugin for Obsidian – Create and customize flowcharts seamlessly within your Obsidian vault. Powered by Flowchart.js and designed for productivity
Extended File Support
a year ago by Nick de Bruin
Adds opening and embedding support for various filetypes to Obsidian
YourPulse - Your Writing Activity Visualised
a year ago by Jiri Sifalda
YourPulse.cc - Obsidian.md plugin that turns your vault into a reflection of your creativity, and put your writing on steroids 💪
Content Cards
a year ago by leo
Insert content cards in Markdown, such as timeline, highlightblock, target card, book information card, music information card, movie information card, photoes ablum, business card, content subfield, countdown, SWOT,BCG.
ASCII Tree Generator
a year ago by Matěj Michálek
Tier List
a year ago by Mox Alehin
Obsidian plugin for visual ranking and organizing content into customizable Tier Lists.
Export Graph View
a year ago by Sean McGhee
Plugin to export your vault's graph view.
Waveform Player
a year ago by Zhou Hua
Advanced Progress Bars
a year ago by cactuzhead
Obsidian plugin to create custom progress bars
Extended Graph
a year ago by Kapirklaa
Community plugin to add features to the graph view.
Node Factor
a year ago by CalfMoon
Customize factors effecting node size in obsidian graph.
Generate Timeline
a year ago by Shanshuimei
An obsidian plugin to generate timelines from tags, folders, files or metadata automatically. 根据标签,文件夹,文件或者属性自动生成时间轴的插件。
Timelive
a year ago by aNNiMON
Turn a list of dates into a timeline
New 3D Graph
a year ago by Aryan Gupta
Visualize your vault in 3D with a powerful, highly customizable, and filterable graph.
Maps
8 months ago by Obsidian
Map layout for Obsidian Bases. Display your notes as an interactive map view.
Tasks Map
8 months ago by NicoKNL
A graph view of your tasks.
Visited Countries
8 months ago by Ivan Peshykov
Obsidian plugin to mark and visualize the countries you've visited on an interactive world map.
Life in Weeks Calendar
7 months ago by Jeff Szuc
Plugin for the Obsidian markdown editor. Displays a calendar of your life in weeks with weekly Periodic Notes plugin integration. Includes options for the traditional Memento Mori/Stoic style calendar, as well as a Gregorian calendar accurate version.
GoBoard
5 months ago by Dmitry I. Sokolov
Obsidian plugin for rendering Go game diagrams from markdown code blocks
Inline Local Graph
4 months ago by TKOxff
Inline Local Graph of Obsidian
GLSL Viewer
4 months ago by iY0Yi
Preview GLSL shaders on Obsidian.
Mermaid Icons
4 months ago by toshs
Obsidian plugin enabling the use of icons in Mermaid diagrams.