Gravity's Avatar

Gravity

@gravity.ci.bsky.social

Gravity monitors build artifact sizes to prevent accidental increases โ€“ right in your CI pipeline. built by @mainmatter.com

11 Followers  |  2 Following  |  20 Posts  |  Joined: 02.12.2024  |  1.757

Latest posts by gravity.ci on Bluesky

Post image

We collected some general best practices on artifact sizes for you. Hope this helps! ๐Ÿ˜Š

This card is easy to rememberโ€”but unfortunately, not always easy to follow. It's surprisingly easy to miss when things grow. Thatโ€™s why we built Gravity. It helps you keep artifacts lean.

Try it โžก๏ธย gravity.ci

03.04.2025 08:53 โ€” ๐Ÿ‘ 3    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Page Weight | 2024 | The Web Almanac by HTTP Archive Page Weight chapter of the 2024 Web Almanac covering why page weight matters, bandwidth, complex pages, page weight over time, page requests, and file formats.

Also, read the full Web Almanac chapter here โžก๏ธย almanac.httparchive.org/en/2024/page...

๐Ÿงต6/6

01.04.2025 12:31 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Gravity Gravity monitors build artifact sizes to prevent accidental increases โ€“ right in your CI pipeline.

You probably donโ€™t *mean* to ship bloated bundles. But it happens quietly. A few KB here, a few KB thereโ€”it builds over weeks of PRs. You wonโ€™t catch it in code reviews. You might not even notice it post-deploy. โš ๏ธย Thatโ€™s why we built gravity.ci

Give it a try!

๐Ÿงต5/6

01.04.2025 12:31 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Page weight grows gradually. One dependency. One large image. One embed. And suddenly, your page takes 5s to load and burns through a userโ€™s data cap. Devs often donโ€™t realize itโ€™s happening until itโ€™s too late.

๐Ÿงต4/6

01.04.2025 12:31 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

The LCP (Largest Contentful Paint) metric tracks how fast a pageโ€™s content becomes visible to users.

A โ€œgoodโ€ page needs to score less than 2.5s, and anything above 4s is poor. In 2024, the average mobile page LCP is 18s and desktop 6.4s. Thatsโ€ฆ not good. ๐Ÿ˜ฌ

๐Ÿงต3/6

01.04.2025 12:31 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

Heavy pages hit users on slow networks, older phones, and limited data plants. They widen the performance inequality gap, making the web less usable for millions. Page weight is an accessibility issue as much as a performance one.

๐Ÿงต2/6

01.04.2025 12:31 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

Page weight isn't just about load timeโ€”itโ€™s about access, equity, and sustainability. Believe it or not, page weight is still climbing. In 2024, the median mobile page weighs in at 2.6MB on desktop and 2.3MB on mobile. Every new feature, image, or JS lib adds up. And it's hurting users.

๐Ÿงต1/6

01.04.2025 12:31 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Gravity Gravity monitors build artifact sizes to prevent accidental increases โ€“ right in your CI pipeline.

We spotted a +12KB increase in a sitemap file. That led to catching a subtle bug: a bunch of additional, yet broken entries.

Hard to see in code review. Gravity flagged the change. We fixed the bug before merge ๐Ÿ‘‰ Thatโ€™s the power of making size changes visible.

Give it a try โžก๏ธ gravity.ci

27.03.2025 13:02 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Visual regression tools help devs spot UI issues early.

Gravity brings that same workflow to artifact size.

A small size diff? Often just noise. But sometimes, itโ€™s a sign of something broken. Like in this PR โžก๏ธย github.com/mainmatter/m...

27.03.2025 13:02 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 1
Gravity Demo | Keep Your Build Artifact Sizes in Check
Gravity helps developers track and control artifact sizes in CI/CD workflows. Whether it's JavaScript bundles, images, binaries, or Docker images, Gravity pr... Gravity Demo | Keep Your Build Artifact Sizes in Check

Considering Gravity for your team?

Hereโ€™s a quick demo showing how it fits into your CI workflow, tracks artifact sizes, and prevents bloat before it reaches production โžก๏ธ www.youtube.com/watch?v=2vD_...

๐Ÿช Built for developers who care about performance โ€“ by @mainmatter.com

26.03.2025 13:03 โ€” ๐Ÿ‘ 0    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

Everyone knows `node_modules` is among the heaviest object in the universe ๐Ÿชย Donโ€™t accidentally ship parts of it to your users.

Let Gravity catch bloated artifacts in your PRs before they go live โžก๏ธ gravity.ci

#frontend #javascript

25.03.2025 12:18 โ€” ๐Ÿ‘ 3    ๐Ÿ” 1    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 1
Post image

๐Ÿ”ตย Step 3: Merge with Confidence

Once the changes are approved, all checks pass, and your PR is **good to go**โ€”with zero unexpected bloat. Keep your builds lean.

Try Gravity now โžก๏ธ gravity.ci

๐Ÿงตย 3/3

21.03.2025 10:56 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

๐Ÿ”ตย Step 2: Review & Approve

Gravity gives you a clear diff of what changedโ€”so you can review, approve, or fix size increases before merging. No more surprises post-deploy.

๐Ÿงตย 2/3

21.03.2025 10:56 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Post image

Shipping bloated artifacts by accident? ๐Ÿ˜ฌย Gravity flags new or growing artifacts in your PR *before* they hit production. Hereโ€™s how it work

๐Ÿ”ตย Step 1: Detect

Gravity reports when a PR introduces new or growing artifacts, so youโ€™re never caught off guard.

๐Ÿงตย 1/3

21.03.2025 10:56 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 1

thanks!

20.03.2025 12:58 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Gravity CI - Gravity tracks artifact sizes to prevent accidental increase | Product Hunt Gravity monitors build artifact sizes to prevent accidental increases โ€“ right in your CI pipeline. Don't miss a new dependency growing your JS bundle disproportionately or an oversized, uncompressed i...

Gravity is live on #producthunt: www.producthunt.com/posts/gravit... ๐Ÿš€

20.03.2025 11:21 โ€” ๐Ÿ‘ 1    ๐Ÿ” 2    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Gravity Gravity monitors build artifact sizes to prevent accidental increases โ€“ right in your CI pipeline.

Nobody wants to ship slow, bloated software. But without visibility, itโ€™s hard to know when things are growing out of control. Gravity makes sure you aware *before* itโ€™s too late.

Try it now โžก๏ธ gravity.ci

Let us know what you think!

๐Ÿงต4/4

19.03.2025 09:30 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Gravity integrates into your CI pipeline and tracks build artifact sizes in every PR.
๐Ÿ”ท Analyses your production build artifacts
๐Ÿ”ท Compares them to the target branch
๐Ÿ”ท Flags new or growing files before they get merged
๐Ÿ”ท Adds a check to GitHub to make you aware

๐Ÿงต3/4

19.03.2025 09:30 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

You know how easy it is to accidentally bloat production assets?

You add a simple date formatterโ€ฆ and suddenly moment.js (+300KB) sneaks in. ๐Ÿ˜ฌ

Or you push a 16MB JPEG instead of a thumbnail.

These small mistakes add upโ€”slowing down your app, frustrating users, and wasting resources.

๐Ÿงต2/4

19.03.2025 09:30 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
Preview
Keeping Artifact Sizes Under Control - Mainmatter Staying on top of asset sizes can be challenging. Gravity is a developer tool that helps teams catch regressions early.

Gravity is live ๐Ÿชย and we think youโ€™re gonna love it. Itโ€™s a CI tool that keeps your build artifacts in checkโ€”so you donโ€™t accidentally ship bloated JS bundles, oversized images, huge CSS files, or other assets.

Built by @mainmatter.com

Learn more โžก๏ธย mainmatter.com/blog/2025/03...

๐Ÿงต1/4

19.03.2025 09:30 โ€” ๐Ÿ‘ 2    ๐Ÿ” 1    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 4

@gravity.ci is following 2 prominent accounts