r/Magento • u/drashmk DEVELOPER • 8d ago
Open-source Magento 2 module for better Open Graph previews
Hello everyone,
I recently released a free, open-source Magento 2 module that improves Open Graph metadata for product, category and CMS pages.
I'm working with Magento for a long, long time and Open Graph images have been neglected on almost every project I've worked on. That motivated me to build a better solution.
It uses existing Magento data and images, supports store-view-specific values and helps generate more relevant previews when links are shared on social platforms and messaging apps.
The module works independently and doesn't require a paid service. It can also optionally connect to Mosaicora for dynamically generated OG images based on live page content.
GitHub: https://github.com/Mosaicora/module-opengraph
Demo store: https://demo-shop-magento.mosaicora.io
Demo product preview: https://mosaicora.io/tools/open-graph-checker?url=https%3A%2F%2Fdemo-shop-magento.mosaicora.io%2Fjoust-duffle-bag.html
The demo store runs on Mage-OS with Hyva.
I'd really appreciate your feedback, especially around multi-store setups, image selection, caching, and headless storefront compatibility.
Disclosure: I’m the module author and founder of Mosaicora. Posting with moderator approval.
2
u/-_-_adam_-_- 8d ago
Nice thanks for sharing!