matrix-public-archive/server/hydrogen-render
Eric Eastwood 16323df054
Add image metadata for URL previews (#224)
- Default to a nice `[matrix]` banner
    -  There is room for improvement here when the Matrix Public Archive gets it's own logo (https://github.com/matrix-org/matrix-public-archive/issues/94) and maybe says "Matrix Public Archive" somewhere in the banner.
    - This is good enough for now (and certainly better than downstream previews using the first image on the page).
 - For rooms, it will use the room avatar

Part of https://github.com/matrix-org/matrix-public-archive/issues/202

Image is sized to 1200x630 to match conventions of `og:image`.

Crafted the banner image by modifying the header on the room directory homepage and taking a node screenshot. Page zoom @ 175%
2023-05-10 00:50:12 -05:00
..
render-hydrogen-to-string-unsafe.js Only assign `vmContext.global.crypto` if not already global (#143) 2022-11-18 12:27:50 -06:00
render-hydrogen-to-string.js Timeout requests and stop processing further (#204) 2023-05-02 00:39:01 -05:00
render-hydrogen-vm-render-script-to-page-html.js Timeout requests and stop processing further (#204) 2023-05-02 00:39:01 -05:00
render-page-html.js Add image metadata for URL previews (#224) 2023-05-10 00:50:12 -05:00