https://github.com/leifgehrmann/wikimedia-file-history
Shell script that creates an animated GIF of a file's revisions hosted by Wikimedia Commons
https://github.com/leifgehrmann/wikimedia-file-history
animated-gif shell-script
Last synced: 5 months ago
JSON representation
Shell script that creates an animated GIF of a file's revisions hosted by Wikimedia Commons
- Host: GitHub
- URL: https://github.com/leifgehrmann/wikimedia-file-history
- Owner: leifgehrmann
- License: mit
- Created: 2022-02-27T21:44:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-03-05T15:43:45.000Z (over 3 years ago)
- Last Synced: 2025-02-17T05:43:46.732Z (8 months ago)
- Topics: animated-gif, shell-script
- Language: Shell
- Homepage:
- Size: 7.18 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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".
https://user-images.githubusercontent.com/3501061/156890237-60b362e7-88f6-46ec-92f4-a2ce734d110d.mp4
Source: ["2022 Russian Invasion of Ukraine"](https://commons.wikimedia.org/w/index.php?title=File:2022_Russian_invasion_of_Ukraine.svg)
by Wikimedia Commons contributors
([CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/deed.en)) as of 2022-03-05 15:00:00