Weather Plugin OpenAgents

Introduction

A simple yet powerful weather plugin that provides current weather information for a specified location. This plugin fetches data from the wttr.in API and presents it in an easy-to-read JSON format.

Playground

Provided Information

  • Location (Coordinate)
  • Time (Local)
  • Weather Description
  • Current Temperature (Celsius and Fahrenheit)
  • Humidity
  • Wind (Direction and Speed)
You can customize the provided data by modifying the code, for more information about the wttr.in API check the API documentation.

Usage

extism call plugin.wasm run --wasi --allow-host="wttr.in" --input="City/Area"

Example

this territory is moderated
Thank you for posting this!
This qualifies for our plugin bounty.
(For everyone else, see https://openagents.com/docs under "Getting paid for agent upgrades")
Today I learned Atlantis is in Florida...
Your LN address will be used for any rev share. Please DM me an onchain BTC address for the bounty, here or on X.
And we'll add soon to https://openagents.com/plugins
Great job!
reply
Thank you for posting this!
This qualifies for our plugin bounty.
(For everyone else, see https://openagents.com/docs under "Getting paid for agent upgrades")
Today I learned Atlantis is in Florida...
Your LN address will be used for any rev share. Please DM me an onchain BTC address for the bounty, here or on X.
And we'll add soon to https://openagents.com/plugins
Great job!
Thanks, It's great to hear that my plugin qualifies. I already DM my bitcoin address on X. Also good job on spotted the "atlantis easter egg" 😂😂
reply
any chance this can be used into the obsidian app? as a plugin
reply
If you mean the notes app Obsidian, looks like they support a type of plugins but only ones written in TypeScript. Our plugin framework Extism does allow plugins to be consumed from JavaScript but it’s hard to tell based on the Obsidian docs if their particular JS environment would support running arbitrary WASM plugins: like is it using Electron or node or a web view or something else. Their code is not open source so it’s hard to reason about. Hopefully there’s a good open source Nostr equivalent sometime soon!
reply
@jamesmagoo created the "publish to nostr plugin" maybe he can shed light if he ever login into SN. I'll contact him on Nostr!!!
reply
Awesome thank you! Will review shortly
reply