About FencePost
FencePost gets Carnegie Mellon pages ready to share: it checks their link previews, makes new ones and takes screenshots. It's named for the Fence, where students paint what they want everyone to see.
How It Works
FencePost opens your page in a browser, as an unauthenticated visitor on the public internet, and captures the top at 1200 × 630, the size link previews use. It follows the Carnegie Mellon Web Kilt's Link Previews / Open Graph standard. For a screenshot, it captures a card at 1040 × 656 or a phone screen at 430 × 790.
- Nothing is stored. FencePost returns the image and tags and keeps no copy. Save the image with your own site.
- Only public pages. It captures cmu.edu and approved Carnegie Mellon domains, through public DNS, and refuses private addresses.
- No visits counted. Analytics and ad scripts don't load during a capture, so a preview doesn't show up in your site's statistics.
Contributing to FencePost
FencePost is a TypeScript app built with Express. It captures pages with Playwright and makes the images with sharp.
The GitHub repository has the code, its tests and documentation. To report a problem or suggest a change, open an issue or send a pull request.
More From CMU Web
FencePost is part of CMU Web, a collection of projects for Carnegie Mellon web development.
Tools for Any Site or App
The Cut & Paste
Banners, headers and icons for tools you use at CMU, sized and cropped in CMU style.
Themes for Other Platforms
Forbes & Moreword
A WordPress theme in CMU style, with the Web Kilt's components ready to insert as patterns.
Licenses and Credits
FencePost's code is available under the BSD 3-Clause License. Carnegie Mellon's names, marks and artwork aren't covered by that license.






