matrix-public-archive/server
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
..
child-process-runner Timeout requests and stop processing further (#204) 2023-05-02 00:39:01 -05:00
hydrogen-render Add image metadata for URL previews (#224) 2023-05-10 00:50:12 -05:00
lib Add image metadata for URL previews (#224) 2023-05-10 00:50:12 -05:00
middleware Add some `<meta name="description" ...>` to pages (#214) 2023-05-04 22:46:09 -05:00
routes Add image metadata for URL previews (#224) 2023-05-10 00:50:12 -05:00
tracing We can better detect static assets to avoid tracing nowadays (#207) 2023-05-02 00:55:22 -05:00
server.js Enable tracing by config so we can enable from argv, env variable, or config file (#41) 2022-07-14 11:26:53 -05:00
start-dev.js Timeout requests and stop processing further (#204) 2023-05-02 00:39:01 -05:00