pushword / repurpose
Repurpose a Pushword page into ready-to-post social carousels: an agent-authored JSON spec rendered to self-contained SVG slides, with server-side text layout, focal-point cropping and PNG/PDF export.
Package info
Type:symfony-bundle
pkg:composer/pushword/repurpose
Fund package maintenance!
1.0.0-rc864
2026-08-11 09:19 UTC
Requires
- php: >=8.4
- ext-gd: *
- ext-zip: *
- pushword/core: *
Suggests
- pushword/admin: Manage pages, media and users from an EasyAdmin-based back-office.
- pushword/admin-block-editor: Rich block editor (EditorJS) for the admin.
- pushword/advanced-main-image: Choose the main image format per page, from hidden to full hero.
- pushword/api: Token-authenticated REST API mirroring the admin, OpenAPI-described.
- pushword/conversation: Add comments, a contact form or any user input to your website.
- pushword/docs: Pushword documentation, readable offline from vendor/.
- pushword/flat: Turn Pushword into a flat-file CMS: content as Markdown in Git.
- pushword/link-improver: Automatic internal links: page names become in-content links at render time.
- pushword/newsletter: Audiences, segmented campaigns and criteria-driven automations.
- pushword/page-scanner: Find dead links, 404s, redirects and TODO reminders.
- pushword/page-update-notifier: Get an email when a page is created or edited.
- pushword/quiz: Interactive client-side quizzes (QCM) and personality tests.
- pushword/search: SQLite-native full-text search via Loupe, zero infrastructure.
- pushword/snippet: Reusable content fragments and dev-registered Twig components.
- pushword/static-generator: Export the whole site as static files (GitHub Pages, Apache, FrankenPHP).
- pushword/template-editor: Edit Twig view files online from the admin.
- pushword/version: Keep a version history of your pages and compare revisions.
This package is auto-updated.
Last update: 2026-08-11 09:32:09 UTC
README
Turn a Pushword page into ready-to-post social carousels (LinkedIn, Instagram, Facebook, Pinterest, …).
- Agent-authored JSON spec — a carousel is a small JSON document (slides, text, focal-point crop, palette, font pairing, background effect, status). An AI agent writes it against a published JSON Schema; a human nudges it in the admin.
- Self-contained SVG slides — each slide renders server-side to one portable
SVG with its font and image embedded as
data:URIs. Text is laid out in PHP, so overflow and bad crops become validation errors before anything is rendered. - Pixel-exact export — the browser rasterises the SVG to PNG; PHP assembles a
.zip(PNGs + caption) and, for LinkedIn, a multipage PDF. No headless browser, no npm dependency. - Flat or DB — carousels round-trip through
pw:flat:syncas JSON files, so they live in git on a flat-file site and in the database on a dynamic one.
Installation
composer require pushword/repurpose
Status
Work in progress. See the plan.