haakonaareskjold / isitnotgif

A Laravel App that checks the URL you submit if it's animated or not. Intentionally made for streamers as a tool to check links made to deceive the user on the endpoint. The code requests the body and checks it for strings matching gif and mp4. Then it checks headers for MIME-type matching image/gif or video/mp4, finally it checks if the image is spoofed as an APNG (checks bytescode for specific byte-sequence)

Home Page:https://isitnotgif.haakon.wtf/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IsItNotGif

pipeline status

A simple web app that just checks your URL input if it's animated,
it specifically checks for mp4 and gifs, embedded or not.

Requirements

if you want to run this web app yourself you'll need:

  • Docker v19.03.12^
  • Docker-compose 1.26^

How to run

  1. cp .env.example .env in the terminal
  2. use docker-compose up -d to create/run the containers
  3. generate a laravel app key with docker exec app php artisan key:generate
  4. check http://localhost:8000 in your browser to use the app

About

A Laravel App that checks the URL you submit if it's animated or not. Intentionally made for streamers as a tool to check links made to deceive the user on the endpoint. The code requests the body and checks it for strings matching gif and mp4. Then it checks headers for MIME-type matching image/gif or video/mp4, finally it checks if the image is spoofed as an APNG (checks bytescode for specific byte-sequence)

https://isitnotgif.haakon.wtf/


Languages

Language:PHP 94.1%Language:Blade 4.7%Language:Shell 0.9%Language:Dockerfile 0.3%