Giter Club home page Giter Club logo

exif-gps-action's Introduction

EXIF GPS Action

This action removes EXIF GPS tags from media files in the repository. All media files containing EXIF GPS tags will be overwritten with updated versions that do not contain these tags. No new files will be created.

The original use case for this action was scrubbing images of potentially sensitive location data before publishing them on a personal website. With static site generators like Hugo it's common for all images to be checked into the source repository, and running this action as a pre-build step prevents this location data from being embedded in the public website.

Of course, if the source repository is also public, then by the time this action runs it's already a bit late. At the very least, it adds some level of privacy through obscurity. If you're really concerned about location data making it into git history, a pre-commit hook is probably a better tool for the job. That being said, if someone really wants to figure out where you're located, they probably don't need to comb through EXIF tags to do so, unless you're an international fugitive.

This action uses exiftool for modifying files, and all it does is run exiftool -r -gps:all= -overwrite_original . in the root of the repository. That's it! Creating an action for this makes it ridiculously easy to add to any project, since exiftool is not provided by the default action runner environments.

Inputs

This action takes no inputs.

Outputs

This action produces no outputs.

Example Usage

uses: maxwellpeterson/exif-gps-action@v1

exif-gps-action's People

Contributors

maxwellpeterson avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.