https://github.com/infosys/daily-weather-plugin
The Daily Weather Plugin for Backstage provides real-time weather information for a specified location using the Weatherstack API.
https://github.com/infosys/daily-weather-plugin
Last synced: 10 months ago
JSON representation
The Daily Weather Plugin for Backstage provides real-time weather information for a specified location using the Weatherstack API.
- Host: GitHub
- URL: https://github.com/infosys/daily-weather-plugin
- Owner: Infosys
- License: apache-2.0
- Created: 2025-03-10T07:05:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-26T07:14:43.000Z (10 months ago)
- Last Synced: 2025-08-26T08:43:29.459Z (10 months ago)
- Language: TypeScript
- Size: 5.24 MB
- Stars: 2
- Watchers: 0
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Welcome to the Daily Weather Plugins Repository for Backstage!
The Daily Weather Plugin for Backstage provides real-time weather information for a specified location using the Weatherstack API. This plugin includes a secure backend proxy configuration to fetch weather data without exposing your API key.
## How It Works
1. **Backend Proxy Configuration**:
- The plugin uses a secure backend proxy to fetch weather data from the Weatherstack API. This ensures that your API key is not exposed to the client-side code.
- You need to configure the backend proxy in your `app-config.yaml` file to point to the Weatherstack API with your API key.
2. **Fetching Weather Data**:
- The plugin fetches real-time weather data for a specified location. You can configure the default location in the `app-config.yaml` file.
- The weather data includes information such as temperature, weather descriptions, wind speed, humidity, visibility, and more.
3. **Displaying Weather Information**:
- The plugin provides a `WeatherCardComponent` that you can embed in any Backstage page to display the weather information.
- The component displays the current temperature, weather descriptions, wind speed, humidity, visibility, local time, and whether it is day or night.
4. **Error Handling**:
- The plugin handles errors gracefully by displaying error messages in the `WeatherCardComponent` if the API call fails or if there is an issue with the configuration.
FOR MORE INFORMATION AND SETUP PLEASE VISIT PLUGIN DOCS [DAILY WEATHER PLUGIN] (https://github.com/Infosys/daily-weather-plugin/blob/master/plugins/weather/README.md)