Search by

sightpress / plugin-file-importer

pedrobrazao

The official SightPress plugin for importing content.

Package info

github.com/sightpress/sightpress-plugin-file-importer

Type:sightpress-plugin

pkg:composer/sightpress/plugin-file-importer

Statistics

Installs: 2

Dependents: 0

Suggesters: 1

Stars: 0

Open Issues: 0

v1.0.0 2026-11-06 08:58 UTC

README

sightpress/plugin-file-importer: the official SightPress plugin for importing content from other systems. Licensed GPL-2.0-or-later.

Status: M0 scaffolding in place (manifest, bundle, quality gates, CI); features arrive in milestone M8.

It adds importers for:

  • Markdown with front matter, mapped onto core pages (or another content type a site has enabled), with media, internal links and widgets converted to SightPress's reference-based Markdown.
  • DOCX documents, converted through pandoc into canonical Markdown.

Every import runs as a background job, reports its progress in words, and leaves content as a draft for a human to review, describe and publish through the normal workflow — nothing is published automatically. Archives and uploaded files are checked for path traversal (zip-slip) and processed with timeouts.

Development

composer install
vendor/bin/phpunit          # on PluginTestCase, enabled and disabled
vendor/bin/phpstan analyse
npx playwright test         # every manifest route, with axe-core

Check out sightpress/core as a sibling and require it with COMPOSER=composer.dev.json composer install to run the test kernel.