open-index/open-npm huggingface dataset:
npm package: @infosys_ltd/daily-weather-plugin
Description: The Daily Weather Plugin for Backstage provides real-time weather information for a specified location using the Weatherstack API.
Author: Infosys
Latest version: 1.1.1

# Daily Weather Plugin 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.

---

## Installation

To install the plugin, run the following command:

```bash
yarn --cwd packages/app add @infosys_ltd/daily-weather-plugin
```

After installation, create an account on [Weatherstack](https://weatherstack.com/) and generate your API Access Key.

---

## Configuration

### Backend Proxy Configuration

Update your `app-config.yaml` file with the following proxy configuration:

```yaml
proxy:
  endpoints:
    '/weather':
      target: 'http://api.weatherstack.com/current?access_key=YOUR_API_KEY&query=YOUR_DEFAULT_LOCATION'
      changeOrigin: true
```

**Important Notes:**
- Replace `YOUR_API_KEY` with your Weatherstack API key.
- Replace `YOUR_DEFAULT_LOCATION` with the desired default location (e.g., `Stockholm`).

This configuration ensures:
- The `access_key` (API key) is securely embedded in the proxy target URL.
- The `query` parameter specifies the default location for weather data.

---

## Using Environment Variables (Optional)

Instead of hardcoding the `access_key` and `query` in the configuration file, you can dynamically set them via environment variables. This approach is more secure and flexible.

Set the following environment variables in your CLI:

```bash
export WEATHERSTACK_ACCESS_KEY=your_api_key_here
export WEATHERSTACK_DEFAULT_LOCATION=your_default_location_here
```

Then update the `app-config.yaml` as follows:

```yaml
proxy:
  endpoints:
    '/weather':
      target: 'http://api.weatherstack.com/current?access_key=${WEATHERSTACK_ACCESS_KEY}&query=${WEATHERSTACK_DEFAULT_LOCATION}'
      changeOrigin: true
```

---

### Example Screenshots

**Weather Plugin Configuration:**

![Weather Plugin Page](https://github.com/Infosys/daily-weather-plugin/blob/main/plugins/weather/src/docs/weatherplugin.png)

---

## Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

---

## License

This project is licensed under the Apache License 2.0. See the [LICENSE](LICENSE) file for details.
npm package: @infosys_ltd/holiday-tracker-plugin
Description: The Holiday Calendar Plugin for Backstage provides a convenient way to display and manage holiday information for any specified country or region using the Calendarific API. This plugin includes a secure backend proxy configuration to fetch holiday data w
Author: Infosys
Latest version: 1.0.0

# Holiday Tracker Plugin for Backstage

The Holiday Tracker Plugin for Backstage provides a convenient way to display and manage holiday information for any specified country or region using the Calendarific API. This plugin includes a secure backend proxy configuration to fetch holiday data without exposing your API key.

---

## Installation

To install the plugin, run the following command:

```bash
yarn --cwd packages/app add @infosys_ltd/holiday-tracker-plugin
```

After installation, create an account on [Calendarific](https://calendarific.com/) and generate your API Access Key.

---

## Configuration

### Backend Proxy Configuration

Update your `app-config.yaml` file with the following proxy configuration:

```yaml
proxy:
  endpoints:
    '/holidays':
      target: 'https://calendarific.com/api/v2/holidays?api_key=YOUR_API_KEY&country=YOUR_DEFAULT_LOCATION&year=YOUR_HOLIDAY_YEAR'
      changeOrigin: true
```

**Important Notes:**
- Replace `YOUR_API_KEY` with your Calendarific API key.
- Replace `YOUR_DEFAULT_LOCATION` with the desired default location (e.g., `IN`).
- Replace `YOUR_HOLIDAY_YEAR` with the desired year (e.g., `2025`).

This configuration ensures:
- The `api_key` (API key) is securely embedded in the proxy target URL.
- The `country` parameter specifies the default location for calendar data.
- The `year` parameter specifies the year for calendar data.

---

## Using Environment Variables (Optional)

Instead of hardcoding the `api_key`,`country`,`year` in the configuration file, you can dynamically set them via environment variables. This approach is more secure and flexible.

Set the following environment variables in your CLI:

```bash
export HOLIDAY_TRACKER_ACCESS_KEY=your_api_key_here
export HOLIDAY_TRACKER_LOCATION=your_default_location_here
export HOLIDAY_TRACKER_YEAR=your_default_year_here
```

Then update the `app-config.yaml` as follows:

```yaml
proxy:
  endpoints:
    '/holidays':
      target: 'https://calendarific.com/api/v2/holidays?api_key=${HOLIDAY_TRACKER_ACCESS_KEY}&country=${HOLIDAY_TRACKER_LOCATION}&year=${HOLIDAY_TRACKER_YEAR}'
      changeOrigin: true
```

---

### Example Screenshots

**Holiday Tracker Plugin Configuration:**

```bash
import { HolidayTrackerPage } from '@infosys_ltd/holiday-tracker-plugin';
```
> [!NOTE]
> You have to import above HolidayTrackerPage and use it wherever its needed.

![Holiday Tracker Page](https://github.com/Infosys/holiday-tracker-plugin/blob/main/plugins/holiday-tracker/src/docs/holidaytrackerplugin.png)

---

## Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or bug fixes.

---

## License

This project is licensed under the Apache License 2.0. See the [LICENSE](https://github.com/Infosys/holiday-tracker-plugin/blob/main/LICENSE) file for details.
npm package: @infosys_ltd/resource-actionhub
Description: Backstage frontend plugin for discovering and managing cloud resources through Resource ActionHub.
Author: Infosys
Latest version: 0.1.0

# Resource ActionHub Plugin for Backstage

The Resource ActionHub Plugin for Backstage helps teams discover and operate cloud resources directly from Backstage.
It currently supports AWS EC2 instance listing and actions (`start`, `stop`, `reboot`).

## Installation

Install both Resource ActionHub packages from your Backstage root:

```bash
yarn --cwd packages/app add @infosys_ltd/resource-actionhub
yarn --cwd packages/backend add @infosys_ltd/resource-actionhub-backend
```

## Configuration

### Backend Configuration

1. Add backend plugin registration in `packages/backend/src/index.ts`:

```ts
backend.add(import('@infosys_ltd/resource-actionhub-backend'));
```

2. Add plugin configuration in `app-config.yaml`:

```yaml
resource-actionhub:
  aws:
    accessKeyId: ${AWS_ACCESS_KEY_ID}
    secretAccessKey: ${AWS_SECRET_ACCESS_KEY}
    region: ${AWS_REGION}
```

3. Set backend environment variables:

```bash
export AWS_ACCESS_KEY_ID="<your-access-key-id>"
export AWS_SECRET_ACCESS_KEY="<your-secret-access-key>"
export AWS_REGION="<your-region>"
```

### Frontend Configuration

Add frontend page route in `packages/app/src/App.tsx`:

```tsx
import { ResourceActionHubPage } from '@infosys_ltd/resource-actionhub';

<Route path="/resource-actionhub" element={<ResourceActionHubPage />} />
```

### Run

```bash
yarn start
```

Open `http://localhost:3000/resource-actionhub`.

## Screenshot

![Cloud Resource Action Hub](./src/doc/resource-actionhub-screenshot.png)

## Contributing

Contributions are welcome! Please open an issue or submit a pull request for improvements or bug fixes.

## License

This project is licensed under the Apache License 2.0.
npm package: @infosys_ltd/resource-actionhub-backend
Description: Backstage backend plugin for discovering and managing cloud resources through Resource ActionHub.
Author: Infosys
Latest version: 0.1.0

# Resource ActionHub Plugin for Backstage

The Resource ActionHub Plugin for Backstage helps teams discover and operate cloud resources directly from Backstage.
It currently supports AWS EC2 instance listing and actions (`start`, `stop`, `reboot`).

## Installation

Install both Resource ActionHub packages from your Backstage root:

```bash
yarn --cwd packages/app add @infosys_ltd/resource-actionhub
yarn --cwd packages/backend add @infosys_ltd/resource-actionhub-backend
```

## Configuration

### Backend Configuration

1. Add backend plugin registration in `packages/backend/src/index.ts`:

```ts
backend.add(import('@infosys_ltd/resource-actionhub-backend'));
```

2. Add plugin configuration in `app-config.yaml`:

```yaml
resource-actionhub:
  aws:
    accessKeyId: ${AWS_ACCESS_KEY_ID}
    secretAccessKey: ${AWS_SECRET_ACCESS_KEY}
    region: ${AWS_REGION}
```

3. Set backend environment variables:

```bash
export AWS_ACCESS_KEY_ID="<your-access-key-id>"
export AWS_SECRET_ACCESS_KEY="<your-secret-access-key>"
export AWS_REGION="<your-region>"
```

### Frontend Configuration

Add frontend page route in `packages/app/src/App.tsx`:

```tsx
import { ResourceActionHubPage } from '@infosys_ltd/resource-actionhub';

<Route path="/resource-actionhub" element={<ResourceActionHubPage />} />
```

### Run

```bash
yarn start
```

Open `http://localhost:3000/resource-actionhub`.

## Screenshot

![Cloud Resource Action Hub](../resource-actionhub/src/doc/resource-actionhub-screenshot.png)

## Contributing

Contributions are welcome! Please open an issue or submit a pull request for improvements or bug fixes.

## License

This project is licensed under the Apache License 2.0.