GIF Validator is a utility tool that checks your favorite gifs on Discord and identifies any that are no longer available. This ensures your gif collection remains up-to-date and clean from broken links.
Important
This script is provided as-is and might stop working at any moment. (by for example Discord updating their structure) Please use it at your own risk.
To launch the script you will need Bun (v1.2.19 and higher)
- Clone the repo and navigate to it
$ git clone https://github.com/meowabyte/gif-validator.git
$ cd gif-validator- Run
bun installto install all the necessary dependencies.
It's easy!
-
Ensure you have set up your Discord API token:
- Using environment variable (
TOKEN="..." bun start) - Using
.envfile (TOKEN="...") - Running script without any of those. The script will ask you for token every time.
- Using environment variable (
-
Run the following command to execute the script:
$ bun startThe script will validate your gifs, remove any non-existant or invalid and fix their order leaving you with a clean collection!
