{"id":15997062,"url":"https://github.com/denar90/smiling-potato","last_synced_at":"2026-04-12T18:20:05.064Z","repository":{"id":89054104,"uuid":"323960924","full_name":"denar90/smiling-potato","owner":"denar90","description":"Jamstack site created with Stackbit","archived":false,"fork":false,"pushed_at":"2020-12-23T17:17:49.000Z","size":20817,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-19T00:30:16.393Z","etag":null,"topics":["eleventy","git","headless","jamstack","ssg","stackbit","static"],"latest_commit_sha":null,"homepage":"https://jamstack.new","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/denar90.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"open_collective":"11ty"}},"created_at":"2020-12-23T17:17:39.000Z","updated_at":"2023-03-10T10:07:58.000Z","dependencies_parsed_at":"2023-06-13T17:53:47.134Z","dependency_job_id":null,"html_url":"https://github.com/denar90/smiling-potato","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"f25258161f06f53e6aa3cf76274ce894fdb65fb7"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/denar90/smiling-potato","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denar90%2Fsmiling-potato","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denar90%2Fsmiling-potato/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denar90%2Fsmiling-potato/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denar90%2Fsmiling-potato/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/denar90","download_url":"https://codeload.github.com/denar90/smiling-potato/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/denar90%2Fsmiling-potato/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266920885,"owners_count":24006852,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-24T02:00:09.469Z","response_time":99,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eleventy","git","headless","jamstack","ssg","stackbit","static"],"created_at":"2024-10-08T08:01:14.704Z","updated_at":"2026-04-12T18:20:00.040Z","avatar_url":"https://github.com/denar90.png","language":"JavaScript","funding_links":["https://opencollective.com/11ty"],"categories":[],"sub_categories":[],"readme":"# eleventy-high-performance-blog\n\nA starter repository showing how to build a blog with the Eleventy static site generator implementing a wide range of performance best practices.\n\n![Screenshot showing that the site achieves 100 points on Lighthouse by default](https://cdn.glitch.com/db98564e-04da-47bf-a3d6-70803c3d0fe7%2FScreen%20Shot%202020-09-04%20at%2012.07.27.png?v=1599214260591)\n\nBased on the awesome [eleventy-base-blog](https://github.com/11ty/eleventy-base-blog).\n\n## Demo\n\n* [Netlify Demo](https://eleventy-high-performance-blog-sample.industrialempathy.com/)\n\n## Getting Started\n\n### 1. Generate a new repository from this repository template\n\nClick the [Use this template button](https://github.com/google/eleventy-high-performance-blog/generate).\n\n### 2. Clone your new repository\n\n```\ngit clone https://github.com/YOUR_REPO\n```\n\n### 3. Navigate to the directory\n\n```\ncd my-blog-name\n```\n\n### 4. Install dependencies\n\n```\nnpm install\n```\n\n### 5. Build, serve, watch and test\n```\nnpm run watch\n```\n\n### 6. Build and test\n```\nnpm run build\n```\n\n## Customize\n\n- Search for \"Update me\" across files in your editor to find all the site specific things you should update.\n- Update the favicons in 'img/favicon/'.\n- If you don't want the (same-origin) Google Analytics integration, rip it out 😛.\n- Otherwise: Knock yourself out. This is a template repository.\n- For a simple color override, adjust these CSS variables at the top of `css/main.css`.\n\n```css\n:root {\n  --primary: #E7BF60;\n  --primary-dark: #f9c412;\n}\n```\n\n## Features\n\n### Performance outcomes\n\n- Perfect score in applicable lighthouse audits (including accessibility).\n- Single HTTP request to [First Contentful Paint](https://web.dev/first-contentful-paint/).\n- Very optimized [Largest Contentful Paint](https://web.dev/lcp/) (score depends on image usage, but images are optimized).\n- 0 [Cumulative Layout Shift](https://web.dev/cls/).\n- ~0 [First Input Delay](https://web.dev/fid/).\n\n### Performance optimizations\n\n#### Images\n\n- Immutable URLs.\n- Downloads remote images and stores/serves them locally.\n- Generates multiple sizes of each image and uses them in **`srcset`**.\n- Generates a **blurry placeholder** for each image (without adding an HTML element or using JS).\n- **Lazy loads** images (using [native `loading=lazy`](https://web.dev/native-lazy-loading/)).\n- **Async decodes** images (using `decoding=async`).\n- **Avoids CLS impact** of images by inferring and providing width and height (Supported in Chrome, Firefox and Safari 14+).\n\n#### CSS\n\n- Defaults to the compact \"classless\" [Bahunya CSS framework](https://kimeiga.github.io/bahunya/).\n- Inlines CSS.\n- Dead-code-eliminates / tree-shakes / purges (pick your favorite word) unused CSS on a per-page basis with [PurgeCSS](https://purgecss.com/).\n- Minified CSS with [csso](https://www.npmjs.com/package/csso).\n\n#### Miscellaneous\n\n- Immutable URLs for JS.\n- Sets immutable caching headers for images, fonts, and JS (CSS is inlined). Currently implements for Netflify `_headers` file.\n- Minifies HTML and optimizes it for compression. Uses [html-minifier](https://www.npmjs.com/package/html-minifier) with aggressive options.\n- Uses [rollup](https://rollupjs.org/) to bundle JS and minifies it with [terser](https://terser.org/).\n- Prefetches same-origin navigations when a navigation is likely.\n- If an AMP files is present, [optimizes it](https://amp.dev/documentation/guides-and-tutorials/optimize-and-measure/optimize_amp/).\n\n#### Fonts\n\n- Serves fonts from same origin.\n- Preloads fonts.\n- Makes fonts `display:swap`.\n\n#### Analytics\n\n- Supports locally serving Google Analytics's JS and proxying it's hit requests to a Netlify proxy (other proxies could be easily added).\n- Support for noscript hit requests.\n- Avoids blocking onload on analytics requests.\n\n### DX features\n\n- Uses 🚨 as favicon during local development.\n- Supports a range of default tests.\n- Runs build and tests on `git push`.\n- Sourcemap generated for JS.\n\n### SEO \u0026 Social\n\n- Share button prefering `navigator.share()` and falling back to Twitter. Using OS-like share-icon.\n- Support for OGP metadata.\n- Support for Twitter metadata.\n- Support for schema.org JSON-LD.\n- Sitemap.xml generation.\n\n### Largely useless glitter\n\n- Read time estimate.\n- Animated scroll progress bar…\n- …with an optimized implementation that should never cause a layout.\n\n### Security\n\nGenerates a strong CSP for the base template.\n\n- Default-src is self.\n- Disallows plugins.\n- Generates hash based CSP for the JS used on the site.\n\n### Build performance\n\n- Downloaded remote images, and generated sizes are cached in the local filesystem…\n- …and SHOULD be committed to git.\n- `.persistimages.sh` helps with this.\n\n### Opportunities (not-yet-implemented)\n\n- Transcode images to webp.\n- Transcode images to avif.\n\n## Disclaimer\n\nThis is not an officially supported Google product, but rather [Malte's](https://twitter.com/cramforce) private best-effort open-source project.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenar90%2Fsmiling-potato","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdenar90%2Fsmiling-potato","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdenar90%2Fsmiling-potato/lists"}