Source

flickr-badge / README

Full commit
# DIY Static Flickr Badge

This package consists of two scripts which allow to generate static Flickr
badges. Make both scripts executable and put them in your PATH.

Requirements:

* bash, python
* wget, Graphics Magick (gm)
* Flickr API key

## flickrlatest.py

A python script which prints a list of URLs of the latest image
thumbnails from Flickr. This script expects to find "~/flickr.apikey"
with a valid API key.

### Usage

flickrlatest.py username N

where
	username is flickr username
	N is positive integer, the number of URLs to print

## mkflickrbadge.sh

A shell script which downloads and combines thumbnail images into a
single static image. Depends on wget and GraphicsMagick.
It expects to find flickrlatest.py in the PATH.

### Usage

mkflickrbadge.sh username geometry output

where

	username is flickr username
	geometry is width per height in tiles, e.g. 3x2 or 4x3 or 5x1
	output is filename of the output image

# Distrubution

No copyright, public domain.