npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@rely/backstage-plugin-rely-migration-plugin-backend

v0.5.0

Published

A Backstage plugin export backstage data to Rely.

Readme

Rely Migration Plugin for Backstage

Welcome to the rely-migration-plugin for Backstage by Rely.io. This plugin seamlessly integrates with Backstage to export essential data to the Rely.io Identity Data Provider (IDP). It offers two modes of operation: a one-time data export via a dedicated endpoint, and an automated, scheduled data export using a cron job.

Features

  • One-time Export: Easily migrate your data to Rely.io with a single API call.
  • Scheduled Export: Set up a cron job to regularly export data, ensuring continuous synchronization with Rely.io.

Installation

To get started with the Rely Migration Plugin, follow these installation steps:

  1. Install the Plugin:

    cd packages/backend && yarn add @rely/backstage-plugin-rely-migration-plugin-backend
  2. Create the Plugin File: In your Backstage backend, create a new file at packages/backend/src/plugins/rely.ts with the following content:

    import { PluginEnvironment } from '../types';
    import { createRouter } from '@rely/backstage-plugin-rely-migration-plugin-backend';
    import { parseConfigs } from '@rely/backstage-plugin-rely-migration-plugin-backend';
    
    export default async function createPlugin(env: PluginEnvironment) {
      const routerOptions = await parseConfigs(env);
      return await createRouter(routerOptions);
    }
  3. Update the Backend Index: Modify packages/backend/src/index.ts to include the Rely plugin:

    import rely from './plugins/rely';
    ...
    const relyEnv = useHotMemoize(module, () => createEnv('rely'));
    ...
    apiRouter.use('/rely', await rely(relyEnv));
  4. Configure Proxy and Rely in app-config.yaml: Add the following configuration to your app-config.yaml:

    proxy:
      '/rely':
        target: https://magneto.rely.io
        headers:
          Authorization: Bearer <WEBHOOK_API_TOKEN_ON https://webapp.rely.io/settings>
    
    rely:
      # Enable/disable gzip
      cron:
        enabled: true
        schedule: '0 * * * *'
      # Define entity filters for data export
      entityFilters: []
        # Example filters:
        # - kind: ['API', 'Component']
        # - metadata.name: 'a'
        #   metadata.namespace: 'b'

How to Use

  • One-time Export: Trigger the endpoint /api/rely/migrate to start a one-time export.
  • Scheduled Export: If the cron job is enabled in the configuration, the plugin will automatically export data at specified intervals.

Configuration Details

  • cron.enabled: Enable or disable the cron job for scheduled exports.
  • cron.schedule: Define the cron schedule for automated data exports.
  • entityFilters: Specify filters for the entities to be exported. For more details on structuring these filters, refer to the Backstage EntityFilterQuery documentation.

Development and Local Testing

  • Running in the Backstage App: Start the Backstage app (yarn start at the root) and navigate to /rely-migration-plugin.
  • Isolated Plugin Development: Run yarn start in the plugin directory for faster iteration, startup, and hot reloads. This setup is intended for local development only.

Thank you for choosing Rely.io for your identity management solutions. We are committed to providing seamless integration and top-notch support for Backstage users. For any issues or contributions, please feel free to open an issue or pull request in our repository.