This is a Rack middleware for managing your HTML5 manifest file (used for Service Worker, WebApp Icon, etc.) by yaml. It can be easily implemented into your Rails application.
Add this line to your application's Gemfile:
manifest.ymlfile like this one into your
- After restarting server, you can see the converted manifest file on
- ERB format and asset path helpers are available.
name: Rack Manifest short_name: Manifest icons: - src: <%= image_path('icon.png') %> sizes: 512x512 type: image/png start_url: / display: standalone
The gem is available as open source under the terms of the MIT License.