M0nica / httriri

HTTRiRi - HTTP Status Codes as Portrayed by Rihanna GIFs ✨💄
https://www.httriri.com/
GNU General Public License v3.0
55 stars 22 forks source link

Autodetect Duplicate Images #73

Open M0nica opened 3 years ago

M0nica commented 3 years ago

Are there any low to medium effort ways to determine if a GIF added is too similar to a pre-existing GIF? Like a GitHub action or NPM package.

Most duplicate GIFs will be rejected and all will require changes. Therefore it would be helpful to automate flagging that an image appears to be a duplicate. It can then be reviewed manually but it will be helpful to inform people sooner (like CI) that their PR may require changes.

The GIF should include Rihanna and not already be included on https://www.httriri.com/. In rare cases, a GIF that already exists in the HTTRIRI collection can be used for another status code but within the same set of proposed changes a new GIF should be chosen for the other status code to ensure there are no duplicate images and the overall size of the collection is growing.