# AssetSync/asset_sync

Synchronises Assets between Rails and S3

Repository: https://github.com/AssetSync/asset_sync
Canonical: https://ross.abutalabs.com/products/asset_sync
Language: Ruby
License Family: other
Last push: 2026-07-31T22:18:08+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 95, release rhythm 35, longevity 100
- inputs: {"age_days": 5514, "days_push": 33, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1893, forks 331 (observed 2026-08-28T04:05:50.570287+00:00)

## What it is
A Ruby gem that synchronizes Rails precompiled assets (via the asset pipeline) to cloud storage such as Amazon S3, Google Cloud Storage, Azure Blob, or Backblaze B2. It runs after asset precompilation, optionally deleting unused files and uploading only what changed, and was originally built for Heroku deployments.

## Use cases
- sync rails precompiled assets to s3
- serve rails assets from a cdn or cloud bucket
- deploy a rails app on heroku with assets on s3
- upload only changed assets after assets:precompile
- use google cloud storage or azure blob for rails assets
- remove stale assets from an s3 bucket after deploy

## When to choose
- you run a Rails 3.1+ app using the asset pipeline and want assets on S3 or similar object storage
- you deploy to Heroku or an ephemeral filesystem where local assets are not persisted
- you want incremental syncing that only uploads changed files and can clean unused ones

## When to avoid
- you use a modern Rails setup with a different asset strategy (e.g., Propshaft, jsbundling) that already handles uploads
- you need general-purpose file syncing rather than Rails asset pipeline integration
- your project is not Ruby/Rails

## Facets
- artifact type: library
- maturity: stable
- function: deployment, developer-tools, file-system
- domain: web-development, cloud-computing
- platform: ruby, cloud, self-hosted
- tags: rails, s3, asset-pipeline, sprockets, heroku, fog, cdn-assets, ruby-gem, devops

## Member repositories
- AssetSync/asset_sync (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:50.570287+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:12:54.625262+00:00, confidence not recorded.
  - readme: https://github.com/AssetSync/asset_sync (fetched 2026-08-28T04:05:50.570287+00:00, sha 3bfebb9e39c1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
