{"meta":{"name":"FindSoftware","page":"https://findsoftware.frbit.cloud/premailer-rails/","markdown":"https://findsoftware.frbit.cloud/premailer-rails.md","license":"https://creativecommons.org/licenses/by/4.0/","attribution":"FindSoftware, CC BY 4.0","note":"Attributes are recorded, never scored. An absent field means unknown, never zero and never bad."},"record":{"id":"premailer-rails","name":"premailer-rails","urls":{"repository":"https://github.com/fphilipe/premailer-rails","docs":"https://github.com/fphilipe/premailer-rails/blob/main/README.md"},"category":["email"],"description":"Ruby gem that adapts the premailer CSS inliner to ActionMailer, so linked stylesheets are inlined into HTML emails when they are delivered.","maintainer":"Philipe Fatio","maintainerType":"individual","firstRelease":2011,"hosting":["ruby"],"language":"ruby","runtime":["ruby"],"basedOn":["premailer"],"contentStore":null,"databases":null,"adminUi":null,"headlessApi":null,"templating":null,"i18n":null,"renderingModes":null,"installMethod":"gem","licenseModel":"open-source","license":"MIT","currentMajor":"1","latestReleaseDate":"2022-11-10T00:00:00.000Z","githubStargazers":1764,"contributors":43,"packagistDownloads":null,"npmWeeklyDownloads":null,"dependentRepos":4603,"dependentPackages":15,"checkedAt":"2026-11-16T00:00:00.000Z","addedAt":"2026-11-16T00:00:00.000Z","sources":[{"field":"urls","url":"https://api.github.com/repos/fphilipe/premailer-rails","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"urls","url":"https://github.com/fphilipe/premailer-rails/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"maintainer","url":"https://github.com/fphilipe/premailer-rails/blob/main/LICENSE","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"firstRelease","url":"https://api.github.com/repos/fphilipe/premailer-rails/tags","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"category","url":"https://github.com/fphilipe/premailer-rails/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"language","url":"https://api.github.com/repos/fphilipe/premailer-rails","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"basedOn","url":"https://github.com/fphilipe/premailer-rails/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"runtime","url":"https://api.github.com/repos/fphilipe/premailer-rails","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"installMethod","url":"https://github.com/fphilipe/premailer-rails/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"license","url":"https://github.com/fphilipe/premailer-rails/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"licenseModel","url":"https://github.com/fphilipe/premailer-rails/blob/main/README.md","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"currentMajor","url":"https://rubygems.org/api/v1/gems/premailer-rails.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"latestReleaseDate","url":"https://rubygems.org/api/v1/gems/premailer-rails.json","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"githubStargazers","url":"https://api.github.com/repos/fphilipe/premailer-rails","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"contributors","url":"https://api.github.com/repos/fphilipe/premailer-rails/contributors?per_page=1","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentPackages","url":"https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/premailer-rails","checkedAt":"2026-11-16T00:00:00.000Z"},{"field":"dependentRepos","url":"https://packages.ecosyste.ms/api/v1/registries/rubygems.org/packages/premailer-rails","checkedAt":"2026-11-16T00:00:00.000Z"}],"status":"stub","ai":"authored"},"prose":"premailer-rails is a Ruby gem that inlines CSS into the HTML emails an application sends with ActionMailer. It is an adapter for premailer: the gem registers a delivery hook, so every delivered email is processed, and the stylesheets it links are applied to matching elements through their style attribute. The README says it also works without Rails, for example with sinatra.\n\n## Worth knowing\n\nLinked stylesheets are read from a file under the `public/` folder, through the Rails asset pipeline, or over the network, in an order that can be configured."}