[PR #7] [MERGED] Add MET Norway (met.no) as a weather API provider #6

Closed
opened 2026-10-15 13:27:57 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/SillyTavern/Extension-Weather/pull/7
Author: @Copilot
Created: 2/25/2026
Status: ✅ Merged
Merged: 2/25/2026
Merged by: @Cohee1207

Base: main ← Head: copilot/add-met-norway-weather-api


📝 Commits (4)

  • 4456225 Initial plan
  • 0878a79 Add MET Norway (met.no) as a weather API provider
  • 1212bc6 Move cToF, msToMph, mmToIn to shared src/utils.js
  • 7b6ec9c Sort provider lists A-Z, update README with MET Norway docs

📊 Changes

5 files changed (+256 additions, -9 deletions)

View changed files

📝 README.md (+14 -7)
📝 src/providers/index.js (+2 -0)
➕ src/providers/met-norway.js (+209 -0)
📝 src/settings.js (+4 -2)
📝 src/utils.js (+27 -0)

📄 Description

  • Create src/providers/met-norway.js with getWeather and getForecast exports following the existing provider pattern
  • Update src/providers/index.js to register the new met-norway provider
  • Update src/settings.js to add MET Norway to WEATHER_PROVIDERS map and the HTML dropdown
  • Move unit conversion helpers (cToF, msToMph, mmToIn) to shared src/utils.js
  • Sort provider list A-Z in settings and README
  • Update README with MET Norway documentation
  • Code review and security checks

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/SillyTavern/Extension-Weather/pull/7 **Author:** [@Copilot](https://github.com/apps/copilot-swe-agent) **Created:** 2/25/2026 **Status:** ✅ Merged **Merged:** 2/25/2026 **Merged by:** [@Cohee1207](https://github.com/Cohee1207) **Base:** `main` ← **Head:** `copilot/add-met-norway-weather-api` --- ### 📝 Commits (4) - [`4456225`](https://github.com/SillyTavern/Extension-Weather/commit/4456225c93b4820d85f6e924d7e2641ff467d533) Initial plan - [`0878a79`](https://github.com/SillyTavern/Extension-Weather/commit/0878a798df8b039d64f44a343ee62b460c07a617) Add MET Norway (met.no) as a weather API provider - [`1212bc6`](https://github.com/SillyTavern/Extension-Weather/commit/1212bc68a791a8bb1b966df6f99a03a2d8c48d8a) Move cToF, msToMph, mmToIn to shared src/utils.js - [`7b6ec9c`](https://github.com/SillyTavern/Extension-Weather/commit/7b6ec9c36e853363c5822ce9e188011fa0efd768) Sort provider lists A-Z, update README with MET Norway docs ### 📊 Changes **5 files changed** (+256 additions, -9 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+14 -7) 📝 `src/providers/index.js` (+2 -0) ➕ `src/providers/met-norway.js` (+209 -0) 📝 `src/settings.js` (+4 -2) 📝 `src/utils.js` (+27 -0) </details> ### 📄 Description - [x] Create `src/providers/met-norway.js` with `getWeather` and `getForecast` exports following the existing provider pattern - [x] Update `src/providers/index.js` to register the new met-norway provider - [x] Update `src/settings.js` to add MET Norway to `WEATHER_PROVIDERS` map and the HTML dropdown - [x] Move unit conversion helpers (`cToF`, `msToMph`, `mmToIn`) to shared `src/utils.js` - [x] Sort provider list A-Z in settings and README - [x] Update README with MET Norway documentation - [x] Code review and security checks <!-- START COPILOT CODING AGENT TIPS --> --- 💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more [Copilot coding agent tips](https://gh.io/copilot-coding-agent-tips) in the docs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
SillyTavern/Extension-Weather#6
No description provided.