An open API service indexing awesome lists of open source software.

https://github.com/whatrocks/waybackgif

create a gif of chronological screenshots from any website on Wayback Machine
https://github.com/whatrocks/waybackgif

selenium selenium-webdriver wayback-machine

Last synced: about 1 year ago
JSON representation

create a gif of chronological screenshots from any website on Wayback Machine

Awesome Lists containing this project

README

          

# waybackgif
create a gif of chronological screenshots from any website on Wayback Machine

## Initial setup

```bash
python -m venv .waybackgif
source .waybackgif/bin/activate
pip install -r requirements.txt
```

Install [Chrome driver](https://sites.google.com/chromium.org/driver/) to `~/tmp/chromedriver`

## How to run

```bash
python waybackgif.py http://amazon.com --start_year 1999 --end_year 2003
```

* `start_year` defaults to 2020
* `end_year` defaults to current year

Right now, the code is also only storing 1 image per year, but you can remove this filtering if you want! Also it's not checking to prevent you from doing start year after end year. C'mon.

## Examples

Annual snapshot of apple.com (1996 - 2023)
![apple](./apple.gif)

Annual snapshot of stripe.com (2009 - 2023)
![stripe](./stripe.gif)

## Tips

Clean up snapshots:

```bash
rm snapshot*.png
```

Reduce file size of gif:

```bash
gifsicle -i original.gif -O3 --colors 256 -o optimized.gif
```