Skip to content

Fork of the broken GIF caption generator that was written in Python.

License

Notifications You must be signed in to change notification settings

Amirhan-Taipovjan-Greatest-I/iFunny-Captions

 
 

Repository files navigation

iFunny-Captions is a pack of scripts providing widely customizable GIF caption generation.

Capabilities

iFunny App iFunny-Captions
PNG Captions ✔️ ✔️
GIF Captions ✔️ ✔️
MP4 Captions ✔️ ✔️
Image optimization ✔️
Custom Fonts ✔️
Emoji support ✔️ ✔️
Crop support ✔️
Graphical User Interface ✔️
Batch Processing ✔️

Completed & Planned Features

  • ✔️ PNG Captions
  • ✔️ GIF Captions
  • ✔️ Local file support
  • ✔️ GIF size reduction
  • ✔️ Custom fonts support
  • ✔️ Transparent GIF support
  • Program Showcase (Broken Colab)
  • ❌ Colab Notebook
  • ✔️ Emoji support3
  • ✔️ Automatic text wrap

1 - Please look at Custom Fonts section in wiki.
2 - Problems with wrap height might occur.

Requirements

Programs:

Modules:

Packages (bold links are Windows static executable binaries):

1 - Required on Linux


Linux Installation & Usage

sudo apt-get install git python3-apt python3-pip python3-tk ffmpeg pngquant gifsicle

For non-Debian distros, use the equivalent package manager to install these dependencies.

  1. Clone the repository and move to its directory.
    git clone http://github.com/Amirhan-Taipovjan-Greatest-I/iFunny-Captions
    cd iFunny-Captions
  2. Install required modules by inputting pip install -r requirements.txt
  3. Allocate the required files to PATH system environment variable.
  4. Modify the parameters in the Config.json file. Its documentation can be found here.
  5. Open shell script file named Run. Supports positional arguments - type python iFunny_Captions.pyw -h for more.
  6. Output should be in the Images folder.

Support

This project was tested on:

OS Python Version
Windows 10 3.7.6

If there are problems, create an issue here.


Supported GIF services

Be sure to copy the raw image URL.

Tenor Giphy Gfycat Tumblr
(GIFV)
ImgFlip GifImage BestAnimations GifFinder ReactionGIFs
Tenor Giphy Gfycat Tumblr ImgFlip GifImage BestAnimations GifFinder ReactionGIFs

Comparisons

  • iFunny Android App GIF-Caption-Creator

About

Fork of the broken GIF caption generator that was written in Python.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 85.5%
  • Jupyter Notebook 14.3%
  • Other 0.2%