{"id":20840059,"url":"https://github.com/ackama/activestorage-exif-analyzer","last_synced_at":"2026-03-14T07:32:31.407Z","repository":{"id":40008579,"uuid":"251917132","full_name":"ackama/activestorage-exif-analyzer","owner":"ackama","description":"Add ActiveStorage Analyzer class to extract EXIF data from supported images.","archived":false,"fork":false,"pushed_at":"2024-08-22T19:43:08.000Z","size":197,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-04-17T02:46:42.649Z","etag":null,"topics":["ackama","activestorage","exif","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ackama.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-31T23:04:32.000Z","updated_at":"2024-11-01T21:20:27.000Z","dependencies_parsed_at":"2024-08-22T21:17:43.477Z","dependency_job_id":"274bc187-523e-4660-b222-9b37e8aa2ac3","html_url":"https://github.com/ackama/activestorage-exif-analyzer","commit_stats":{"total_commits":20,"total_committers":3,"mean_commits":6.666666666666667,"dds":0.4,"last_synced_commit":"3dd58afe668a15b1ba6010d8dfcff65852543912"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackama%2Factivestorage-exif-analyzer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackama%2Factivestorage-exif-analyzer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackama%2Factivestorage-exif-analyzer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ackama%2Factivestorage-exif-analyzer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ackama","download_url":"https://codeload.github.com/ackama/activestorage-exif-analyzer/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253154175,"owners_count":21862471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ackama","activestorage","exif","ruby"],"created_at":"2024-11-18T01:15:08.750Z","updated_at":"2026-03-14T07:32:31.368Z","avatar_url":"https://github.com/ackama.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ActiveStorage::Exif::Analyzer\n\nThis gem packages a simple analyzer to extract EXIF metadata from supported files. \n\"Supported files\" means anything supported by ImageMagick - i.e. more than just JPEG.\n\nThe actual analyzer is very simple, and can be found in `lib/active_storage/exif/analyzer` if you would\nprefer to just drop this in `app/analyzers` in your codebase and prepend it to the analyzers list yourself.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'activestorage-exif-analyzer', require: \"active_storage/exif/analyzer\"\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install activestorage-exif-analyzer\n\nThis gem will automatically add itself to the analyzer pipeline and run across any \nsupported image files. If you wish to control the precise analyzer order, you can\nmanipulate the `ActiveStorage.analyzers` array.\n\n## Usage\n\nThis gem automatically adds itself to the analysis pipeline, simply ensure that analysis is run on your uploaded files.\n\nTo manually see what kind of metadata is extracted from a particular blob, simply grab an attachment and pass the the\nblob directly to the analyzer:\n\n``` ruby\nActiveStorage::Exif::Analyzer.new(ActiveStorage::Attachment.first.blob).metadata\n =\u003e  {\"width\"=\u003e4208,\n    \"height\"=\u003e3120,\n    \"analyzed\"=\u003etrue,\n    \"exif\"=\u003e {\n        \"ApertureValue\"=\u003e\"200/100\",\n        \"ColorSpace\"=\u003e\"1\",\n        \"ComponentsConfiguration\"=\u003e\"1, 2, 3, 0\",\n        \"DateTimeDigitized\"=\u003e\"2002:12:08 12:00:00\",\n        \"DateTimeOriginal\"=\u003e\"2015:09:26 18:15:50\",\n        # ...\n    }}\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake` to run the lint checks and tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/ackama/activestorage-exif-analyzer.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fackama%2Factivestorage-exif-analyzer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fackama%2Factivestorage-exif-analyzer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fackama%2Factivestorage-exif-analyzer/lists"}