https://github.com/divriots/jampack Skip to content Toggle navigation Sign in * Product + Actions Automate any workflow + Packages Host and manage packages + Security Find and fix vulnerabilities + Codespaces Instant dev environments + Copilot Write better code with AI + Code review Manage code changes + Issues Plan and track work + Discussions Collaborate outside of code Explore + All features + Documentation + GitHub Skills + Blog * Solutions For + Enterprise + Teams + Startups + Education By Solution + CI/CD & Automation + DevOps + DevSecOps Resources + Learning Pathways + White papers, Ebooks, Webinars + Customer Stories + Partners * Open Source + GitHub Sponsors Fund open source developers + The ReadME Project GitHub community articles Repositories + Topics + Trending + Collections * Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Search [ ] Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. [ ] [ ] Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your results more quickly Name [ ] Query [ ] To see all available qualifiers, see our documentation. Cancel Create saved search Sign in Sign up You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} divriots / jampack Public * Notifications * Fork 17 * Star 991 * Optimizes static websites for best user experience and best Core Web Vitals scores. jampack.divriots.com/ License MIT license 991 stars 17 forks Branches Tags Activity Star Notifications * Code * Issues 9 * Pull requests 2 * Actions * Security * Insights Additional navigation options * Code * Issues * Pull requests * Actions * Security * Insights divriots/jampack This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository. main BranchesTags Go to file Code Folders and files Name Name Last commit Last commit message date Latest commit History 375 Commits .github .github .vscode .vscode packages/www packages/www src src .editorconfig .editorconfig .gitignore .gitignore .npmrc .npmrc .prettierignore .prettierignore .prettierrc.json .prettierrc.json LICENSE LICENSE README.md README.md package.json package.json pnpm-lock.yaml pnpm-lock.yaml tsconfig.json tsconfig.json View all files Repository files navigation * README * MIT license __ __ |__|____ _____ ___________ ____ | | __ | \__ \ / \\____ \__ \ _/ ___\| |/ / | |/ __ \| Y Y \ |_> > __ \\ \___| < /\__| (____ /__|_| / __(____ /\___ >__|_ \ \______| \/ \/| | \/ \/ \/ |__| npm version Discord Jampack Optimizes static websites for best user experience and best Core Web Vitals scores. Brought to you by
RIOTS
RIOTS What is jampack? Not a bundler. Not a framework. jampack is a post-processing tool that takes the output of your Static Site Generator (aka SSG) and optimizes it for best user experience and best Core Web Vitals scores. Read the introduction blog post What can jampack do? Red panda becomes responsive with dimensions: Red panda Red panda becomes responsive with multiple formats including AVIF: Red panda Read more CDN images become responsive Clouds in the sky by Taylor Van Riper becomes Clouds in the sky by Taylor Van Riper Read more External images can be downloaded and optimized Clouds in the sky by Taylor Van Riper becomes Clouds in the sky by Taylor Van Riper Read more Above & below-the-fold jampack optimizes assets above-the-fold [?]. * Images are loaded with higher priority. * Images are compress as Progressive JPEG. * Small images are embedded in HTML. Lazy-load assets below-the-fold [?]. * Images and Iframes are lazy loaded. Read more Inline critical CSS Avoid FOUC while stylesheets are downloaded and parsed. jampack will inline critical CSS and lazy-load the rest of CSS. Read more Prefetch links Speedup the future page navigations by prefetching the links on the page. Thanks to quicklink, this can be done dynamically as links enter the viewport. Read more All assets are compressed In a 2nd PASS, jampack compresses all untouched assets and keep the same name and the same format. Extension Compressor .html,.htm html-minifier-terser .css lightningCSS .js esbuild or swc .svg svgo .jpg,.jpeg sharp .png sharp .webp sharp .avif sharp And a lot more! Quick use # Optimize static website in `dist` folder npx @divriots/jampack ./dist For more options see CLI options. jampack used in the wild * Powering all
RIOTS' websites * keycloak.ch * bayjs.org * qwind.pages.dev * Bloycey's Blog * gxanshu.in * cloudcannon.com Add yours here Why is it called jampack? * jam: From Jamstack. * pack: Reminescent of the Executable Packers from the 90s. License This software is released under the terms of the MIT license. About Optimizes static websites for best user experience and best Core Web Vitals scores. jampack.divriots.com/ Topics blog static-site-generator node static-site jamstack static-site-building Resources Readme License MIT license Activity Custom properties Stars 991 stars Watchers 6 watching Forks 17 forks Report repository Used by 2k * @barriejos * @sxgxhk * @pandaxnm * @simrandotdev * @lukisxyz * @semanticdata * @ssword * @Fundian + 2,012 Contributors 11 * @georges-gomes * @muryoh * @dependabot[bot] * @gqio * @gxanshu * @peschee * @bloycey * @Dunks1980 * @David-Large * @ardena-riots * @widgeter Languages * TypeScript 46.4% * Astro 18.7% * MDX 14.2% * CSS 11.6% * HTML 5.0% * JavaScript 4.1% Footer (c) 2024 GitHub, Inc. Footer navigation * Terms * Privacy * Security * Status * Docs * Contact * Manage cookies * Do not share my personal information You can't perform that action at this time.