Open source Gif repository
test it : https://omg.phie.ovh
share gifs between instances through a cron task
mass download giphy gifs
share on Mastodon / Pleroma should also work
You'll need a fully working php + mysql server, then
cd /var/www/html/
git clone https://github.com/PhieF/OhMyGif.git
But aware that for security reasons config/.htaccess must work, to check just point your web browser to
http://localhost/yourpath/config
You should have an error
then open
fill the configuration
federation is a big word... Just a cron job that will add url to gif of other instances (it won't copy gif on your server, just store urls)
Go to the path you put Oh My Gif
open cron directory
create or edit a file called federated and fill it with instances you want to federate with, one instance per line
then create a cron job that will run for example once a day (should be enough, this isn't a social network)
*/30 23 * * * cd /oh-my-gif-path/cron/ && php federate.php
As said here an API is available at /get.php
https://omg.phie.ovh/get.php gives all gif
https://omg.phie.ovh/get.php?query=criquette gives all gif that have "criquette" in description or in name
Donation