Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

strapi-plugin-import-export-web

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

strapi-plugin-import-export-web

A strapi plugin to use import/export commands from the admin panel

  • 1.2.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

strapi-plugin-import-export-web

This plugin provides a web ui for the strapi import and strapi export commands, so that you can backup/restore your strapi easily.

Screenshot 2566-11-06 at 11 16 07

Official documentation of the commands

  • strapi import
  • strapi export

Installation

  • Install the plugin with yarn add strapi-plugin-import-export-web

Configuration

The plugin will run without options by default.

When doing so, the generated tarball name will be your package.json name field, and encryption will be disabled.

In your config/plugins.js you can add:

{
  "strapi-plugin-import-export-web: {
    enabled: true,
    config: {
      archiveName: 'my-custom-prefix',
      encryptionKey: 'mySuperSecretKey'
    }
  }
}

ACL

You can go an enable/disable import and export actions in the roles section of the admin panel. This should enable/disable endpoints and stop displaying the section according to the permissions you provided.

Screenshot 2566-11-06 at 11 17 00

Notes

The encryption key is NOT part of the forms because it's just too dangerous imho. You'll send a potential "secret" over the wire, which you'll have to store and remember by yourself. It's easy to leak but more importantly easy to forget.

Be careful that this suppress warnings so once you press the button, it'll be running no matter what.

There are no translations because we went for the shortest path to completion but PRs are welcomed.

Keywords

FAQs

Package last updated on 10 Nov 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc