Skip to content

Shell script that creates an animated GIF of a file's revisions hosted by Wikimedia Commons

License

Notifications You must be signed in to change notification settings

leifgehrmann/wikimedia-file-history

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wikimedia-file-history

A shell script that creates an animated GIF/MP4 showing the revisions of a file hosted by Wikimedia Commons.

Usage

./wikimedia-file-history-gif [WIKIMEDIA_FILE] [OUTPUT] [IMAGE_SIZE]

Example

Below is an example of the script being run on the following file: https://commons.wikimedia.org/w/index.php?title=File:2022_Russian_invasion_of_Ukraine.svg&offset=&limit=250#filehistory

./wikimedia-file-history "File:2022 Russian invasion of Ukraine.svg" example-ukraine.mp4 500x336

A GIF can also be generated by changing the output extension from "mp4" to "gif".

example-ukraine.mp4

Source: "2022 Russian Invasion of Ukraine" by Wikimedia Commons contributors (CC BY-SA 4.0) as of 2022-03-05 15:00:00

About

Shell script that creates an animated GIF of a file's revisions hosted by Wikimedia Commons

Topics

Resources

License

Stars

Watchers

Forks

Languages