A static gallery site showcasing real websites built with the Automad CMS.
The page is generated from a JSON data file and an HTML template — no JS framework or bundler involved.
Built something with Automad? Open an issue with your site's URL in order to apply.
| Submit your site → |
|---|
npm install
- Drop a screenshot into
temp/as a.pngfile. - Run
npm run optimizeto resize (max 800×800) and convert it to an optimized.webpinpublic/screenshots/. - Add an entry to
sites.json:The{ "title": "Site Name", "url": "https://example.com", "screenshot": "example.com.webp" }screenshotfilename must match the.webpfile generated in step 2. - Run
npm run buildto regeneratepublic/index.html.
| Command | Description |
|---|---|
npm run optimize |
Resizes and converts temp/*.png screenshots to public/screenshots/*.webp |
npm run build |
Renders sites.json + template.html into public/index.html |
npm run serve |
Serves the public/ directory locally at http://localhost:8000 |
sites.json— the list of showcased sites (title,url,screenshot)template.html— the page shell, with a__SITES__placeholder for the gallerybuild.sh— renders the gallery markup and writespublic/index.htmlpublic/styles/styles.css— all stylespublic/screenshots/— optimized screenshots referenced bysites.jsonoptimize-images.js— resizes/converts raw screenshots fromtemp/intopublic/screenshots/
public/index.html is generated — edit template.html and styles.css instead, then re-run npm run build.